This sampler allows to load in jMeter variables directly from the sampler or from a file. The variables has to be defined as a json and are loaded when the sampler is executed. This allow to reuse modules using the same variable names just changing the values right before executing they. Also you could use different datasets in different files and launch the same agenda with the chosen one.
This sampler works with jMeter Ver 4+
- Download the project
- Compile with maven
- Copy the result jar in the lib/ext directory of jMeter
Or:
- Download it and copy in lib/ext directory of jMeter
Write the json in the sampler (json to load) or type the path of the file:
Download: JMX example file and the JSON example file
Load in jMeter 4 and run it.
- Maven - Dependency Management