Creating a single test by using MEP
You can create a single test from a Message Exchange Pattern (MEP) in HCL OneTest™ API from the Test Factory view. An operations MEP defines the pattern, schema, and binding for messages that are exchanged by the operation. You can create a test that adheres to the rules defined in the MEP.
Before you begin
You must have completed the following tasks:
- Defined a service component and an operation under a service component. See Creating a service component and Creating an operation.
- Edited the operation for the MEP settings. See Editing an operation.
- Opened the project in the Test Factory view.
Procedure
- Select the operation or folder in which you want to create the test.
-
Perform any of the following actions:
- Right-click the operation or folder and select from the menu.
- Click the arrow next to the Test icon in the Test Factory toolbar and select Test.
Note: If you created a test already, you can right-click the Tests folder or one of the existing tests, and then select . -
Provide a name for the new test when prompted, and then click OK.