Adding a Start/Stop Test

To add a Start/Stop test select Start Bridge Service or Stop Bridge Service from the list of tests actions (see Creating Additional Tests).

Specify the Preferences of the Test Action

Specify the preferences of the test action. The preferences on the General and Compare tabs are adjusted accordingly. For more information on the test preferences refer to Modifying the Test Preferences.

create_start_test.png
create_stop_test.png

Field

Description

Service Type

Select a service type from the list. You can start and stop

  • xUML services

  • Java services

  • Node.js services

Service

Specify the name of the Bridge service you want to start or stop.

Name

Specify the name of the test. As a default, "Start <name of the service>" is suggested.

Host

Specify the host, the service has been deployed to.

Port

Specify the port of the Bridge.

Username / Password

Specify a valid username and password to access the Bridge.

Timeout

Only for Stop tests: Specify a timeout in seconds for this test action.
Default: none (-1), which means no divergent timeout applied. The standard timeout of the Bridge will be applied (which is 10s).

Specifying a timeout can be helpful for stopping services that rely on backend systems. This may make stopping such a service take longer than usual.

preferences_of_start_service_action.png
preferences_of_stop_service_action.png

In the test case preferences you can additionally change the Bridge node the test will be run against and path the start/stop log will be written to.

Field

Description

Nodename

Specify the name of the node instance the service has been deployed to.

Logfile

Specify name and path of the start log the Bridge will write on starting the service. This logfile will be compared to a reference log.

Prepare the Reference Data

📗