Testing in TIBCO Business Studio for BusinessWorks
Before you begin
- Your computer must be connected to the Internet.
- Setup Prometheus to monitor events and Grafana dashboard provided by Resilience4j for visualization.
- Procedure
- From the
File Explorer, navigate to the samples directory and select
and double-click
tibco.bwce.sample.core.Resilience4j. - From the
Project Explorer expand the
tibco.bwce.sample.core.Resilience4jproject. - Expand the Processes folder and double-click HTTP_Request_Response_Example.bwp.
- Click .
- At the left hand tree of Debug Configuration wizard, expand BusinessWorks Application and select BWApplication.
- 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.core.Resilience4j.application.
- Click
Debug.
This will run the sample in the debug mode.
- Open the
request_news.htmlfile found in folder. - Click the Get News from Wiki! button to request headlines from the associated web page.
ResultThe Wiki web page displays in your default browser. The message
Response sent successfully!! will print on the
TIBCO Business Studio for BusinessWorks console.
In order to view resilience4j metrics, you will need a resilience4j stream URL which will be as follow:
http://<Route URL>/resilience4j_metrics
You can see the Grafana dashboard locally and the command name given will be displayed as shown below.
