How to use Postman to send and receive HTTP requests to/from your BusinessEvents applications

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.

First, download and install Postman:

https://www.postman.com/downloads/

After launching Postman, click on the plus (+) button to open a new request tab:

postman open new tab

In the new tab, you may enter the request URL:

postman enter 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:

postman enter key/value

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):

postman get request

Refer to the Postman documentation for more details on how to leverage this tool for troubleshooting purposes.