jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lists <li...@dankeeley.co.uk>
Subject Re: Sequence of requests
Date Wed, 04 Jul 2007 09:13:37 GMT
Ok, looking through the source i can see each thread has it's own concept of
a start time, so it seems this isnt quite possible to do. 

I guess perhaps the simplest solution which i shall try shortly is to use a
custom sampler and then put the actual delay in the sampler itself.  or even
to copy some of the throughput timer code and mangle that in some way.


--------- Original Message --------
From: JMeter Users List <jmeter-user@jakarta.apache.org>
To: JMeter Users List <jmeter-user@jakarta.apache.org>
Subject: Re: Sequence of requests
Date: 03/07/07 15:41

> for some reason the formatting of my mail didnt work there.
> 
> basically the throughput controller is at the same level as the
transaction
> controller.
> 
> --------- Original Message --------
> From: JMeter Users List &lt;jmeter-user@jakarta.apache.org&gt;
> To: JMeter Users List &lt;jmeter-user@jakarta.apache.org&gt;
> Subject: Re: Sequence of requests
> Date: 03/07/07 15:39
> 
> &gt; Ok, I'm close now, frustratingly so :)
> &gt; 
> &gt; I now have this:
> &gt; 
> &gt; thread group
> &gt;   Transaction controller
> &gt;        request1
> &gt;        loop controller
> &gt;               5 other requests
> &gt;   constant throughput controller
> &gt; 
> &gt; When i run it, I want it to run all 6 requests one after another and
then
> &gt; wait the amount of time necessary to achieve the constant throughput
-
> i.e.
> &gt; i dont want the thoughput controller to insert delays between each
request
> &gt; in the threadgroup...
> &gt; 
> &gt; Does that make sense?
> &gt; 
> &gt; 
> &gt; --------- Original Message --------
> &gt; From: JMeter Users List
&amp;lt;jmeter-user@jakarta.apache.org&amp;gt;
> &gt; To: JMeter Users List &amp;lt;jmeter-user@jakarta.apache.org&amp;gt;
> &gt; Subject: Re: Sequence of requests
> &gt; Date: 03/07/07 15:17
> &gt; 
> &gt; &amp;gt; ah i found it sorry, transaction _controller_ not timer as i
misread
> it!
> &gt; &amp;gt; whoops!
> &gt; &amp;gt; 
> &gt; &amp;gt; Thanks!
> &gt; &amp;gt; Dan
> &gt; &amp;gt; 
> &gt; &amp;gt; --------- Original Message --------
> &gt; &amp;gt; From: JMeter Users List
> &amp;amp;lt;jmeter-user@jakarta.apache.org&amp;amp;gt;
> &gt; &amp;gt; To: JMeter Users List
&amp;amp;lt;jmeter-user@jakarta.apache.org&amp;amp;gt;,
> Lists
> &gt; &amp;gt; &amp;amp;lt;lists@dankeeley.co.uk&amp;amp;gt;
> &gt; &amp;gt; Subject: Re: Sequence of requests
> &gt; &amp;gt; Date: 03/07/07 15:13
> &gt; &amp;gt; 
> &gt; &amp;gt; &amp;amp;gt; Use the Transaction Controller and a Constant
Throughput
> Timer.
> &gt; &amp;gt; &amp;amp;gt; 
> &gt; &amp;gt; &amp;amp;gt; S.
> &gt; &amp;gt; &amp;amp;gt; 
> &gt; &amp;gt; &amp;amp;gt; On 03/07/07, Lists
> &amp;amp;amp;lt;lists@dankeeley.co.uk&amp;amp;amp;gt; wrote:
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; Ah, further investigation
shows i may not be
> able to do this
> &gt; so i
> &gt; &amp;gt; thought
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; i'd elaborate.  I need to
have
say 5 requests
> in a thread
> &gt; group,
> &gt; &amp;gt; which
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; execute in a sequence each
1
immediately after
> the previous
> &gt; one.  And
> &gt; &amp;gt; then
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; have a delay according to
ideally a constant
> throughput
> &gt; rate...
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; Essentially i need to work
out
the average
> response time for
> &gt; the
> &gt; &amp;gt; entire
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; sequence..
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; --------- Original Message
--------
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; From: JMeter Users List
> &gt; &amp;amp;amp;lt;jmeter-user@jakarta.apache.org&amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; To: JMeter Users List
> &gt; &amp;amp;amp;lt;jmeter-user@jakarta.apache.org&amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; Subject: Sequence of requests
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; Date: 03/07/07 14:20
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; Hi,
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; I'd
quite
like to put together a
> sequence of
> &gt; requests and to
> &gt; &amp;gt; return in the
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; logs
the
total response time for
> the entire
> &gt; sequence.  Can I do
> &gt; &amp;gt; that?
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; I.e.
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; a thread
group, and rather than
> returning a
> &gt; response time for
> &gt; &amp;gt; each
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; request,
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; just
return a
total for all
> requests executed in
> &gt; order for that
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; threadgroup.
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; If not
then
clearly it's something
> thats relatively
> &gt; easily done
> &gt; &amp;gt; with a bit
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; of post
processing on the output
> file, so it's not
> &gt; a problem.
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; I'm
not sure
if there would be
> issues with the
> &gt; constant
> &gt; &amp;gt; throughput timer
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; here,
when
that decides a thread
> can run, do they
> &gt; then all run
> &gt; &amp;gt; one after
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; another,
or
does it insert delays
> between each
> &gt; request in a
> &gt; &amp;gt; threadgroup..?
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; hmm...
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; Thanks,
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; Dan
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> ________________________________________________
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; Message
sent
using UebiMiau 2.7.10
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt;
---------------------------------------------------------------------
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; To
unsubscribe, e-mail:
> &gt; &amp;gt; jmeter-user-unsubscribe@jakarta.apache.org
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt; For
additional commands, e-mail:
> &gt; &amp;gt; jmeter-user-help@jakarta.apache.org
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> ________________________________________________
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; Message sent using UebiMiau
2.7.10
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; ---------------------------------------------------------------------
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; To unsubscribe, e-mail:
> &gt; jmeter-user-unsubscribe@jakarta.apache.org
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt; For additional commands,
e-mail:
> &gt; jmeter-user-help@jakarta.apache.org
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; &amp;amp;amp;gt;
> &gt; &amp;gt; &amp;amp;gt; 
> &gt; &amp;gt; &amp;amp;gt;
> ---------------------------------------------------------------------
> &gt; &amp;gt; &amp;amp;gt; To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> &gt; &amp;gt; &amp;amp;gt; For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> &gt; &amp;gt; &amp;amp;gt; 
> &gt; &amp;gt; &amp;amp;gt; 
> &gt; &amp;gt; &amp;amp;gt; 
> &gt; &amp;gt; 
> &gt; &amp;gt; ________________________________________________
> &gt; &amp;gt; Message sent using UebiMiau 2.7.10
> &gt; &amp;gt; 
> &gt; &amp;gt; 
> &gt; &amp;gt; 
> &gt; &amp;gt;
---------------------------------------------------------------------
> &gt; &amp;gt; To unsubscribe, e-mail:
jmeter-user-unsubscribe@jakarta.apache.org
> &gt; &amp;gt; For additional commands, e-mail:
jmeter-user-help@jakarta.apache.org
> &gt; &amp;gt; 
> &gt; &amp;gt; 
> &gt; &amp;gt; 
> &gt; 
> &gt; ________________________________________________
> &gt; Message sent using UebiMiau 2.7.10
> &gt; 
> &gt; 
> &gt; 
> &gt; ---------------------------------------------------------------------
> &gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> &gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> &gt; 
> &gt; 
> &gt; 
> 
> ________________________________________________
> Message sent using UebiMiau 2.7.10
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

________________________________________________
Message sent using UebiMiau 2.7.10



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message