You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by freesky <hw...@windowslive.com> on 2011/12/01 13:59:27 UTC
for same http request, user1 send 3 times, user2 send 2 times
for same http request, such as open google page, i add 2 users, user1 and
user2, now i want user1 send request of open google page for 3 times, user2
send 2 times, can i do that? Thanks in advance!
--
View this message in context: http://jmeter.512774.n5.nabble.com/for-same-http-request-user1-send-3-times-user2-send-2-times-tp5038588p5038588.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: for same http request, user1 send 3 times, user2 send 2 times
Posted by freesky <hw...@windowslive.com>.
Thanks Shaba K and shettyd.
shettyd gave me another solution, i tried , it works.
And for ' User Parameters ', i have to check ' update once per iteration ',
otherwise, i can't see anything in the ' view result tree '.
--
View this message in context: http://jmeter.512774.n5.nabble.com/for-same-http-request-user1-send-3-times-user2-send-2-times-tp5038588p5047784.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: for same http request, user1 send 3 times, user2 send 2 times
Posted by Deepak Shetty <sh...@gmail.com>.
Hi
Thread group (Threads =2 for two users)
+User Parameters (variable = loopCount , values for as many threads as you
want)
+Loop Controller (Loop Count = ${loopCount} where loopCount is the name you
specified in user parameters)
++HTTP Sampler
The variable can be read in a number of ways , not just User parameters
regards
deepak
On Thu, Dec 1, 2011 at 5:40 PM, freesky <hw...@windowslive.com> wrote:
> Thanks! i tried, maybe i'm not familiar with throughput controller, so i
> didn't get what i want.
> i tried add 2 thread groups, but any other solutions? Thanks!
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/for-same-http-request-user1-send-3-times-user2-send-2-times-tp5038588p5040393.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: for same http request, user1 send 3 times, user2 send 2 times
Posted by freesky <hw...@windowslive.com>.
Thanks! i tried, maybe i'm not familiar with throughput controller, so i
didn't get what i want.
i tried add 2 thread groups, but any other solutions? Thanks!
--
View this message in context: http://jmeter.512774.n5.nabble.com/for-same-http-request-user1-send-3-times-user2-send-2-times-tp5038588p5040393.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: for same http request, user1 send 3 times, user2 send 2 times
Posted by Shaba K <sh...@gmail.com>.
i guess you can use throughput controller & add a % of times that you want
your users to run
Cheers
On Thu, Dec 1, 2011 at 12:59 PM, freesky <hw...@windowslive.com> wrote:
> for same http request, such as open google page, i add 2 users, user1 and
> user2, now i want user1 send request of open google page for 3 times, user2
> send 2 times, can i do that? Thanks in advance!
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/for-same-http-request-user1-send-3-times-user2-send-2-times-tp5038588p5038588.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
>
>