You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by rkannan <ka...@keystonelogic.net> on 2011/01/24 06:50:05 UTC
Problem with CSV config using in loop
Hi all,
I have configured CSV config set and using one thread group. Threads takes
the values from CSV which i configured. Its works fine with few number of
users. It takes each values for each thread when i configured the no. of
users to below 100. My problem is when the no. of users is above 100 in
loop, it takes the same value again for few threads.
eg:
CSV file having 300 values, no. of users set in jmeter 100, loop 3.
My test plan looks like:
+Test Plan
++Thread Group
+++CSV Config file
+++HTTP sampler1 (reads value from csv)
+++HTTP sampler2 (no read from csv)
I need the solution that, for each loop all the HTTP sampler1 should read
unique value from CSV file
Please suggest some solution for my problem
Thanks in advance.
--
View this message in context: http://jmeter.512774.n5.nabble.com/Problem-with-CSV-config-using-in-loop-tp3354268p3354268.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: Problem with CSV config using in loop
Posted by Duc Chau <ch...@gmail.com>.
Have you tried 99 thread groups only? What's the last data value in CSV? You
can use Beanshell Post Processor to debug (print("${VAR}");)
On Mon, Jan 24, 2011 at 6:24 PM, Rajiv Nanduani <
rajivkumarnandvani@gmail.com> wrote:
> set current thread goup
>
> On Mon, Jan 24, 2011 at 1:52 AM, rkannan <ka...@keystonelogic.net> wrote:
>
> >
> > If i set to sharing mode = current thread, it takes single value for all
> > the
> > HTTP sampler1. I need unique values for all HTTP sampler1 in loops.
> > --
> > View this message in context:
> >
> http://jmeter.512774.n5.nabble.com/Problem-with-CSV-config-using-in-loop-tp3354268p3354288.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
> >
> >
>
>
> --
> RAJIV KUMAR
>
> <http://rajivkumarnandvani.wordpress.com/>
> <http://learnqtphelp.blogspot.com/>
>
Re: Problem with CSV config using in loop
Posted by Rajiv Nanduani <ra...@gmail.com>.
set current thread goup
On Mon, Jan 24, 2011 at 1:52 AM, rkannan <ka...@keystonelogic.net> wrote:
>
> If i set to sharing mode = current thread, it takes single value for all
> the
> HTTP sampler1. I need unique values for all HTTP sampler1 in loops.
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Problem-with-CSV-config-using-in-loop-tp3354268p3354288.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
>
>
--
RAJIV KUMAR
<http://rajivkumarnandvani.wordpress.com/>
<http://learnqtphelp.blogspot.com/>
Re: Problem with CSV config using in loop
Posted by rkannan <ka...@keystonelogic.net>.
If i set to sharing mode = current thread, it takes single value for all the
HTTP sampler1. I need unique values for all HTTP sampler1 in loops.
--
View this message in context: http://jmeter.512774.n5.nabble.com/Problem-with-CSV-config-using-in-loop-tp3354268p3354288.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: Problem with CSV config using in loop
Posted by Rajiv Nanduani <ra...@gmail.com>.
Hi set True for this:
Recycle of EOF = true
Stop Thread on EOF = true
Sharing Mode = current thread
On Mon, Jan 24, 2011 at 12:50 AM, rkannan <ka...@keystonelogic.net> wrote:
>
> Hi all,
>
> I have configured CSV config set and using one thread group. Threads takes
> the values from CSV which i configured. Its works fine with few number of
> users. It takes each values for each thread when i configured the no. of
> users to below 100. My problem is when the no. of users is above 100 in
> loop, it takes the same value again for few threads.
>
> eg:
>
> CSV file having 300 values, no. of users set in jmeter 100, loop 3.
>
> My test plan looks like:
>
> +Test Plan
> ++Thread Group
> +++CSV Config file
> +++HTTP sampler1 (reads value from csv)
> +++HTTP sampler2 (no read from csv)
>
> I need the solution that, for each loop all the HTTP sampler1 should read
> unique value from CSV file
>
> Please suggest some solution for my problem
>
> Thanks in advance.
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Problem-with-CSV-config-using-in-loop-tp3354268p3354268.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
>
>
--
RAJIV KUMAR
<http://rajivkumarnandvani.wordpress.com/>
<http://learnqtphelp.blogspot.com/>