HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

StresStimulus script stops working after (ASP.NET) application restart Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 509


9/14/2013
Unregistered User
Unregistered User
Posts: 509
This question was originally posted in this thread
Scripts recorded using Fiddler (Version 4.4.5.3) and converted to StresStimulus script and it works fine until the application/web server is restarted.  After the application/web server is restarted. Previously recorded StresStimulus script does not work. How to resolve that?
0 link
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583


9/14/2013
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583
Emil,

I assume that you test ASP.net application, but the information below can be also helpful for other platforms, which change resource keys after a server reboot.

ASP.NET applications use dynamic resources, such as WebResource.axd and ScriptResource.axd. Resources' URLs include a key, which occasionally changes, particularly after the Web server reboot. You recorded your test case when the key value was <Key1>. When you execute Verify command before the key value was changed, StresStimulus treated <Key1> as a static value that does not require parameterization. So, StresStimulus did not create autocorrelation rule. When you run the test before the key was changed, replaying the recorded URLs  should return 200.

When you run the test after the key value changed to <Key2> you likely to receive 404 errors because the recorded URLs with <Key1> did not exist on the server.

To fix the issue you need to parameterize the key. After you start receiving 404, execute the Verify command again. You will see some errors or warnings. Run Parameter Finder. This time it should be able to detect missing extractor and corresponding parameters.  Check paragraph 1 in this post http://www.stresstimulus.com/blog/post/v2-8-update-part-1-auto-configurator-finder  
The latest 3.0 beta has an enhanced version of Parameter Finder.
 
Does this make sense?
Cheers,
-Vadim
0 link






Copyright © 2024 Stimulus Technology