I have created a script to run performance test and export the results to HTML which works just fine. After I got that done I wanted to load a baseline file when executing the script so that when the results were exported there would be a comparison in the report. I don't know if there is something that I am doing incorrectly, but I cannot seem to get this to work. Below is the script and the .bat file that runs it. Can someone please help with this?
Script:
# This command suppresses all warnings from the application.
SUPPRESSWARNINGS ON
# Other Pre commands that need to be set.
SET3DMAX
SETDISK "C:"
# This sets the time for testing in seconds for each test.
SETDURATION 30
# This is the command to launch all the CPU tests that will be run
SETPCPUTESTPROCESSES 5
RUN CPU_ALL
# This is the command to launch 2d testing
RUN G2D_ALL
# Command for 3d Graphics testing
# RUN G3D_ALL
#Command for testing Memory
RUN ME_ALL
# This is Command sets the for disk testing and then tests.
RUN DI_ALL
# The CD test is to be left commented out unless we are asked to test this.
# RUN CD_ALL
#This command is to export the results to a file.
EXPORTHTML "C:\Aerlig\ClientCARE\Reports\PT Daily\Daily.html"
# This command exits the application after the testing.
EXIT
Batch File:
cd c:\Aerlig\ClientCARE\Applications\PerformanceTest
pt.exe "C:\Aerlig\ClientCARE\Reports\Baseline\Initial Baseline.pt" /s pt-daily.pts /
I need to get this done quickly so any help would be great. Thanks in advance.
Ryan
Script:
# This command suppresses all warnings from the application.
SUPPRESSWARNINGS ON
# Other Pre commands that need to be set.
SET3DMAX
SETDISK "C:"
# This sets the time for testing in seconds for each test.
SETDURATION 30
# This is the command to launch all the CPU tests that will be run
SETPCPUTESTPROCESSES 5
RUN CPU_ALL
# This is the command to launch 2d testing
RUN G2D_ALL
# Command for 3d Graphics testing
# RUN G3D_ALL
#Command for testing Memory
RUN ME_ALL
# This is Command sets the for disk testing and then tests.
RUN DI_ALL
# The CD test is to be left commented out unless we are asked to test this.
# RUN CD_ALL
#This command is to export the results to a file.
EXPORTHTML "C:\Aerlig\ClientCARE\Reports\PT Daily\Daily.html"
# This command exits the application after the testing.
EXIT
Batch File:
cd c:\Aerlig\ClientCARE\Applications\PerformanceTest
pt.exe "C:\Aerlig\ClientCARE\Reports\Baseline\Initial Baseline.pt" /s pt-daily.pts /
I need to get this done quickly so any help would be great. Thanks in advance.
Ryan
Comment