HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Using recorded think times without a "HTML primary request"? Messages in this topic - RSS

John Davidson
John Davidson
Posts: 1


7/6/2011
John Davidson
John Davidson
Posts: 1
I've got a test case generated from a series of HTTP GET requests to a Web service endpoint captured by Fiddler. No HTML pages involved whatsoever. The capture does include recorded think times between service requests but the think times are irregular (i.e., the duration of pauses/think-times between requests varies from one request to another and not all requests have think times). How do I get StresStimulus to use the actual recorded think times for the captured HTTP GET service requests without a "HTML primary request"?
0 link
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583


7/6/2011
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583
Hi John,
Primary request is an HTML page request triggered by users’ action, such as a mouse click, as determined by StresStimulus. When you create a test case, StresStimulus determines the recorded think time that is a user’s delay before requesting subsequent page. When test case is being replayed, StresStimulus injects a wait time delay prior to issuing the subsequent primary request. Once the primary response is received, StresStimulus replays dependent requests (resources) as fast as possible (in parallel) while complying with simulated performance constrains of a selected browser and network type. 

It looks like in your case since you are testing web service there is no need for dependent requests, and all requests should be primary. This will enable maintaining think time for each request individually. This however means that all of the request for a single VU will be issued sequentially and not in parallel.

Select “Show Test Case Requests –All”.
 


Then select all sessions in Fiddler, right-mouse-click and click “Mark Selected Sessions as Primary”.
 

 
After that StresStimulus will use the actual recorded think times for the captured HTTP GET service requests. You can verify and adjust think times for every request in Test Case -> Page Settings grid.
 
Cheers,
-Vadim
 
 
0 link






Copyright © 2024 Stimulus Technology