If you selected a browser as a recording source, the Test Wizard will display the Browser Recording Settings step. Enter initial URL and select a browser cache option.
- If Private Mode is selected (recommended), the private browsing mode will be enabled, in which browser cache is not used, so you don't need to clear it. Some web applications do not work in private browsing mode. In this case, select Normal mode. If you use any browser except Internet Explorer, make sure to clear cache (temporary Internet files and cookies) before recording. This is necessary to prevent the browser from using cached data, in which case, the proxy will not capture that traffic or empty 304 responses will be captured. Internet Explorer cache will be cleared automatically and selectively.
- Then enter the first transaction name (optional) and click Record to launch the web browser. If the browser is running, a message will prompt to close it first.
During recording, StresStimulus will take web page screenshots. When you review your test case, the screenshots are displayed as you select the session object on the test case tree in the request properties view. These screenshots can help you remember how the page looked like before a new click occurred. If you do not wish to take screenshots, un-check the Take screenshots of pages box.
If you use several monitors, then in order to successfully capture webpage screenshots, display the recording browser on the same monitor as StresStimulus. Otherwise screenshots may not come out correctly.
- Typically static resources such as images and style sheets have a very little impact on website performance. Therefore they are not recorded by default. Excluding static resources from performance testing allows to emulate a greater number of virtual users on the same hardware resources. If you wish to record static resources, check the Record static content box.
If at least one test case already exists in the Test, the following dialog will give a choice to either replace the current test case, or add a new test case.
After that the floating Recorder bar will appear. StresStimulus is ready to capture client actions from the recording source. Click through the application scenario that you want to test. StresStimulus will record all user actions.
During recording, the number of captured sessions is displayed in the recorder title bar. The list of captured sessions will appear in the StresStimulus session grid (in the standalone version) or in the Fiddler grid (in the add-on version). If the captured sessions counter in the Recorder does not increment, check Configuring Proxy.
To skip the recording of some pages, click Pause in the Recorder . To continue recording, click Resume .
When recording is finished, click Stop in the Recorder or in StresStimulus. If you record in the browser, it will be closed. A new test case will be created. StresStimulus will filter out unrelated requests from other browsers or non-browser processes and will create a test case.
Note: Filtering unrelated requests is based on checking initiated processes. Filtering may not work when security software installed on the test machine masks the initiated processes (e.g. Kaspersky security software marks all requests as issued by AVP process). To restore filtering, disable such security software.
Note: StresStimulus supports system proxy automatically. Some companies use a proxy that requires custom configuration. In this case, the recorder may not capture traffic by default. StresStimulus will display an error message recommending you modify your proxy settings if this occurs.