You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ravindra Gupta <ra...@gmail.com> on 2011/05/25 21:05:21 UTC

Transaction Controller issue

Hi All

I am using jmeter 2.4 r961953.
Transaction Controller has two options
  1. Generate Parent Sample
  2. Include Timer duration in the generated sample.

I have put timer in the transaction controller with one of the HTTP Sampler.
lets say 5 sec

 If both the options are unchecked, timer duration doesnt gets added to
generated parent sampler which is correct.

However, if option 1 is checked and option 2 is unchecked,  the generated
parent sample is added with timer duration which is not correct.
I want to display just Parent Sample in the result file.

Regards,
Ravindra

Re: Transaction Controller issue

Posted by Ravindra Gupta <ra...@gmail.com>.
Hi Tim,

Thanks for the reply.

This looks like a bug in jmeter. Many people may have face this issue. but i
couldnt find it anywhere in the Jmeter group This is screwing up my Test
plan.

Seb,  can it be raise as a bug in jmeter?

Regards,
Ravindra
On Wed, Jun 1, 2011 at 7:02 PM, Tim Koopmans <ti...@gmail.com> wrote:

> I can confirm same behaviour in
> java -jar ApacheJMeter.jar -v
> Copyright (c) 1998-2010 The Apache Software Foundation
> Version 2.4 r961953
>
> It would appear the parent sample is including RT from the constant
> throughput timer used in the thread group based on 5 samples/min, as
> demonstrated by total RT of 12120 ms:
>
> <sample t="12120" lt="0" ts="1306976470726" s="true" lb="Dummy sample"
> rc="200" rm="Number of samples in transaction : 1, number of failing
> samples
> : 0" tn="concurrency 1-1000" dt="" by="270">
>  <httpSample t="516" lt="516" ts="1306976470730" s="true" lb="/dummy"
> rc="200" rm="OK" tn="concurrency 1-1000" dt="text" by="270"/>
> </sample>
>
> This is despite the child sample only being 516 ms.
>
> The Transaction Controller has the following config:
>
> <boolProp name="TransactionController.parent">true</boolProp>
> <boolProp name="TransactionController.includeTimers">false</boolProp>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Transaction-Controller-issue-tp4426293p4446904.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Transaction Controller issue

Posted by Tim Koopmans <ti...@gmail.com>.
I can confirm same behaviour in 
java -jar ApacheJMeter.jar -v
Copyright (c) 1998-2010 The Apache Software Foundation
Version 2.4 r961953

It would appear the parent sample is including RT from the constant
throughput timer used in the thread group based on 5 samples/min, as
demonstrated by total RT of 12120 ms:

<sample t="12120" lt="0" ts="1306976470726" s="true" lb="Dummy sample"
rc="200" rm="Number of samples in transaction : 1, number of failing samples
: 0" tn="concurrency 1-1000" dt="" by="270">
  <httpSample t="516" lt="516" ts="1306976470730" s="true" lb="/dummy"
rc="200" rm="OK" tn="concurrency 1-1000" dt="text" by="270"/>
</sample>

This is despite the child sample only being 516 ms.

The Transaction Controller has the following config:

<boolProp name="TransactionController.parent">true</boolProp>
<boolProp name="TransactionController.includeTimers">false</boolProp>

--
View this message in context: http://jmeter.512774.n5.nabble.com/Transaction-Controller-issue-tp4426293p4446904.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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