apache - Where can I pass the value of percentage of request on each http request in jmeter? -


i testing load in jmeter. have 8-10 page requests execute. want provide percentage/number of request in page , page having difference number of request.

eg.

  1. home page should have 30% of request

  2. details page should have 10% of request

....

how can using jmeter ? please advice me.

if have 10 pages tested inside single thread group, , have percentage of requests sent pages such that:

home page 30% details page 10% ...

then may make multiple http requests same page inside thread group.

for example if have 2 pages home , details , want 75% requests on home , 25% detail, may make 3 http requests home , 1 details page inside thread group.

edit: may structure suitable scenario:

+ thread group  |+ loop controller  |-+ if controller (random value < 90)  |--+ sampler1  |--+ sampler2  |--+ ...  |-+ if controller (random value >= 90)  |--+ sampler10  |--+ ...  

or this

+ thread group  |+ loop controller  |-+ sampler1  |-+ sampler2  |-+ ...  |-+ throughput controller (e.g. 90 per minute)  + thread group  |+ loop controller  |-+ sampler10  |-+ sampler11  |-+ ...  --+ throughput controller (e.g. 10 per minute)  

i found these here: here


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -