Page History
Div | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
|
To add a Start/Stop test select Start E2E Bridge Service or Stop E2E Bridge Service from the list of tests actions (see Creating Additional Tests).
...
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.
Figure: Creating a Start Test Action | Figure: Creating a Stop Test Action |
Field | Description |
---|---|
Service Type | Select a service type from the list. You can start and stop |
|
|
| |
E2E 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. |
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. |
Figure: Start Test Action of PurchaseOrderExample
...
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. |
Multiexcerpt | ||
---|---|---|
| ||
Prepare the Reference DataAs this test has never been run before, there is no reference data to compare the test result to - e.g. the start or stop log in the screenshot below (the same applies to all other kinds of tests). So running this test will always give an error. Figure: Example - Start Bridge Service After First Run In the Compare Tool at the bottom of the Content pane you can see the reference data (blank) and the test output data (e.g. start log from the |
...
Bridge). Look at the test output data and on the |
...
Bridge. If the service started alright and the start log reads Figure: Test Output Data Taken as Reference Data Stop the service on the |
...
Bridge an re-run the test. It is green now. |