Creating DevOps Test Integrations and APIs 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 DevOps Test Integrations and APIs (Test Integrations and APIs). 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 Test Integrations and APIs SIBus mediation. You create these destinations in IBM® WebSphere® Application Server.
Procedure
- Open the Integrated Solutions Console of WebSphere® Application Server.
- Click , and then click a bus to open it.
- Under Destination Resources, click Destinations, and then click New.
- Select Topic space and click Next.
-
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 Test Integrations and APIs.
-
Create a queue by completing the following tasks:
- Click .
- Click a bus to open it.
- Under Destination Resources, click Destinations, and then click New.
- In Create new destination, select Queue and click Next.
-
Name the queue greenhat.reply.intercept, click
Next, and then click
Finish.
Note: This queue must be mediated with the Test Integrations and APIs SIBus mediation.
Results
You can now record and reroute messages that are sent to mediated destinations.