Test Client overview
Use the Test Client to test message flows in a safe environment before they are used in a production system.
- IBM MQ
- JMS
- HTTP
- SOAP
- SCA
The Test Client monitors the output nodes in the message flow, and can provide information about the path that a test message takes through a message flow. The Test Client can also provide information about errors that are generated by the message flow.
Configuring the input message
Monitoring a flow with the Test Client
The Test Client monitors output nodes in the message flow so that you can see which nodes output messages are received on. When an error message is produced as the message passes along the flow, or when a message is received on an output node, a test event is recorded in the Test Client.
You can view the content of the output message, and view error messages. The details of the test configuration and the test events can be saved as a .mbtest file. You can use this file to repeat the test or to review the results later.
Deploying message flows when you use the Test Client
If you change your message flow, you can use the same test configuration to test the changes. The default behavior of the Test Client is to deploy the message flow that you want to test automatically to an integration server, whenever a change is made to the message flow. You can therefore change a message flow, and quickly test the result using the Test Client, without the need to manually deploy your message flows.
The first time that you send a test message to an input node, you configure the integration server to deploy the message flow by using the Deployment location wizard. You can configure the deployment options to override the default behavior of the Test Client to deploy the message flow manually, or to deploy the message flow every time that you pass a test message to the message flow.
Stopping the Test Client
Using The flow debugger with the Test Client
You can run the Test Client using the trace and debug mode to view more information about the path that the message takes through the message flow. A test event is produced when the message passes from one node to the next node in the message flow. The structure of the message is recorded as it leaves each node in the message flow. The flow debugger is launched in the trace and debug mode so that the test message stops at breakpoints that are configured in the message flow.
You can complete the following tasks by using the Test Client: