Skip to content

Instantly share code, notes, and snippets.

@sbilello
Last active September 3, 2019 20:39
Show Gist options
  • Save sbilello/ed0e61e55b99a24c1793e5a728e8c999 to your computer and use it in GitHub Desktop.
Save sbilello/ed0e61e55b99a24c1793e5a728e8c999 to your computer and use it in GitHub Desktop.
advanced_test.yml
---
execution:
- write-xml-jtl: full
scenario: shire
executor: jmeter
concurrency: 100
ramp-up: 5m
hold-for: 15m
throughput: 60
scenarios:
shire:
content-encoding: utf-8
data-sources:
- path: row.all
delimiter: ';'
variable-names: payload
loop: true
requests:
- url: 'http://localhost/app/test'
method: POST
body: ${payload}
label: search
assert-jsonpath: # contains list of options
- "$.results" # fail it it does not find results
headers:
Content-type: 'application/json;charset=UTF-8'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment