Skip to main content Skip to complementary content

Creating the test case


  1. Select the cConvertBodyTo and cSetbody component in the Route. Right-click any of the selected components and select Create Test Case from the contextual menu.
    Create Test Case option in the contextual menu.
  2. The Create Route Test Case wizard opens. Enter a name for the test case in the Name field, and the purpose and description in the corresponding fields. Click Next.
    Create Route Test Case wizard.
  3. The Define Test Skeleton details view of the wizard opens, select the options as shown below to use a cDataset as the message producer, and a cMock to check the result. Click Finish.
    Create Route Test Case wizard.
  4. The test case is then created and opened in the design workspace. Now it looks like:
    Test case in the design workspace.
  5. Add a cMock, cConfig and a cProcessor to the Route by typing the name of the component directly in the design workspace.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!