-1

How can i do parameterization for multiple json files or payload in jmeter.

I am trying to to parameterization for json payload in jmeter.

Divya
  • 1
  • 2
  • 2
    Does this answer your question? [Parameterize POST body in JMeter HTTP POST](https://stackoverflow.com/questions/45856518/parameterize-post-body-in-jmeter-http-post) – greenmarker Jun 18 '20 at 10:09

1 Answers1

0

If you plan to use JMeter Functions or Variables inside the JSON file(s) and want JMeter to evaluate the variables "on the fly" - make sure to wrap calls to them into __eval() function like:

${__eval(${__FileToString(/path/to/file.json,,)})}

enter image description here

More information: Here’s What to Do to Combine Multiple JMeter Variables

Dmitri T
  • 159,985
  • 5
  • 83
  • 133