Webtest WebTest GitHub Home

Core Step previousResponse

Description

This step provides the ability to revert to the previously loaded response for further testing of the previous page if testing of the current response is complete.

This is especially handy if the current response is a warning/dialog window or a non html/text response.

Parameters

description
Required? no
The description of this test step.
save
Required? no
A shorthand: save='prefixName' is the same as savePrefix='prefixName' saveResponse='true'.
savePrefix
Required? no, default is the 'savePrefix' parameter as specified in <config>.
A name prefix can be specified for making a permanent copy of received responses. A unique number and the file extension (depending on the MIME-Type) will be appended. The resultpath attribute of the <config> element is used for determining the location of the saved result.
saveResponse
Required? no
Whether to make a permanent copy of received responses. Overrides the default value set in the <config> element.