Test projects

The syntax of a test project (.WPJ file) is similar to that of .INI files - it consists of sections (section names in square brackets). General syntax of settings used in the file is <name>=<value>, with section names in square brackets. You can start a line with a semicolon character to write comments or to temporarily disable some lines. Empty lines are ignored and can be used for formatting.

Each test project should contain:

Use the the following format for script runs:

Full_Path_to _TST_File|"parameter_1=value_1","parameter_2=value_2", . . . "parameter_N=value_N"

To set a fixed value of the parameter for the current execution, specify a static textual or numeric value_X.

To make a test script run multiple times with a numeric parameter cycling from start_value to end_value with the specified step, declare a Range in the format [start_value..end_value:step]. If the step value is 1, the colon (:) and step can be omitted.

Examples:


[Scripts]
c:\tests\webroller\current\lasttest.tst
[Runoptions]
c:\tests\webroller\current\lasttest.tst|"clients=20","requests=50"

This will override the original .TST values for clients and requests, setting them respectively to 20 and 50.


[Scripts]
c:\tests\webroller\current\lasttest.tst
[Runoptions]
c:\tests\webroller\current\lasttest.tst|"clients=[10..50:10]"

This will override the original .TST value for clients and run the script 5 times, setting clients sequentially to 10, 20, 30, 40 and 50.


[Scripts]
c:\tests\webroller\current\lasttest.tst
[Runoptions]
c:\tests\webroller\current\lasttest.tst|"clients=[1..5]"

This will override the original .TST value for clients and run the script 5 times, setting clients sequentially to 1, 2, 3, 4 and 5.