You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Marc Anthony Winoto <ma...@netregistry.com.au> on 2006/09/27 03:05:13 UTC

Reconnect a closed TCP connection

I am testing a custom server using a TCP connection and sending commands to it. After processing 
each command, the connection is closed by the server.

At the moment I have 1 thread, and the test running twice. In the 2nd run of the test, the 
thread does not try to reconnect to the server. It does try to send the command though. Is there 
a way to get the TCP Sampler to attempt a reconnect every time?

Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Reconnect a closed TCP connection

Posted by sebb <se...@gmail.com>.
Not at present. I suggest you fill in a Bugzilla enhancement request.

On 27/09/06, Marc Anthony Winoto <ma...@netregistry.com.au> wrote:
> I am testing a custom server using a TCP connection and sending commands to it. After processing
> each command, the connection is closed by the server.
>
> At the moment I have 1 thread, and the test running twice. In the 2nd run of the test, the
> thread does not try to reconnect to the server. It does try to send the command though. Is there
> a way to get the TCP Sampler to attempt a reconnect every time?
>
> Marc
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org