New timeout option for runShell and httpRequest actions. If an action exceeds its timeout, the step fails. Timeouts default to 1 minute.
New savePath, saveDirectory, and overwrite options for runShell and httpRequest. Save the output of a command or request to file for future reference or to include in your docs!
New maxVariation option for runShell and httpRequest. Much like screenshot diffing with saveScreenshot, this option compares command or response output against previous outputs and runs a percentage diff, failing the step if the diff is above the specified acceptable variation. Plays nice with the overwrite option's byVariation value.
New allowAdditionalFields option for httpRequest actions. If false, fails the step if the actual response data contains fields that aren't specified in responseData, allowing for strict object matching. Defaults to true.
httpRequest actions now return a actualResponseData field with the exact payload returned by the request. This mirrors runShell returning stdout and stderr values.
find's matchText can now match with regular expressions as well as strings. To specify a regular expression, begin and end the value with /.
New setVariables option for the find action sets variables from an element's text value that match a regular expression. Same formatting and behavior as runShell's setVariables option.
timeout
option forrunShell
andhttpRequest
actions. If an action exceeds its timeout, the step fails. Timeouts default to 1 minute.savePath
,saveDirectory
, andoverwrite
options forrunShell
andhttpRequest
. Save the output of a command or request to file for future reference or to include in your docs!maxVariation
option forrunShell
andhttpRequest
. Much like screenshot diffing withsaveScreenshot
, this option compares command or response output against previous outputs and runs a percentage diff, failing the step if the diff is above the specified acceptable variation. Plays nice with theoverwrite
option'sbyVariation
value.allowAdditionalFields
option forhttpRequest
actions. Iffalse
, fails the step if the actual response data contains fields that aren't specified inresponseData
, allowing for strict object matching. Defaults totrue
.httpRequest
actions now return aactualResponseData
field with the exact payload returned by the request. This mirrorsrunShell
returningstdout
andstderr
values.find
'smatchText
can now match with regular expressions as well as strings. To specify a regular expression, begin and end the value with/
.setVariables
option for thefind
action sets variables from an element's text value that match a regular expression. Same formatting and behavior asrunShell
'ssetVariables
option.