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:

Procedure

  1. Select the operation or folder in which you want to create the test.
  2. Perform any of the following actions:
    • Right-click the operation or folder and select New > Tests > Test from the menu.
    • Click the arrow next to the Test icon icon of 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 New > Test.
  3. Provide a name for the new test when prompted, and then click OK.

Results

You have created a test under an operation in the Test Factory view and the test includes the appropriate messaging actions as defined by the operations MEP.

What to do next

You can edit the test actions or other contents of the test, if required. See Changing the contents of a test.