1
votes

Thread group properties: 1 thread, loop count forever. In recorded script there is run time controller, which has child Loop controller, which further has 4 child HTML pages.

When test is executed, it executes all HTML pages in order which are outside runtime controller, and the pages inside it are executed one by one eg. 1.html, then in next loop it will skip 1,3,4 and execute 2, in next iteration it will execute 3 an skip rest. Why is this happening?

2
can you add your test plan image (screenshot), please?Dan Brandt
Sorry, can't upload screenshots, this is against firms policies.bg Fan
see my answer, hope this helps youDan Brandt

2 Answers

0
votes

@bg Fan, i've reproduced your words (say, if wrong) and now i have this test behaviour:

enter image description here This correlates with documentation

If you add Generative or Logic Controllers to a Loop Controller, JMeter will loop through them a certain number of times, in addition to the loop value you specified for the Thread Group. For example, if you add one HTTP Request to a Loop Controller with a loop count of two, and configure the Thread Group loop count to three, JMeter will send a total of 2 * 3 = 6 HTTP Requests.

Can i help you with anything else?

0
votes

Got it, @bg Fan -- test continues running (though loops count are ended) -- because of parameter Runtime (seconds) in Runtime Controller. If you need its several time execution (so if test duration measures by execution counts,not by time in sec., etc.) -- not place all requests in parent Runtime Controller, disable/delete it. Worked for me.