HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

custom errors Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 509


12/19/2012
Unregistered User
Unregistered User
Posts: 509
I would like to add custom verification to a test step. Currently, if my HTTP response is OK, the test passes. However, I would like to parse the HTTP response body for the words “PARTIAL” and/or “FAIL”. Should the response body contain either of these strings, I’d like to mark the test a fail.
Is this possible? I don’t see how to add custom verification of a test step, based on response body content.
0 link
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583


12/19/2012
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583
You can configure a custom verification using validators. Each validator defines your custom response parsing rule. So you can create one validator for the word “PARTIAL” and another validator tool for the word “FAIL”, as shown below.

After test completion, the custom errors will be listed in the Error Details section and also in the consolidated HTML report.

Cheers,
-Vadim
0 link






Copyright © 2024 Stimulus Technology