Reputation: 29
I run the same API 4 times in the same JMeter script. in the 1st running API get the high time and after that same API get low times.
why this kind of scenario does in the JMeter??
Upvotes: 0
Views: 849
Reputation: 168157
JMeter only sends requests, waits for responses, measures time in-between and writes down the performance metrics and KPIs.
If first request takes longer than the following ones the reasons could be in:
Upvotes: 1
Reputation: 2260
Jmeter tries to initialize TCP connections and handles SSL handshakes for the first request. For next requests it uses its config parameters httpclient4.time_to_live
and httpclient.reset_state_on_thread_group_iteration
.
You can refer to Jmeter's properties reference for more information
Upvotes: 0