jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: How to control timing of test distribution?
Date Mon, 16 Aug 2010 08:16:56 GMT
On 15 August 2010 16:17, Christopher Nagel <chrisnagelmiami@yahoo.com> wrote:
> Deepak,
>
> Actually, that turns out to have been my description of the central issue: how
> to ramp up the number of threads in a bell curve while throttling transactions
> to a preset throughput.
>
> The solution I came up with was to set thread count as a property and create 6
> different command lines to set the thread counts as in the table I originally
> posted.
>
> The only thing I was unhappy with in the end was that the "constant throughput"
> was not "constant", but more like "limiting":  the database guys commented that
> the test was rather "bursty" because the constant throughput timer reaches the
> predefined threshold immediately and then just sleeps everything for the rest of
> the minute.

Did you have any other timers in the test plan?
If not, then try adding a random timer to ensure that the samples
don't bunch together.

> In other words, we'd get 190 transactions by 12:00:10 and ZERO from
> 12:00:11 - 12:00:59!!  I may have a look at designing some kind of "Even
> Distribution" timer one day that allows one to manipulate a spline curve to
> control the overall ramp up/down of a more evenly continuous test scenario.
>
> Anyway, my question for now is answered and thanks to everyone for all the
> input!
>
> Regards,
> Chris
>
>
>
> ________________________________
> From: Deepak Shetty <shettyd@gmail.com>
> To: JMeter Users List <jmeter-user@jakarta.apache.org>
> Sent: Wed, August 11, 2010 5:20:19 PM
> Subject: Re: How to control timing of test distribution?
>
> Hi
> Im not sure I understand what you mean by this
>>"I've tried a Constant Throughput timer, but it only takes effect after the
>>threads are all ramped up, so basically it starts at the 20-minute rate
> (given a
>>15-thread group)."
>
> regards
> deepak
>
>
>
> On Wed, Aug 11, 2010 at 1:34 PM, Christopher Nagel <
> chrisnagelmiami@yahoo.com> wrote:
>
>> Hi,
>>
>> For my first JMeter project, I've been asked to accomplish the following
>> test
>> plan, but I am completely unsure if the tool can do it.
>>
>> Here is the plan, in table format, which should look OK in fixed-width
>> fonts:
>>
>> <pre>
>>                      Max.   Txns Per Minute each 5-Minutes
>> Transaction           Users   05  10   15   20  25  30   Total
>> ------------------    -----   --  --   --   --  --  --  ------
>> 1. AutoPay              2      1   2    2    2   2   1  |  50
>> 2. Credit card          4      1   2    3    4   3   2  |  75
>> 3. Policy lookup       15      1   5   10   15  10   5  | 230
>> 4. Billing Info        15      1   5   10   15  10   5  | 230
>> 5. ACH                  2      1   2    2    2   2   1  |  50
>>         Total Transactions   25  80  135  190 135  70  | 635
>> </pre>
>>
>> For each transaction, I've set up a thread group (5 total).  I have the
>> Soap
>> requests working fine using data from CSV files.
>>
>> My issue is setting up the throttle on threads/users and transactions so
>> that
>> they ramp up and then down evenly according to the test "plan" in the table
>> above.
>>
>> For example: #3 should perform 1 lookup per minute for the first 5 minutes,
>> then
>> perform 5 lookups per minute until :10 minutes pass, at which point it
>> should
>> perform 10 transactions per minute... etc.
>>
>> If I were writing Java to do this, I'd:
>>    1. set up a 1-minute timer to fire
>>    2. for each transaction type
>>        3. get # transactions for the current minute
>>        4. fire them off
>>
>> I've tried a Constant Throughput timer, but it only takes effect after the
>> threads are all ramped up, so basically it starts at the 20-minute rate
>> (given a
>> 15-thread group).
>>
>> Is this type of a strictly controlled transaction distribution even
>> possible
>> with JMeter?
>>
>> Thanks in advance for your help!!  I look forward to learning more about
>> this
>> amazing tool.
>>
>> Regards,
>> Chris
>>
>>
>>
>>
>
>
>
>

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