Running JMeter Scripts in AIQ - Best Practices
Since
Running youJMeter wantScripts to havein AIQ generate- Best Practices
Use this guidance when running Apache JMeter scripts through AIQ. Keep scripts portable, parameterized, and controleobservable so results can be compared across environments and test runs.
Best practices
- Keep JMeter scripts environment-neutral by using variables for hostnames, credentials, ports, and test data.
- Validate the
load, you need to modify your JMeterscripttolocallyjustor1inusera(numbersmallofAIQthreads),runrampbeforeupscheduling0,high-volume execution. - Use realistic think time, ramp-up, and
uncheckconcurrencythe Specify thread lifetime. Loop count should be 1 most of the time. Can use a finite number but then need to considersettings thatto AIQ a single transaction duration will be counting for all loops of samples.Number of usersl rampup, and duration ofmatch the testthenobjective. - Externalize
shouldtestbedataconfigureand avoid embedding secrets intheJMX files. - Capture transaction naming consistently so AIQ
ScenarioreportsEditorremainsettings.readable. - Monitor
Controller
Testand
Disable the "View Result Tree" listenerresources duringthelargeLoadJMeter runs.
Validation workflow
- Run a single-user smoke test and confirm expected transactions appear in
AIQ.AIQBecauseresults. - Increase
itloadconsumesgraduallymorewhilememorywatching errors, response time, andcausesnodeJMetercapacity. - Review
runninglogstoforrunmissingoutfiles,ofpluginmemory.
Disable any other listeners from JMeter script before running it in AIQ.
Number of Threads should be given 1 in JMeter when running performance tests in AIQ, because this will add up to the iterations.
Better to give Ramp-up as 0 in JMeter.
Same as Number of Threads, loop count to be given as 1 by default.
Thread group - Use continue, Stop test now accordingly, using stop now will stop all other remaining threads when a thread is a failure.
Removedependencies, or disablevariable-resolution all ThinkTimes from jmx script
Remove or disable all Uniform Random Timers from jmx script
Last updated: DecemberOctober 11,8, 20242026
If you have any feedback on this topic, please contact us at documentation@appvance.ai