For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get body

This is a pre-built Action located under the WebService List Element. The functionality of this Action in Avo Assure is to retrieve the entire response body from an executed webservice request and store the result in a dynamic variable.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

Output Value: <Dynamic Variable>;<Dynamic Variable>(Optional)

Argument
Description

<Dynamic Variable> (Required)

This dynamic variable holds the full response body as a string

<Dynamic Variable> (Optional)

This dynamic variable holds the status as True or False.

Example: Retrieving the Response Body from a WebService Request

In this example, we explain how to retrieve the complete response body from an executed Web Service request.

  • Action: Get Body

  • Input Value: N/A

    • This action does not require any input value.

    • The action automatically fetches the response body from the previously executed Web Service request.

  • Output Value: {Body}

    • The first output variable ({Body}) stores the complete response body returned by the Web Service request.

    • If a second output variable is provided, the action returns the status as True or False:

      • True: If the response body is retrieved successfully.

      • False: If the response body is empty or the request execution fails.

  • Logical Explanation: The Get Body action retrieves the complete response body from the executed WebService request without requiring any input value. The action stores the fetched response content in the {Body} variable.

Last updated