You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "hamepal@gmail.com" <ha...@gmail.com> on 2013/06/27 00:45:15 UTC

JMeter doesn't stop after completing the test.

I am using following command to run jmeter test plan using command line.

"jmeter -n -t ./cni/SMC-dashboard-test-plan.jmx -l  /var/tmp/dashboard.jtl "

One strange thing is that it doesn't stop even after finishing the test
plan. I have to kill the JMeter to finish the test plan. This was not
happening before but now it is getting persistent. 

Any one has faced similar issue before? 




-----
Technical blog : code4reference 
LinkedIn :  Rakesh Kumar 
--
View this message in context: http://jmeter.512774.n5.nabble.com/JMeter-doesn-t-stop-after-completing-the-test-tp5717230.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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


Re: JMeter doesn't stop after completing the test.

Posted by Deepak Shetty <sh...@gmail.com>.
I believe you should be able to edit the httpclient.parameters or
hc.parameters and specify the timeouts for httpclient (look up httpclient
docs) - I believe the XML-RPC samplers use that - but I dont have an
instance to test so I dont know if it works...


On Wed, Jun 26, 2013 at 11:49 PM, Sameera Rao P
<sa...@techmahindra.com>wrote:

> Hi Jason
>
> Even I am facing the similar issue when I run long duration test with
> remote option. I am using soap xml RPC sampler. In that case where can I
> set the timeout ?
>
> Thanks & Regards
> Sam
>
> -----Original Message-----
> From: Jason Wood [mailto:jwood68@gmail.com]
> Sent: Thursday, June 27, 2013 11:35 AM
> To: JMeter Users List
> Subject: Re: JMeter doesn't stop after completing the test.
>
> I have seen this when a request goes un-answered, jmeter waits forever.
> My solution was to set a response timeout on the the http request panel.
> Use some reasonably high value so as not to trigger by accident, but
> still get jmeter to stop in your lifetime.
>
> --
> Jason
>
>
> On 26 Jun 2013, at 23:45, "hamepal@gmail.com" <ha...@gmail.com> wrote:
>
> > I am using following command to run jmeter test plan using command
> line.
> >
> > "jmeter -n -t ./cni/SMC-dashboard-test-plan.jmx -l
> /var/tmp/dashboard.jtl "
> >
> > One strange thing is that it doesn't stop even after finishing the
> test
> > plan. I have to kill the JMeter to finish the test plan. This was not
> > happening before but now it is getting persistent.
> >
> > Any one has faced similar issue before?
> >
> >
> >
> >
> > -----
> > Technical blog : code4reference
> > LinkedIn :  Rakesh Kumar
> > --
> > View this message in context:
> http://jmeter.512774.n5.nabble.com/JMeter-doesn-t-stop-after-completing-
> the-test-tp5717230.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
> <html>
> <body>
> <table cellpadding='0' cellspacing='0'>
> <tr>
> <td colspan='4'><a href='http://www.techmahindra.com'><img
> alt='TechMahindra' border='0' src='
> http://interact.techmahindra.com/images/techmlogonew.jpg' /></a>
> </td>
> </tr>
> <tr>
> <td colspan="4" style="color:grey;font:Trebuchet MS 8pt">Connect with
> us:</td>
> </tr>
> <tr>
> <td><a href='http://www.facebook.com/TechMahindra'><img alt='facebook'
> border='0' src='http://interact.techmahindra.com/images/facebook.jpg'
> /></a></td>
> <td><a href='http://twitter.com/Tech_Mahindra'><img alt='twitter'
> border='0' src='http://interact.techmahindra.com/images/tweeter.jpg'
> /></a></td>
> <td><a href='http://www.linkedin.com/company/tech-mahindra'><img
> alt='linkedin' border='0' src='
> http://interact.techmahindra.com/images/linkedin.jpg' /></a></td>
> <td><a href='http://www.youtube.com/user/techmahindra09'><img
> alt='youtube' border='0' src='
> http://interact.techmahindra.com/images/youtube.jpg' /></a></td>
> </tr>
> </table>
>
> </body>
> </html>
>
> ============================================================================================================================
> Disclaimer:  This message and the information contained herein is
> proprietary and confidential and subject to the
>  Tech Mahindra policy statement, you may review the policy at <a href="
> http://www.techmahindra.com/Disclaimer.html">
> http://www.techmahindra.com/Disclaimer.html</a>
> externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">
> http://tim.techmahindra.com/tim/disclaimer.html</a> internally within
> Tech Mahindra.
>
> ============================================================================================================================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: JMeter doesn't stop after completing the test.

Posted by hame <ha...@gmail.com>.
@Sameera, I didn't notice that you are using soap xml RPC sampler. In this
case I am not sure how to add the timeout.


On Thu, Jun 27, 2013 at 9:51 AM, hame <ha...@gmail.com> wrote:

> Thanks Jason,
>
> @Sameera, I would set the connection timeout and response timeout in HTTP
> Request Defaults<http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request_Defaults>.
> This way I don't have to add the timing for each HTTP Request sampler.
>
>
>
>
> On Wed, Jun 26, 2013 at 11:49 PM, Sameera Rao P <sameerar@techmahindra.com
> > wrote:
>
>> Hi Jason
>>
>> Even I am facing the similar issue when I run long duration test with
>> remote option. I am using soap xml RPC sampler. In that case where can I
>> set the timeout ?
>>
>> Thanks & Regards
>> Sam
>>
>> -----Original Message-----
>> From: Jason Wood [mailto:jwood68@gmail.com]
>> Sent: Thursday, June 27, 2013 11:35 AM
>> To: JMeter Users List
>> Subject: Re: JMeter doesn't stop after completing the test.
>>
>> I have seen this when a request goes un-answered, jmeter waits forever.
>> My solution was to set a response timeout on the the http request panel.
>> Use some reasonably high value so as not to trigger by accident, but
>> still get jmeter to stop in your lifetime.
>>
>> --
>> Jason
>>
>>
>> On 26 Jun 2013, at 23:45, "hamepal@gmail.com" <ha...@gmail.com> wrote:
>>
>> > I am using following command to run jmeter test plan using command
>> line.
>> >
>> > "jmeter -n -t ./cni/SMC-dashboard-test-plan.jmx -l
>> /var/tmp/dashboard.jtl "
>> >
>> > One strange thing is that it doesn't stop even after finishing the
>> test
>> > plan. I have to kill the JMeter to finish the test plan. This was not
>> > happening before but now it is getting persistent.
>> >
>> > Any one has faced similar issue before?
>> >
>> >
>> >
>> >
>> > -----
>> > Technical blog : code4reference
>> > LinkedIn :  Rakesh Kumar
>> > --
>> > View this message in context:
>> http://jmeter.512774.n5.nabble.com/JMeter-doesn-t-stop-after-completing-
>> the-test-tp5717230.html<http://jmeter.512774.n5.nabble.com/JMeter-doesn-t-stop-after-completing-the-test-tp5717230.html>
>> > Sent from the JMeter - User mailing list archive at Nabble.com.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> > For additional commands, e-mail: user-help@jmeter.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>>
>> <html>
>> <body>
>> <table cellpadding='0' cellspacing='0'>
>> <tr>
>> <td colspan='4'><a href='http://www.techmahindra.com'><img
>> alt='TechMahindra' border='0' src='
>> http://interact.techmahindra.com/images/techmlogonew.jpg' /></a>
>> </td>
>> </tr>
>> <tr>
>> <td colspan="4" style="color:grey;font:Trebuchet MS 8pt">Connect with
>> us:</td>
>> </tr>
>> <tr>
>> <td><a href='http://www.facebook.com/TechMahindra'><img alt='facebook'
>> border='0' src='http://interact.techmahindra.com/images/facebook.jpg'
>> /></a></td>
>> <td><a href='http://twitter.com/Tech_Mahindra'><img alt='twitter'
>> border='0' src='http://interact.techmahindra.com/images/tweeter.jpg'
>> /></a></td>
>> <td><a href='http://www.linkedin.com/company/tech-mahindra'><img
>> alt='linkedin' border='0' src='
>> http://interact.techmahindra.com/images/linkedin.jpg' /></a></td>
>> <td><a href='http://www.youtube.com/user/techmahindra09'><img
>> alt='youtube' border='0' src='
>> http://interact.techmahindra.com/images/youtube.jpg' /></a></td>
>> </tr>
>> </table>
>>
>> </body>
>> </html>
>>
>> ============================================================================================================================
>> Disclaimer:  This message and the information contained herein is
>> proprietary and confidential and subject to the
>>  Tech Mahindra policy statement, you may review the policy at <a href="
>> http://www.techmahindra.com/Disclaimer.html">
>> http://www.techmahindra.com/Disclaimer.html</a>
>> externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">
>> http://tim.techmahindra.com/tim/disclaimer.html</a> internally within
>> Tech Mahindra.
>>
>> ============================================================================================================================
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>>
>

Re: JMeter doesn't stop after completing the test.

Posted by hame <ha...@gmail.com>.
Thanks Jason,

@Sameera, I would set the connection timeout and response timeout in HTTP
Request Defaults<http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request_Defaults>.
This way I don't have to add the timing for each HTTP Request sampler.




On Wed, Jun 26, 2013 at 11:49 PM, Sameera Rao P
<sa...@techmahindra.com>wrote:

> Hi Jason
>
> Even I am facing the similar issue when I run long duration test with
> remote option. I am using soap xml RPC sampler. In that case where can I
> set the timeout ?
>
> Thanks & Regards
> Sam
>
> -----Original Message-----
> From: Jason Wood [mailto:jwood68@gmail.com]
> Sent: Thursday, June 27, 2013 11:35 AM
> To: JMeter Users List
> Subject: Re: JMeter doesn't stop after completing the test.
>
> I have seen this when a request goes un-answered, jmeter waits forever.
> My solution was to set a response timeout on the the http request panel.
> Use some reasonably high value so as not to trigger by accident, but
> still get jmeter to stop in your lifetime.
>
> --
> Jason
>
>
> On 26 Jun 2013, at 23:45, "hamepal@gmail.com" <ha...@gmail.com> wrote:
>
> > I am using following command to run jmeter test plan using command
> line.
> >
> > "jmeter -n -t ./cni/SMC-dashboard-test-plan.jmx -l
> /var/tmp/dashboard.jtl "
> >
> > One strange thing is that it doesn't stop even after finishing the
> test
> > plan. I have to kill the JMeter to finish the test plan. This was not
> > happening before but now it is getting persistent.
> >
> > Any one has faced similar issue before?
> >
> >
> >
> >
> > -----
> > Technical blog : code4reference
> > LinkedIn :  Rakesh Kumar
> > --
> > View this message in context:
> http://jmeter.512774.n5.nabble.com/JMeter-doesn-t-stop-after-completing-
> the-test-tp5717230.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
> <html>
> <body>
> <table cellpadding='0' cellspacing='0'>
> <tr>
> <td colspan='4'><a href='http://www.techmahindra.com'><img
> alt='TechMahindra' border='0' src='
> http://interact.techmahindra.com/images/techmlogonew.jpg' /></a>
> </td>
> </tr>
> <tr>
> <td colspan="4" style="color:grey;font:Trebuchet MS 8pt">Connect with
> us:</td>
> </tr>
> <tr>
> <td><a href='http://www.facebook.com/TechMahindra'><img alt='facebook'
> border='0' src='http://interact.techmahindra.com/images/facebook.jpg'
> /></a></td>
> <td><a href='http://twitter.com/Tech_Mahindra'><img alt='twitter'
> border='0' src='http://interact.techmahindra.com/images/tweeter.jpg'
> /></a></td>
> <td><a href='http://www.linkedin.com/company/tech-mahindra'><img
> alt='linkedin' border='0' src='
> http://interact.techmahindra.com/images/linkedin.jpg' /></a></td>
> <td><a href='http://www.youtube.com/user/techmahindra09'><img
> alt='youtube' border='0' src='
> http://interact.techmahindra.com/images/youtube.jpg' /></a></td>
> </tr>
> </table>
>
> </body>
> </html>
>
> ============================================================================================================================
> Disclaimer:  This message and the information contained herein is
> proprietary and confidential and subject to the
>  Tech Mahindra policy statement, you may review the policy at <a href="
> http://www.techmahindra.com/Disclaimer.html">
> http://www.techmahindra.com/Disclaimer.html</a>
> externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">
> http://tim.techmahindra.com/tim/disclaimer.html</a> internally within
> Tech Mahindra.
>
> ============================================================================================================================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

JMeter doesn't stop after completing the test.

Posted by Sameera Rao P <sa...@TechMahindra.com>.
Hi Jason

Even I am facing the similar issue when I run long duration test with
remote option. I am using soap xml RPC sampler. In that case where can I
set the timeout ? 

Thanks & Regards
Sam

-----Original Message-----
From: Jason Wood [mailto:jwood68@gmail.com] 
Sent: Thursday, June 27, 2013 11:35 AM
To: JMeter Users List
Subject: Re: JMeter doesn't stop after completing the test.

I have seen this when a request goes un-answered, jmeter waits forever.
My solution was to set a response timeout on the the http request panel.
Use some reasonably high value so as not to trigger by accident, but
still get jmeter to stop in your lifetime. 

-- 
Jason


On 26 Jun 2013, at 23:45, "hamepal@gmail.com" <ha...@gmail.com> wrote:

> I am using following command to run jmeter test plan using command
line.
> 
> "jmeter -n -t ./cni/SMC-dashboard-test-plan.jmx -l
/var/tmp/dashboard.jtl "
> 
> One strange thing is that it doesn't stop even after finishing the
test
> plan. I have to kill the JMeter to finish the test plan. This was not
> happening before but now it is getting persistent. 
> 
> Any one has faced similar issue before? 
> 
> 
> 
> 
> -----
> Technical blog : code4reference 
> LinkedIn :  Rakesh Kumar 
> --
> View this message in context:
http://jmeter.512774.n5.nabble.com/JMeter-doesn-t-stop-after-completing-
the-test-tp5717230.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
> 

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


<html>
<body>
<table cellpadding='0' cellspacing='0'>
<tr>
<td colspan='4'><a href='http://www.techmahindra.com'><img alt='TechMahindra' border='0' src='http://interact.techmahindra.com/images/techmlogonew.jpg' /></a>
</td>
</tr>
<tr>
<td colspan="4" style="color:grey;font:Trebuchet MS 8pt">Connect with us:</td>
</tr>
<tr>
<td><a href='http://www.facebook.com/TechMahindra'><img alt='facebook' border='0' src='http://interact.techmahindra.com/images/facebook.jpg' /></a></td>
<td><a href='http://twitter.com/Tech_Mahindra'><img alt='twitter' border='0' src='http://interact.techmahindra.com/images/tweeter.jpg' /></a></td>
<td><a href='http://www.linkedin.com/company/tech-mahindra'><img alt='linkedin' border='0' src='http://interact.techmahindra.com/images/linkedin.jpg' /></a></td>
<td><a href='http://www.youtube.com/user/techmahindra09'><img alt='youtube' border='0' src='http://interact.techmahindra.com/images/youtube.jpg' /></a></td>
</tr>
</table>

</body>
</html>
============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the
 Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> 
externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">http://tim.techmahindra.com/tim/disclaimer.html</a> internally within Tech Mahindra.
============================================================================================================================

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


Re: JMeter doesn't stop after completing the test.

Posted by Jason Wood <jw...@gmail.com>.
I have seen this when a request goes un-answered, jmeter waits forever. My solution was to set a response timeout on the the http request panel. Use some reasonably high value so as not to trigger by accident, but still get jmeter to stop in your lifetime. 

-- 
Jason


On 26 Jun 2013, at 23:45, "hamepal@gmail.com" <ha...@gmail.com> wrote:

> I am using following command to run jmeter test plan using command line.
> 
> "jmeter -n -t ./cni/SMC-dashboard-test-plan.jmx -l  /var/tmp/dashboard.jtl "
> 
> One strange thing is that it doesn't stop even after finishing the test
> plan. I have to kill the JMeter to finish the test plan. This was not
> happening before but now it is getting persistent. 
> 
> Any one has faced similar issue before? 
> 
> 
> 
> 
> -----
> Technical blog : code4reference 
> LinkedIn :  Rakesh Kumar 
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/JMeter-doesn-t-stop-after-completing-the-test-tp5717230.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
> 

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