I have a webservice under test with tps simulation of 1000tps. There is a single thread group. Does it do connection pool?
Asked
Active
Viewed 520 times
1 Answers
0
Nope, each JMeter thread (virtual user) starts a new HTTP connection.
Whether the connection is being re-created on each iteration and its time to live is being controlled by the following JMeter properties:
httpclient4.time_to_live
httpclient.reset_state_on_thread_group_iteration
and Same user on each iteration
setting of the Thread Group itself:

Dmitri T
- 159,985
- 5
- 83
- 133
-
Thanks for quick response. I see one more post that says Jmeter supports Connection pooling. So new connection is applicable for webservice calls only? https://stackoverflow.com/questions/35843921/does-jmeter-pool-http-connections#:~:text=JMeter%20does%20some%20pooling%20of,connections%20are%20pooled%20per%2Dthread.&text=1%2C%20JMeter%20uses%20an%20instance%20of%20SimpleHttpConnectionManager%20on%20each%20thread. – Sep 16 '20 at 16:26
-
Internal pooling is for simulating browser-like behaviour, for example [downloading embedded resources](https://www.blazemeter.com/blog/web-testing-jmeter-how-properly-handle-embedded-resources-html-responses), standard JMeter Thread Group doesn't create connection pool available for all virtual users – Dmitri T Sep 16 '20 at 16:29