The following options let you control the sessions during testing
Loads a previous session as the baseline session against which the recorded session is compared for regressions or improvements.
Examples:
-baseline c:\baseline\testMacro1.tvm
-baseline "c:\base line\testMacro1.tvm"
Ensure your session manager is configured to hold at least 2 sessions or use -numSessions to specify how many sessions to use.
Sets the number of sessions that can be loaded at once.
This is equivalent to the same setting in the session manage and can't be less than 1.
Example:
-numSessions 2
Saves the session data when all data has finished being collecting from the target program.
Thread Validator 32 and 64 bit use the file extension .tvm and .tvm_64 respectively.
A missing or incorrect filename extension will be corrected automatically
Examples:
-saveSession c:\results\testMacro1.tvm
-saveSession "c:\test results\testMacro1.tvm_x64"
-saveSession c:\results\testMacro1
-sessionLoad loads a previously created session to be merged with the data from the session being recorded.
These options might be used when a series of tests have already been performed and their sessions saved.
Thread Validator 32 and 64 bit use the file extension .tvm and .tvm_64 respectively.
A missing or incorrect filename extension will be corrected automatically
Examples:
-sessionLoad c:\results\testMacro1.tvm
-sessionLoad "c:\test results\testMacro1.tvm"
-sessionLoad c:\results\testMacro1
Ensure your session manager is configured to hold at least 2 or 3 sessions or use -numSessions to specify how many sessions to use.
-sessionCompareHTML
-sessionCompareXML
Compare two sessions, producing an HTML or XML report detailing any regression and improvements.
The report is produced using the XML Export tags described in the Exporting Sessions section..
The two sessions can be loaded using one of these options:
-baseline and -sessionLoad
-baseline and running a program using one of -program, -injectName, -injectID, or -waitName
Examples:
-sessionCompareXML c:\regtests\testMacro1.xml
-sessionCompareHTML "c:\reg tests\testMacro1.html"
Ensure your session manager is configured to hold at least 2 sessions or use -numSessions to specify how many sessions to use.