To record a scenario from any web client other than a web browser, in Test Wizard, select Non-browser application as a recording source.

After the floating Recorder bar appears, StresStimulus is ready to capture client actions from a non-browser recording source such as Silverlight or Adobe AIR application, Windows Explorer, or for mobile apps. Navigate the tested application. When recording is finished, click Stop in the Recorder or in StresStimulus. A new test case will be created.

Unlike recording from a web browser where StresStimulus automates several service functions when recording from other sources, you are responsible for providing the following service functions manually.

  • Make sure that the test case is recorded from the beginning of the client session. All initial steps, including session initiation information and login, must be captured. Otherwise, the test case will be incomplete and will cause errors.
  • If your non-browser or mobile application uses client cache, make sure to clear it before recording. That is necessary to prevent the browser from using cached data, in which case, the test case will miss some HTTP sessions.
  • StresStimulus will capture sessions from all processes on the machine without filtering, including unrelated to the test case sessions. During recording, close all browsers and other unnecessary HTTP clients. After a recording is complete, delete all unrelated sessions from the test case.
  • If you are recording from a mobile device and wish to add transactions during recording, you must click the Start Transaction button to create transaction after typing the transaction name.


Process Filtering

When recording a non-browser application, StresStimulus will attempt to capture HTTP/S traffic from all applications running on the recording machine. That may lead to unnecessary requests added to the recorded test case.

One way to avoid this situation is to close all other applications during recording.

Another way is to enter the process name of the recorded application in the "Process name to filter" by textbox. StresStimulus will filter traffic from all processes that don't start with the given process name.

Note:

You may comma separate multiple process names.




  • No labels