The wr.exe executable can be used to launch test scripts and projects in console mode (from the command line). To launch a test project enter:
wr.exe projectname.wpj
To launch a single test script enter:
wr.exe testscriptname.tst [-option=value,., , ]
[Options] can be set if the $gvar function is used within the test script.
Example:
The server parameter in the test script testscript.tst is set as follows:
Server=$gvar(server, myserver)
If we launch the script this way:
wr.exe testscript.tst
the requests will be sent to myserver. But if we launch the script as:
wr.exe testscript.tst -server=testserver
then the requests will be sent to testserver.