json - jmeter load testing , Parameterization -
i running http request test in jmeter send json input. example:
{ "id":"0", "fieldvalue":"sanket","source":"todays date" }
i need parametrize each thread iteration different value id
, fieldvalue
, source
chosen, possibly json file (not csv file). possible?
everything possible. here options
jmeter can read files. check out following functions:
you can use http request sampler read file, use
file
protocol , unc path.values parametrization can obtained using json path postprocessor. see:
- jsonpath - xpath json - json path language overview , syntax
- advanced usage of json path extractor in jmeter - not obvious scenarios covered
Comments
Post a Comment