Conditionresptime - zaproxy/zest GitHub Wiki

This conditional tests the time taken for the last response.

Attributes

Name Format Description
greaterThan Boolean True tests for the response time greater than the one given, otherwise less than
timeInMs Long The response time in milli seconds to compare with
ifStatements Array The statements to run if the condition is true
elseStatements Array The statements to run if the condition is false
index Integer The index of the statement in the script
elementType String Always ZestConditionResponseTime

JSON

An basic example:
{
  "greaterThan": true,
  "timeInMs": 1000,
  "ifStatements": [],
  "elseStatements": [],
  "index": 2,
  "elementType": "ZestConditionResponseTime"
}

See also

⚠️ **GitHub.com Fallback** ⚠️