jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Cysne <flaviocy...@gmail.com>
Subject Re: Randomizing Loop controller Repetition Behaviour
Date Tue, 04 Aug 2015 17:22:47 GMT
Loop Controller: 6 times
    - Random 1 through 3
    - If Controller: randNum == 1
        - Search sampler
    - If Controller: randNum == 2
        - ViewItem sampler
    - If Controller: randNum == 3
        - CreateItem sampler
Em 04/08/2015 13:29, "pubudu thilakaratne" <pubuduv6@gmail.com> escreveu:

> I want to include following behavior in my jmeter test script
>
> My test plan have 3 transaction controllers Search,ViewItem and CreateItem.
> Those transaction are located inside loop controllers as I want each one to
> run in different ratios for a one iteration.
>
> Test Plan
> Thread Group 1
> Loop Controller 1 (3 times) > Search TC
> Loop Controller 1 (2 times) > ViewItem TC
> Loop Controller 1 (1 time) > CreateItem TC
>
> So the normal execution behaviour would be as below
>
> User 1 Iteration 1 :Search TC, Search TC, Search TC, ViewItem TC, ViewItem
> TC, CreateItem TC
>
> But I wanted to randomize the repition of Transaction controllers inside
> same iteration, some thing like  below.
>
> User 1 Iteration 1 :Search TC,Search TC, ViewItem TC, CreateItem TC,
> ViewItem TC, Search TC
>
> so at the end of the test each transaction controller has been executed in
> various ratios but repeat in a random manner. Is this possible?
>
> Please share  your valuable idea on this
>
> Thanks and regards
> Pubudu
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message