Starting and Stopping the xUML Service

To automatize testing of Bridge services you need at least two more test actions: one to start the service and one to stop the service.

Select Create Test from the context menu of the test suite you want to add the additional test action to (PurchaseOrderExample):

create_test.png

Select Start Bridge Service and click OK:

select_test_action.png

Specify the preferences of the start service test action. Select a service name from the list (PurchaseOrderExample), provide host and port and Bridge credentials:

start_test_preferences.png

Keep Create also a Stop Test for the selected service checked to automatically create a corresponding stop test. The wizard displays the test properties of the new start test. Click OK:

preferences_of_start_PurchaseOrderExample.png

If you kept Create also a Stop Test for the selected service checked, the wizard also displays the properties of the corresponding stop test. The newly created test action will be added at the top of the test suite:

test_action_added.png

You can now drag the test actions to the correct place in the test suite (e.g. stopping a service should be placed at the end of the test suite).

Prepare the Reference Data

📗