Testing in TIBCO Business Studio™ Container Edition

Prerequisites

  • Your computer must be connected to the Internet.
  • The Hystrix Dashboard must be set up locally in your environment.

Procedure

  1. From the File Explorer, navigate to the samples > Container > docker > core > Hystrix folder and then double-click tibco.bwce.sample.core.Hystrix.
  2. From the Project Explorer expand the tibco.bwce.sample.core.Hystrix project.
  3. Expand the Processes folder and double-click HTTP_Request_Response_Example.bwp.
  4. Click Run > Debug Configurations.
  5. From the Debug Configuration wizard, expand BusinessWorks Application and select BWApplication.
  6. Click the Applications tab and then click the Deselect All button if you have multiple applications. Select the check box next to tibco.bwce.sample.palette.http.RequestResponse.application.
  7. Click Debug.
    The sample now runs in the debug mode.
  8. Open the request_news.html file found in samples > docker > core > Hystrix.
  9. Click the Get News from Wiki! button to request headlines from the associated web page.

Result

The console window shows engine messages similar to: The Wiki web page displays in your default browser. The message Response sent successfully!! will print on the TIBCO Business Studio™ Container Edition console.

In order to configure the Hystrix dashboard, you will need a Hystrix stream URL such as:

http://localhost:8090/hystrix.stream

You can see the Hystrix dashboard locally and the specified command name will be displayed as shown below.