I want to record output to View Results Tree after 5 min. of start of JMeter. Delay should be there only for first thread. Is there any way I can do that?
Constant Timer delay every thread. I do not want to delay output in each thread. Also tried on Flow Control Action.
You can achieve it by discarding results of any Samplers using i.e. JSR223 PostProcessor and the following code:
where:
TESTSTART.MSis a pre-defined JMeter Variable holding the time when the test startedvars- a shorthand for JMeterVariablesprev- a shorthand for the previous SampleResultSee Top 8 JMeter Java Classes You Should Be Using with Groovy article for more information on the above and other JMeter API shorthands.
Assuming you put the JSR223 PostProcessor to your Test Plan all Samplers results during first 5 minutes of the test will be ignored, Listeners and .jtl results file will start receiving metrics after 5 minutes only.