You can create a command-line config file from IBM® DevOps Test Performance (Test Performance) which you can use while running
tests or schedules from the Command-line interface (CLI) and Maven.
You must have completed the following tasks:
-
Created tests in Test Performance. See Recording HTTP tests.
-
Installed Maven if you are running tests from the Maven
build. For more information, refer to Apache Maven
Documentation.
You can create a command-line config file from Test Performance by right-clicking the test asset. The required parameters are
automatically assigned, and you can specify any optional parameters, while
creating the config file. You can use the config file to run the tests or
schedules from the command-line interface and Maven plug-in that is provided
with Test Performance.
-
Open Test Performance.
-
Browse and select the test or schedule from the Test
Navigator pane.
-
Right-click the selected test or schedule, and then click
Create command line config
file.
-
Enter a name for the new configuration file in the
File name field, and then
click Next.
-
Perform the following steps in the Command Line
Arguments window:
-
Select the format of the config file from the
following options:
- Regular – Select this
format to run tests or schedules from CLI.
- Maven – Select this
format to run tests or schedules from the Maven
build.
-
Specify the values in the
fields from the available configuration options,
if you want to add more parameters to the config
file.
-
Click Finish.
The Config file created dialog
displays with the location of the config file.
You have created the command line config file.
You can run the tests either from the Maven build or CLI. See Running a test or schedule from a command line or Testing with Maven.