PeterKlim
12 years agoContributor
Simple vs Fixed Strategy
I've read the difference at the website but it is very confusing for me and my team.
I have a load test where the test case has 40 threads (users) sharing 400 XMLslocated in one directory. Each XML is used to submit a request. I have Limit = 1 Run Per Thread.
Here is what I THINK the Strategy does.
SIMPLE:
When starting the Load test run, each of the 40 users start at the same time. Each does 1 request. Only after all 40 request return a response will each of the 40 users submits another respononse - this gets repeated until all 400 XMLs get submited.
If I have the limit set to more than 1 Run Per Thread, the 2nd Run will start after all 400 XMLs responses return. The 2nd run will repeat everything in the 1st run.
The Test Delay is the delay between each Run.
FIXED-RATE:
I have no idea other than knowing that it will not wait for the request to come back before submitting again. But where is this "wait" they are talking about? Is it the wait between the "Runs per Thread" or the wait between each of the 40 threads submiting within the 400 XMLS (between the 1st 40 XMLs and 41-80 and 81-120 and so on)?
And what is the "Rate" edit field for? If I set it to 10, does that mean only 10 requests are being submitted per second? Or only 10 Threads at a time (users) per second?
If I do not use the "Request level" checkbox, what happens? The website state it is on th erequest level, not the test case level - what is the difference?
It would really help out if the online user's guide gave good solid examples what happends when just one variable at at time is changed. It explains things but with little to no examples.
I have a load test where the test case has 40 threads (users) sharing 400 XMLslocated in one directory. Each XML is used to submit a request. I have Limit = 1 Run Per Thread.
Here is what I THINK the Strategy does.
SIMPLE:
When starting the Load test run, each of the 40 users start at the same time. Each does 1 request. Only after all 40 request return a response will each of the 40 users submits another respononse - this gets repeated until all 400 XMLs get submited.
If I have the limit set to more than 1 Run Per Thread, the 2nd Run will start after all 400 XMLs responses return. The 2nd run will repeat everything in the 1st run.
The Test Delay is the delay between each Run.
FIXED-RATE:
I have no idea other than knowing that it will not wait for the request to come back before submitting again. But where is this "wait" they are talking about? Is it the wait between the "Runs per Thread" or the wait between each of the 40 threads submiting within the 400 XMLS (between the 1st 40 XMLs and 41-80 and 81-120 and so on)?
And what is the "Rate" edit field for? If I set it to 10, does that mean only 10 requests are being submitted per second? Or only 10 Threads at a time (users) per second?
If I do not use the "Request level" checkbox, what happens? The website state it is on th erequest level, not the test case level - what is the difference?
It would really help out if the online user's guide gave good solid examples what happends when just one variable at at time is changed. It explains things but with little to no examples.