New answers tagged

1

You can path your environmentA.properties or whatever else properties file you want to use to JMeter via -p or -q command-line arguments Non-GUI mode: jmeter -q environmentA.properties -n -t test.jmx -l result.jtl GUI mode: jmeter -q environmentA.properties in this case JMeter GUI will open and all the properties defined in the environmentA.properties ...


0

Put the requests in Critical Section Controller (under Logic Controller) according to your desired order.


0

What's the problem with increasing the number of loops? If you hit the target1 second time it will produce the new ID, won't it? So the previous JMeter Variable holding the previous ID will be overwritten with the new ID so you will be able to hit the target2 normally. It also shouldn't be a problem to simulate 5-7k of virtual users from a mid-range modern ...


0

JMeter always executes requests in sequential order. Retrieve the ID in first request by using Regular Expression Extractor and try to print in second request by using Beanshell PostProcessor.


0

You can try and adding JSR223 PostProcessor. The script will look like this: vars.put("response", prev.getResponseDataAsString()); but response that you get might be quite a lot. Since you only need the ID, then try adding Regular Expression Extractor too. Then the "response" variable can be access as ${response} and you can pass it on ...


Top 50 recent answers are included