How to Run a Basic PTL Test
To run PTL, PBS needs to be running. To run a basic PTL test, you run the pbs_benchpress command from the directory where the test file resides: orStart PBS
/etc/init.d/pbs start
systemctl start pbs
Change Directory to Location of Test File
cd pbspro/test/tests/
Run Your Tests Using pbs_benchpress
pbs_benchpress -t <TestsuiteName>.<test_TestCase1> -o ptl_test1.txt
pbs_benchpress -t <TestsuiteName> -o ptl_output.txt
pbs_benchpress -t <TestsuiteName>.<test_TestCase2> -o ptl_test2.txt -l <log level> -p "servers=M1,moms=M1:M2"
Examples of Running Tests
pbs_benchpress -f pbspro/test/tests/pbs_smoketest.py -o ptl_output.txt # Using test file name
pbs_benchpress -t SmokeTest -o ptl_output.txt