IBM Support

How tolaunch IBM Rational Performance Tester from command line

Question & Answer


Question

How can you launch IBM Rational Performance Tester from a command line both on Microsoft Windows and Linux.

Answer

In order to launch Rational Performance Tester from command line, you must run the following command from the Rational Performance Tester Install directory/SDP directory:


eclipse.exe -product com.ibm.rational.rpt.product.ide

Failure to give the argument shown in the above command to eclipse.exe will launch pure Eclipse shell and will not load Rational Performance Tester perspective.

An alternative method of playback is to use RPT’s command line interface. This form of playback is provided using the cmdline.bat (Windows) or cmdline.sh (UNIX) script. Look for these scripts within your RPT installation.

You must change to the directory where the scripts reside. To get to the default location under Windows, you would issue the following two commands:
cd c:\program files\ibm\sdp70shared\plugins
cd com.ibm.rational.test.lt.cmdlineexecute_7.*

Run the cmdline.bat command to display the options for using command line, for example:
cmdline -eclipsehome "c:\program files\ibm\sdp70"
-plugins "c:\program files\ibm\sdp70shared\plugins"
-workspace d:\test-workspace -project testproj -schedule Schtest154

Executing from the command line causes RPT to perform the playback as when launched from the user interface. Results are stored in the workspace and can be viewed using the RPT user interface. There is no monitor or control available when executing a schedule using the command line interface.

Note: The path used in above example is version 7.x of RPT; your path may differ based on the installed version of the product.

[{"Product":{"code":"SSMMM5","label":"IBM Rational Performance Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.1;7.0.1.1;7.0.1.2;7.0.2;7.0.2.1;7.0.2.2;7.0.2.3;8.0;8.0.0.1;8.0.0.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21381013