While you configure a test using UI, StresStimulus generates a test script, representing the Test Object Model (TOM) in XML format. The script called StresStimulus Script can be further changed using the Script Editor.

StresStimulus UI and script editor provides the two ways of modifying test configurations. In most cases using UI is a preferred method because it does not require remembering XML collections and tags supported in StresStimulus script. However, in several situations using a script can be more advantageous. Here are several examples:

  • Creating a large number of objects, such as extractors or parameters, with similar but different properties can be easier using scripting. You can use text generation techniques and tools like Excel to create multiple similar script snippets containing different parameters. After that, such text can be pasted in the script editor and saved.
  • Determining differences between two test configurations, using UI to compare configuration properties in multiple application areas can be difficult. Finding differences by comparing two StresStimulus scripts is much easier.
  • Version control.

  • No labels