The config page allows simple testing of services and service collections against a registered adapter.

Testing service

To test any services in the config page you have to click on The test service button.

This will open a modal that let you select the adapter you want to test the service against, add a message metadata and payload.

The test service modal

Once all the data have been provided you can click on the send button and a response message will be displayed.

The test service modal with a message sent

The download button The test service message download button in the service testing modal allows a user to download the current message to be able to re-use it later.

The upload button The test service message upload button allows to quickly use a message which have been saved before to test a service.

Testing service in the settings modal

To make it easier to test a service while configuring it, you can also test a service using the settings modal side bar by clicking on the question mark button Open side bar button.

Then by selecting ‘Test Component’.

The side bar test service

You will have to select ‘In Message’ to enter data to send and ‘Out Message’ to see the response message.

The side bar test service with a message sent

You can select the adapter you want to test the service against by selecting ‘Test Parameters’.

You can also select some variable sets if you want to test the service with variable replacement.

The test service select adapter

The rest will work the same way as the test service modal.

Testing service collections

To test a service collection you also have to click on The test service button but on a service collection.

The displayed modal is a bit different and shows the list of nested services.

The test service modal

Clicking on the send button will test step by step all the nested services instead of testing the full service collection at once.

Clicking on a service component will start (or fast forward) the testing from that service. All the services before that will not be ran.

The rest will work the same way as the test service modal.

You can also use the download button The test service message download button to download the current message to be able to re-use it later.

And the upload button The test service message upload button to quickly use a message which have been saved before to test a service collection.

You can test a service collection and step through each service and verify it’s output, as seen in this video:

Tags: ui