Class: Expression

Expression(element)

Represents request expressions used to modify the request before doing the test

Constructor

new Expression(element)

Parameters:
Name Type Description
element object one of the elements generated during the yaml parsing
Source:

Members

path

the path of the request property we want to modify
Source:

value

the value we want to set in the request property path
Source:

Methods

(static) isExpression(element) → {boolean}

Parameters:
Name Type Description
element object one of the elements generated during the yaml parsing
Source:
Returns:
Type
boolean

apply(json)

Replace the property indicated by the expression path with the value indicated
Parameters:
Name Type Description
json object request that we are going to modify
Source: