fbpx

Method GetStringResponse

Gets string response of the executed method

Usage

Function GetStringResponse(
  Boolean Report [Optional]
)

Parameters

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Raw string response

Example

VBScript

Server("API Server").Method("GetBookById").Execute
msgbox Server("API Server").Method("GetBookById").GetStringResponse(True)

JavaScript

Server("API Server").Method("GetBookById").Execute();
alert(Server("API Server").Method("GetBookById").GetStringResponse(true));

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo