i found Jmeter closed the connection at the end of each requests. so How can I keep an open TCP connection longer,

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

i found Jmeter closed the connection at the end of each requests. so How can I keep an open TCP connection longer,

1336230737-2
How can I keep an open TCP connection longer,hello ,
i changed  the "httpclient4.idletimeout" in the jmeter.properties. have no effect
Reply | Threaded
Open this post in threaded view
|

Re: i found Jmeter closed the connection at the end of each requests. so How can I keep an open TCP connection longer,

glinius@live.com
You can do it using either  TCP Sampler
<https://jmeter.apache.org/usermanual/component_reference.html#TCP_Sampler>  
which has *Re-use connection* checkbox or  HTTP Raw Request
<https://www.blazemeter.com/blog/the-jmeter-http-raw-request-sampler-when-and-how-to-use-it/>  
sampler which is easier to use when it comes to HTTP endpoints testing.

Example configuration:  <https://i.stack.imgur.com/Xh09n.png>

You can install HTTP Raw Request sampler using  JMeter Plugins Manager
<https://jmeter-plugins.org/wiki/PluginsManager/>  

 



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]