You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Chris Cameron <ch...@upnix.com> on 2010/12/16 01:00:51 UTC

Uneven Sampler execution

I have 10 JDBC Request samplers under a Random Controller. When I run
my test (20 threads, 50 loops for example), I have 5 Samplers that
stop at 20 requests, 4 that stop at 100 requests, and one that does
500 requests before the run is over. This, exactly, is my problem.

Additionally, each of these 10 JDBC Requests get parameters from 8 CSV
Data config elements and 1 Random Variable element. Some of the JDBC
Requests share variables from one CSV file.



In my Aggregate Graph listener, it shows 0 errors for all JDBC
Requests. I've enabled each JDBC Request one by one, and verified that
the parameters are being set, and correct data is being returned. My
jmeter.log shows no errors and for the most part looks normal.

What could be causing these samplers to not be run in even
"randomness", as I would expected?


If you read through that, you have my sincere thanks.


Chris

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


Re: Uneven Sampler execution

Posted by Chris Cameron <ch...@upnix.com>.
The fix was in the name of the Samplers and CSV Configuration
elements. The samplers that stopped at 20 all shared a name with a CSV
Configuration element. Changed the names, and they all get similar
amounts of times.


Thanks for the reply,


Chris


On Thu, Dec 16, 2010 at 1:10 PM, Steve Eckhart
<St...@wausaufs.com> wrote:
> Chris,
>
> Can you provide more detail about your test plan? From http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Random_Controller:
>
> "Interactions between multiple controllers can yield complex behavior. This is particularly true of the Random Controller. Experiment before you assume what results any given interaction will give."
>
> Thanks,
>
> Steve Eckhart
> Lead Quality Assurance Analyst
>
> WAUSAU Financial Systems
> 14010 FNB PKWY STE500
> Omaha, NE 68154-5206
> Main: (402) 431-8810
> Direct line: (402) 715-9382
> Email: steve.eckhart@wausaufs.com
>
> Enterprise Payment Solutions.
> CONFIDENTIALITY NOTICE:  This electronic transmission (including files attached hereto) is intended only for the use of the individual or entity named above.  If the reader of this message is not the intended recipient, you are hereby notified that any disclosure, dissemination, copying, distribution or taking of any action in reliance on the contents of this confidential information is strictly prohibited.  If you have received this communication in error, please destroy it and immediately notify us by return email.  Thank you.
>
>
>
> -----Original Message-----
> From: Chris Cameron [mailto:chris@upnix.com]
> Sent: Wednesday, December 15, 2010 6:01 PM
> To: jmeter-user@jakarta.apache.org
> Subject: Uneven Sampler execution
>
> I have 10 JDBC Request samplers under a Random Controller. When I run
> my test (20 threads, 50 loops for example), I have 5 Samplers that
> stop at 20 requests, 4 that stop at 100 requests, and one that does
> 500 requests before the run is over. This, exactly, is my problem.
>
> Additionally, each of these 10 JDBC Requests get parameters from 8 CSV
> Data config elements and 1 Random Variable element. Some of the JDBC
> Requests share variables from one CSV file.
>
>
>
> In my Aggregate Graph listener, it shows 0 errors for all JDBC
> Requests. I've enabled each JDBC Request one by one, and verified that
> the parameters are being set, and correct data is being returned. My
> jmeter.log shows no errors and for the most part looks normal.
>
> What could be causing these samplers to not be run in even
> "randomness", as I would expected?
>
>
> If you read through that, you have my sincere thanks.
>
>
> Chris
>
> ---------------------------------------------------------------------
> 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
>
>

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


RE: Uneven Sampler execution

Posted by Steve Eckhart <St...@wausaufs.com>.
Chris,

Can you provide more detail about your test plan? From http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Random_Controller:

"Interactions between multiple controllers can yield complex behavior. This is particularly true of the Random Controller. Experiment before you assume what results any given interaction will give."

Thanks,

Steve Eckhart
Lead Quality Assurance Analyst

WAUSAU Financial Systems
14010 FNB PKWY STE500
Omaha, NE 68154-5206
Main: (402) 431-8810 
Direct line: (402) 715-9382
Email: steve.eckhart@wausaufs.com
 
Enterprise Payment Solutions.
CONFIDENTIALITY NOTICE:  This electronic transmission (including files attached hereto) is intended only for the use of the individual or entity named above.  If the reader of this message is not the intended recipient, you are hereby notified that any disclosure, dissemination, copying, distribution or taking of any action in reliance on the contents of this confidential information is strictly prohibited.  If you have received this communication in error, please destroy it and immediately notify us by return email.  Thank you.



-----Original Message-----
From: Chris Cameron [mailto:chris@upnix.com] 
Sent: Wednesday, December 15, 2010 6:01 PM
To: jmeter-user@jakarta.apache.org
Subject: Uneven Sampler execution

I have 10 JDBC Request samplers under a Random Controller. When I run
my test (20 threads, 50 loops for example), I have 5 Samplers that
stop at 20 requests, 4 that stop at 100 requests, and one that does
500 requests before the run is over. This, exactly, is my problem.

Additionally, each of these 10 JDBC Requests get parameters from 8 CSV
Data config elements and 1 Random Variable element. Some of the JDBC
Requests share variables from one CSV file.



In my Aggregate Graph listener, it shows 0 errors for all JDBC
Requests. I've enabled each JDBC Request one by one, and verified that
the parameters are being set, and correct data is being returned. My
jmeter.log shows no errors and for the most part looks normal.

What could be causing these samplers to not be run in even
"randomness", as I would expected?


If you read through that, you have my sincere thanks.


Chris

---------------------------------------------------------------------
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