Method CheckResponseByList

Checks response by list (CheckList) where 'Path' is the path to the property and 'Value' is comparable value

Usage

Function CheckResponseByList( 
    Boolean Report [Optional]
)

Method

ZAP Object step

CheckResp...

True

Boolean Report [Optional]

Parameters

Report (optional)

Type: Boolean

Default value: True

Report Result

Returns

True if equal

Example

VBScript

Server("API Server").Method("Method").CheckResponseByList
' Set Report parameter
Server("API Server").Method("Method").CheckResponseByList True

JavaScript

Server("API Server").Method("Method").CheckResponseByList();
// Set Report parameter
Server("API Server").Method("Method").CheckResponseByList(true);

Method

ZAP Object step

CheckResp...

Script-Less next step

Comment

Set Report parameter

Script-Less next step

Method

ZAP Object step

CheckResp...

True