Services

Overview

The Services module manages the individual units of a Scenario.

To access the Services module, navigate to Administration > Services.

Create a service

The following are the different ways to create a new service:

  • In the External Systems view, if your system has no environments configured, click on the card view or on the 0 service column value in the list view. This option will automatically connect the service to your selected external system.
  • In Administration > Services, click Create. This option will have a Select External System dropdown list that requires you to select an existing external system.
Field Description
Select External System

Name of the external system that will use the service.

When creating a service from an external system, this field is automatically populated with the initially selected external system. Otherwise, a dropdown list of all available external systems is displayed.


Mandatory: Yes

Load Services

Allows you to load an existing Inbound Web Service. For more information, see Load an existing Inbound Web Service.

Mandatory: No

Service Name

Name of the service.

Mandatory: Yes

Service Description

Description of the service.

Mandatory: Yes

Service Type

Specifies the type of service. The following are the possible values:

  • API
  • Batch
  • UI
  • SFTP

When creating a UI service type, additional configurations are displayed. See UI service type.


Mandatory: Yes

Service Method

If you chose API service type, this additional configuration is displayed.

Specifies the action to be performed by the external system to your server. The following are the possible values:

  • POST
  • DELETE
  • GET
  • PATCH
  • PUT


Mandatory: Yes

Service URL

URL of the API.

Mandatory: Yes

Payload Details

Specified the payload details of the service. You can choose between the following formats:

  • Form Data — allows you to define key-value pairs.
  • JSON — allows you to define the template of the request and response bodies.

Ensure that you have verified the JSON script in Postman before adding it to your Test Assistant configuration. See Verify JSON script in Postman.

Mandatory: No

Load an existing Inbound Web Service

If you want to test an Inbound Web Service, you can use an existing service that is already associated with an external system. To load an existing service, follow these steps:

  1. In the Administration > Services, click Create.
  1. Click on the Select External System dropdown list.
  1. Select your external system. After selecting an external system, the Load Services button will be enabled.
  1. Enter your API URL.
  2. Click Load Services.
  1. On clicking the Load Services button, a Swagger Services popup window will appear listing all the available services, click to download your needed system service.
  2. After selecting the service, the Basic Details and Payload Details tabs are automatically filled out. Verify that this is all the information that you need.
  3. Enter a description for your service in the Service Description text field.
  4. Click Save.

UI service type

When you chose UI service type, the following additional configuration tabs are displayed. The configurations can also be downloaded by clicking the on the Payload Details header.

Configuration tab Description
Screenshot Capture Specifies the commands in which, when performed, a screenshot is automatically captured.
Selected Commands

Specifies the commands you want to add in the Request Body.

All selected click commands will be added as a Data set for UI test executions.

Upload File Uploads the file you wish to use for the UI service type.

Views

Card view

The card view presents all Services in the form of cards.

Card ElementDescription
Service CodeCode of the service that is displayed on the card header.

When clicked, the service details are displayed.
Service NameName of the service.

When clicked, the service details are displayed.
External System NameName of the external system configured for the service.

When clicked, the external system details are displayed.
Service TypeType of the service.

When clicked, the service details are displayed.
Service MethodHTTP method to be used by the service.
Template icon that displayed the template for request and response bodies when clicked.
Delete icon that allows you to delete the selected service.

List view

The list view displays all services in a tabular format.

Column NameDescription
MethodIndicates the HTTP method configured for the service.

When clicked, the service details are displayed.
Name

Name and type of the service.

The colored dots before the service name indicate the type.

When clicked, the service details are displayed.

DescriptionDescription of the service.

When clicked, the service details are displayed.
External SystemCode of the external system configured in the service.

When clicked, the external system details are displayed.
URLService URL where the HTTP method will be executed.

When clicked, the service details are displayed.
Templates

Displays a template icon.

When clicked, the template for the request and response bodies is displayed.

ActionsDisplays that allows you to delete the selected service.

Filter

The following filters are available on both card and list views:

  • Filter by Service Name — allows you to filter the list of services by providing a keyword or the full name of the service. Only the services that match the provided keyword or name will be displayed in the view.
  • Filter By External System Name — allows you to filter the list of services with the associated external system by providing a keyword or the full name of the external system. Click on the to open the Filter Criteria for External System Name. Only the service with a configured external system that matches the provided keyword or name will be displayed in the view.