Another point I must mention is that I don't have any controller in the
thread groups. That is, I added all request samples to thread group
directly, then add the Uniform Random Timer (at the bottom after all
requests and also be a child of thread group). Will this cause the problem?

Best regards,
Sheng 

-----Original Message-----
From: Sheng Huang [mailto:[EMAIL PROTECTED]
Sent: June 25, 2004 2:45 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent question about Uniform Random Timer


I put a Uniform Random Timer in each thread group with the following
setting:
Random Delay Maximum (in milliseconds): 15000.0
Constant Delay Offset (in milliseconds): 45000.0

I checked its source code and it seems that I should get a delay between 45
seconds to 1 minute.

However, when I checked the logs, it seems that a lot of threads finished
more than two requests in a minute. While I assume each thread can finish at
most one request since each thread need to request a page, wait for
response, and wait another 45-60 seconds, then request another page.

Sample logs for a single thread is as follows:
<sampleResult timeStamp="16:01:50:588" dataType="text"
threadName="LearnerGroup2-1" label="/cthrc/" time="50" responseMessage="OK"
responseCode="200" success="true"/>
<sampleResult timeStamp="16:02:02:625" dataType="text"
threadName="LearnerGroup2-1" label="/cthrc/common/login.do" time="30"
responseMessage="OK" responseCode="200" success="true"/>
<sampleResult timeStamp="16:02:16:874" dataType="text"
threadName="LearnerGroup2-1" label="/cthrc/common/actLoginValidate.jsp"
time="20" responseMessage="Moved" responseCode="302" success="true"/>
<sampleResult timeStamp="16:02:24:415" dataType="text"
threadName="LearnerGroup2-1" label="/cthrc/learners/home.do" time="80"
responseMessage="OK" responseCode="200" success="true"/>
<sampleResult timeStamp="16:02:33:467" dataType="text"
threadName="LearnerGroup2-1" label="/cthrc/online/campus.do" time="100"
responseMessage="OK" responseCode="200" success="true"/>
<sampleResult timeStamp="16:02:40:537" dataType="text"
threadName="LearnerGroup2-1" label="/cthrc/learners/profile.do" time="40"
responseMessage="OK" responseCode="200" success="true"/>
<sampleResult timeStamp="16:02:52:513" dataType="text"
threadName="LearnerGroup2-1" label="/cthrc/learners/profileName.do"
time="100" responseMessage="OK" responseCode="200" success="true"/>

Is there something wrong with my understanding of Uniform Random Timer
and/or JMeter request behaviour? I appreciate your help since this is the
road block to my load testing.

Have a good day.

Best regards,
Sheng

 

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

Reply via email to