The result I got is ok. Iteration means Iteration and nothing else.
User Parameters does.
Thanks.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "JMeter Users List" <[email protected]>;
<[EMAIL PROTECTED]>
Sent: Saturday, October 22, 2005 1:25 PM
Subject: Re: Dynamic Global Parameters ?
Thanks first, but still not at all the result:
I have configured :
+Thread Group A (2 Threads, 2 Iteration)
+User Parameters P1 (random function x)
+User Parameters P2 (random function y) (with Update Once Per
Iteration) (<-- a second pre-processor-element in the tree)
+Sampler S using P1 and P2
I expected:
Thread A1
S with P1(x1), P2(y1)
S with P1(x1), P2(y2)
Thread A2 when assuming y can start
from same postion (is that possible here, e.g using stringfromfile?)
S with P1(x2), P2(y3) S with P1(x2), P2(y1)
S with P1(x2), P2(y4) S with P1(x2), P2(y2)
I got:
Thread A1
S with P1(x1), P2(y1)
S with P1(x2), P2(y2)
Thread A2
S with P1(x3), P2(y3)
S with P1(x4), P2(y4)
All got executed always !!!
What I am doing wrong or do not understand !?
Do I need a specific controller for the expected result in the
configuration ?
----- Original Message -----
From: "Michael Stover" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, October 21, 2005 3:41 PM
Subject: Re: Dynamic Global Parameters ?
User Parameters does what you want (not the same as User Defined
Values).
-Mike
On Thu, 2005-10-20 at 23:07 +0200, [EMAIL PROTECTED] wrote:
Is there way to setup dynamic global parameter
for each thread and for each iteration different
but for each sampler the same per thread and iteration.
e.g I have a thread group configured
with twenty threads and ten iterations
holding 30 sampler and 10 controller for each iteration.
Each thread should have a param with holding a random number ( random
function )
each thread should have a param holding a string ( StringFromFile
function, file A )
And
each iteration should have a param holding a string ( StringFromFile
function, file B )
Thread Group A
-----------------------
Thread1 x1 Thread2 x2 Thread3 x3 ......
--------------------------------------------------------------------------------------------
Iteration1 a1 Iteration1 a1 Iteration1 a1
sample1 (x1,a1) sample1 (x2,a1) sample1 (x3,a1)
sample2 (x1,a1) sample2 (x2,a1) sample2 (x3,a1)
.. ... ...
Iteration2 a2 Iteration2 a2 Iteration2 a2
sample1 (x1,a2) sample1 (x2,a2) sample1 (x3,a2)
sample2 (x1,a2) sample2 (x2,a2) sample2 (x3,a2)
... ... ...
Iteration3 a3 Iteration3 a3 Iteration3 a3
sample1 (x1,a3) sample1 (x2,a3) sample1 (x3,a3)
sample2 (x1,a3) sample2 (x2,a3) sample2 (x3,a3)
... ... ...
(x1,x2,.and a1,a2,.. should be the params configured always at thread
start and iteration start,
the string-param is taken for each thread and iteration from the same
file A and B)
User defined variables does not work because it is executed only once.
What I need would be a user defined variables executed for each thread
separately
and user variables executed for each iteration per thread separately
which I can then use both in the sampler as (tried to) described above.
Any ideas ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]