Creating HCL OneTest API destinations for recording and virtualization

You must create specific destinations that are used to record and to intercept messages to reroute to a stub.

About this task

You must create a topic space so that recorded and intercepted messages can be published to this topic and then be consumed by HCL OneTest API. You must then create a queue to be inserted in the reverse routing path of requests so that the response messages also pass through the mediation. The queue must be mediated with the HCL OneTest API SIBus mediation. You create these destinations in IBM® WebSphere® Application Server.

Procedure

  1. Open the Integrated Solutions Console of WebSphere® Application Server.
  2. Click Service integration > Buses, and then click a bus to open it.
  3. Under Destination Resources, click Destinations, and then click New.
  4. Select Topic space and click Next.
  5. In the Identifier field, name the topic space greenhat.topic.space, click Next, and then click Finish.

    Intercepted messages are published to this topic and then consumed by HCL OneTest API.

  6. Create a queue by completing the following tasks:
    1. Click Service integration > Buses.
    2. Click a bus to open it.
    3. Under Destination Resources, click Destinations, and then click New.
  7. In Create new destination, select Queue and click Next.
  8. Name the queue greenhat.reply.intercept, click Next, and then click Finish.
    Note: This queue must be mediated with the HCL OneTest API SIBus mediation.

Results

You can now record and reroute messages that are sent to mediated destinations.