16 Viewing Actions

Learn about viewing the details of all actions present in the action library for Oracle Communications Solution Test Automation Platform (STAP) UI.

Viewing Action Details

To view details of each action, navigate to Menu using the navigation panel from Dashboard. Select Actions.

The left pane displays a list of all actions present in the action library.

To filter actions by product, select it in the drop-down list under Products. To filter actions by type, select the action type in the drop-down list under ActionTypes, for example, REST, SOAP. To view details of an action, select it in the left pane.

Details

You can view the following under the Details section:

  • BDD: The behavioral driven development for this action.
  • Type: The type of action. For example, REST.
  • Method: The action method. For example, GET, PUT, POST, DELETE, PATCH.
  • Path: The path to the file containing the request for the action type.
  • Request Type: Refers to the type of request.
  • Request: The source of the request file. Only applies to PUT, PATCH, and POST requests.

    Note:

    These properties vary by plug-in type. If an action does not contain a particular field, it doesn't show under Details.

Request

You can view the request body of the action under Request. The following is an example of a request body:
               {
    "type": "DEFAULT",
    "name": "subscriber name",
    "region": "default region",
    "category": "default category",
    "offer": "default offer",
    "paymentType": "default payment type"
}

Request Data

Displays the request input in JSON format.

Validation

Shows the expected status code in the response body if the action is successful. For example, 201.