The standalone version uses the following command line interface (CLI):

     

    StresStimulus.Application.EXE [/ssload | /ss | /noui] <config> [/ssclose] [/report <reportDir> [single]] [/run-profile] <test-profile-name> [/run-name] <test-run-name> [/run-description] <test-run-description>

    where:

    /ssload Load the test from the <config> file.
    /ss Run the test from the <config> file.
    /noui Run the test from the <config> file in no GUI mode.

    <config> is a StresStimulus test configuration file. Specify a full path or the default directory %My Documents%/Fiddler/StresStimulus will be used.

    /ssclose Close StresStimulus when test completes. Only with /ss flag.
    /report Create an report when the test completes. Only with /ss or /noui flag.
    <reportDir> The directory to save the external report. If this value is not set or the directory does not exist then use the test directory. Only with /report flag
    single Create a single-page report. If not set then create multi-page report. Only with /report flag.

     

    /run-profile The profile name specified by the <test-profile-name> to be used for running the load test. (This flag is not supported for distributed tests using load agents)

    /run-name The test run name specified by the <test-run-name> argument that will go on the report.

    /run-description The test run description specified by the <test-run-description> argument that will go on the report.


    Exit code: The process will return the exit code 1 if the test failed the test quality criteria.

    No-UI mode

    When running in no UI mode, StresStimulus will execute the test as a console application.

    The test progress will be reported in the console as follows:

    Examples:

    StresStimulus.Application.EXE /ssload "My Test.ssconifg"

    Opens StresStimulus and loads the test located in %My Documents%/Fiddler/StresStimulus/My Test.ssconifg

     

    %ProgramFiles(x86)%\StresStimulus\StresStimulus.Application.EXE /ss "c:\Tests\My Test.ssconifg" /ssclose

    Opens StresStimulus and begins running the test located in c:\Tests\My Test.ssconifg after the test is over StresStimulus will close 

     

    "C:\Program Files (x86)\StresStimulus\StresStimulus.Application.EXE" /ss "c:\Tests\My Test.ssconifg" /report "c:\external_reports"

    Opens StresStimulus and begins running the test located in c:\Tests\My Test.ssconifg after the test is over StresStimulus create an external report and save it in c:\external_reports folder

     

    %ProgramFiles(x86)%\StresStimulus\StresStimulus.Application.EXE /noui "c:\Tests\My Test.ssconifg"

    Runs the test located in c:\Tests\My Test.ssconifg in command line mode.

    • No labels