Jmeter
Conditions
${JMeterThread.last_sample_ok}whether or not the last sample was OK - true/false. Note: this is updated after PostProcessors and Assertions have been run. 1
${__javaScript("${remaining}"!="0")}Regular Expression Extractor
Json
"field" : "(.+?)"XML
<MyElement myAttribute="(.+?)"/>dynamic filenames for results
results/${__time(yyyy-MM-dd)}/${myProp}/run_${__time(HHmm)}.jtlStopping at any point
Use Test Action Target: All Threads Action: Stop Now
Debugging
Use Http sampler Name: ${var_to_output} server name: www.example.com
BeanShell
Passing details from one thread group to another
BeanShell Assertion
Using this property
General beanShell tips
Creating your own plug-in
This show an example Jmeter sampler plugin
Add the jar to you jmeter /lib/ext folder
Last updated