How to use Postman to send and receive HTTP requests to/from your BusinessEvents applications
book
Article ID: KB0072526
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
6.x
Description
This article describes how to use Postman to send and receive HTTP requests to/from your BusinessEvents applications. Postman is a useful troubleshooting tool in cases where you see unexpected behavior relating to the HTTP Channel.
Issue/Introduction
Describes how to use Postman to send and receive HTTP requests to/from your BusinessEvents applications. This is useful for troubleshooting unexpected behavior.
Resolution
Note: The screen captures shown below are based on the HTTPChannel example project that comes with your BusinessEvents installation (under $BE_HOME/examples/standard/HTTPChannel/). This example will start a local HTTP channel listening on port 8110 by default.
After launching Postman, click on the plus (+) button to open a new request tab:
In the new tab, you may enter the request URL:
Then in the 'Query Params' section, enter key/value pairs for the PostEmpl event. Note that the request URL is automatically updated as you enter the key/value pairs:
Next, click the 'Send' button to send the request.
Now change the request type in Postman from POST to GET, and send the request to generate the GetEmplInfo event. The response is shown below the 'Query Params' section (as outlined in red below):
Refer to the Postman documentation for more details on how to leverage this tool for troubleshooting purposes.