Creating a compound test
You can create compound tests to organize smaller tests into scenarios so that you can run these tests simultaneously or sequentially. You can also combine tests from different extensions to achieve the entire process and to speed up and minimize the test effort.
Before you begin
You must have created or recorded multiple tests.
Procedure
- Open the Performance Test perspective in HCL OneTest™ Performance, if it is not already open.
- Perform any of the following actions:
-
Go to File > New >
Compound test.
The New Compound Test window is displayed.
You must perform the following steps:- Click the Create the parent folder icon
.
The New Project page is displayed.
- Enter a name for the project in the project
name field.
The test is saved in the default workspace location.
Note: If you want, you can select a different location to save the project.Clear the Use default location option, and then click Browse to select a location to save the test.
- Click Next, and then select the types of assets you need in your project.
- Click Finish.
A new project is created.
- Enter a name for the test in the File name field.
- Click Finish.Note: The file extension testsuite is added to the file name and the compound test is created under the Compound Tests folder of the new project.
To add the individual tests to the compound tests, go to step 5.
- Click the Create the parent folder icon
.
-
Right click the project from the Test Navigator pane,
and then perform the following actions:
- Go to New > Compound
test.
The New Compound Test pane is displayed.
- Enter a file name for the test, and then click
Finish.Note: The file extension testsuite is added to the file name and the compound test is created under the Compound Tests folder of the selected project.
To add individual tests to the Compound Tests folder, go to step 5.
- Go to New > Compound
test.
-
Click Add, in the Compound Test
window, and then click Test.
The Select Tests dialog is displayed with all the projects in the workspace.
-
Select the required tests, and then click OK.
The tests are added to the compound test.
- Go to File > Save to save the compound test.
Results
You have created a compound test that contains multiple tests.
What to do next
You can run the compound test. See Running compound tests.