Testing in TIBCO Business Studio for BusinessWorks
Before you begin
- Access to a local Consul or Eureka server URL used for Service Registration and Discovery.
- A web browser.
- Procedure
- From the
File Explorer, navigate to the samples directory and select
tibco.bwce.sample.core.servicediscovery.Service
. and double-click - From the
File Explorer, navigate to the samples directory and select
tibco.bwce.sample.core.servicediscovery.Client
. and double-click - From the
Project Explorer expand the
tibco.bwce.sample.core.servicediscovery.Service.application
project. - Expand the Package Unit folder and double-click Properties.
- Set the Application Profile to Local. For more information, see Setting the Default Application Profile.
- From the
Project Explorer expand the
tibco.bwce.sample.core.servicediscovery.Client.application
project. - Expand the Package Unit folder and double-click Properties.
- Set the Application Profile to Local. For more information see Setting the Default Application Profile.
- Click to save the project.
- Expand the Processes folder and the com.tibco.sample.servicediscovery.client package within that folder.
- Click .
- At the left hand tree of Debug Configuration wizard, expand BusinessWorks Application and select BWApplication.
- Select the Environment tab to add an environment variable.
- Click the Applications tab and then click the Deselect All button if you have multiple applications.
- Select the check boxes next to tibco.bwce.sample.core.servicediscovery.Service and tibco.bwce.sample.core.servicediscovery.Client.
- Click
Debug.
The sample now runs in the debug mode.
- Trigger the application by accessing:
http://<hostname>:8080
- Click the
Terminate
icon to stop the process.
ResultThe console window shows messages similar to:
17:35:39.320 INFO [bwEngThread:In-Memory Process Worker-2] c.t.b.p.g.L.t.b.s.S.Hystrix.Log - "Hello from TIBCO"