Recommend a feature for future StresStimulus versions.
Think time modification
Vadim @StresStimulus Administrator Posts: 583
6/22/2011
|
You are welcome.
|
|
0
link
|
Huong Nguyen Posts: 69
7/13/2011
|
Hi Vadim, I need some clarifications: Think time: time between 2 primary requests? or time between the last dependent request and this primary request? From your diagram on May 22, 2011 at 2:21pm, I assumed that the think time is injected once the last dependent request returned, correct? So, for example: Primary 1 - Dependent 1 - Dependent 2 - Dependent 3 Primary 2 - Dependent 4 - Dependent 5 - Dependent 6 Primary 2: Does it wait for Primary 1 response to finish or Dependent 3 response to finish before starting the think time? We expect this model:
- Primary 1 request/response
- Dependent 1.1 request/response
- Dependent 1.2 request/response
- Dependent 1.3 request/response
- Think Time 1
- Primary 2 request/response
- Dependent 2.1 request/response
- Dependent 2.2 request/response
- Dependent 2.3 request/response
- Think Time 2
- ...
Can you clarify? Thank you.
|
|
0
link
|
Vadim @StresStimulus Administrator Posts: 583
7/13/2011
|
Huong, Here are the answers:
Think time: time between 2 primary requests? or time between the last dependent request and this primary request?
The latter is correct. When the base page 1 does not have depended requests, the former is correct as well. More formally, the think time is a delay injected after the last dependent request of a based page 1 and before requesting the following base page 2 to reflect the user’s wait time. Think time is attributed to the base page 1.
From your diagram on May 22, 2011 at 2:21pm, I assumed that the think time is injected once the last dependent request returned, correct?
Correct.
Primary 2: Does it wait for Primary 1 response to finish or Dependent 3 response to finish before starting the think time?
While dependent requests are issued concurrently, no dependent requests will start until the primary is complete. This is to simulate browser behavior, where dependent requests are issued after parsing the received base page HTML. Therefore, for every VU, StresStimulus locks requests until the based response is received. Hence, the answer to your question is, Think time is injected after receiving the dependent 3 response and not otherwise, because dependent 3 cannot start a before primary 1 is complete.
We expect this model:.....
Yes, this is how it works, Cheers, Vadim
|
|
0
link
|
Huong Nguyen Posts: 69
7/13/2011
|
Great, thank you!
|
|
0
link
|
Vadim @StresStimulus Administrator Posts: 583
7/13/2011
|
You are quite welcome, Huong. You work re-e-e-ally long hours :-) -Vadim
|
|
0
link
|
Copyright © 2024 Stimulus Technology