Rather than use the IF controller, the Switch Controller can be
combined with a suitable variable (N).
Just define the variable to have the values 0,1,2 for the relevant
percentage of the time.
Basic procedure:
r=random integer, 1-100
N=0 if 0 r = 80
N=1 if 80 r
This can be done in a
If I run many threads, say 20, will the various threads be in lock step? I do
want all the threads to use the same random number generator so that the next
value is relatively random. I'm concerned that if I have 20 random number
generators, and they're all seeded with the current time, they
Functions are shared across threads.
Each occurrence of a function in the test plan is handled by a
separate instance of the function.
S.
On 25/03/06, bgordon [EMAIL PROTECTED] wrote:
If I run many threads, say 20, will the various threads be in lock step? I do
want all the threads to use the
Thanks Praveen. Does anyone else have advice on the parent of the throughput
controllers being a RandomController? -Bruce
Praveen Kallakuri [EMAIL PROTECTED] wrote: I meant if (rand(0,9) 8) below.
On 3/21/06, Praveen Kallakuri
wrote:
Not sure if this is the best solution, but you could
What is the correct etiquette to get a response on this forum? Did I even ask
the question in the correct forum? Was my question to obvious? Please help.
Thanks, Bruce
bgordon [EMAIL PROTECTED] wrote: Any help with this question? When I ran it
with a parent random order controller I didn't
Not sure if this is the best solution, but you could use an if controller
containing javascript like ... if (rand(0,9) = 8). Send HTTP Request B only
if this evaluates to true and also set a user defined variable to indicate
that this B has been sent. In the next if controller, send A only if the
Any help with this question? When I ran it with a parent random order
controller I didn't seem to get the number of executions I expected. Thanks,
Bruce
bgordon [EMAIL PROTECTED] wrote: Here�s a simplified view of what I want
Aggregate Thread Group
-Txn A throughput controller 20%
Heres a simplified view of what I want
Aggregate Thread Group
-Txn A throughput controller 20%
--txn A HTTP Request
-Txn B throughput controller 80%
--txn B HTTP Request
I want A to be run ~20% of the time, and B to be run ~80%. I dont want the
system to have all threads
8 matches
Mail list logo