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
tibco.bwce.sample.core.Resilience4j
. and double-click - From the
Project Explorer expand the
tibco.bwce.sample.core.Resilience4j
project. - 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 checkbox next to tibco.bwce.sample.core.Resilience4j.application.
- Click
Debug.
This runs the sample in the debug mode.
- Open the
request_news.html
file 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!!
is printed on the
TIBCO Business Studio for BusinessWorks console.
In order to view resilience4j metrics, you need a resilience4j stream URL which is as follows:
http://<Route URL>/resilience4j_metrics
You can see the Grafana dashboard locally and the command name given is displayed as shown below.