We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running from the CLI, it would be nice if:
ZestAssertion
message
As of now, one can't tell if an ZestAssertion has been violated or not.
Here is a simple script.zst that I am using:
script.zst
{ "about": "This is a Zest script. For more details about Zest visit https://developer.mozilla.org/en-US/docs/Zest", "zestVersion": "0.8", "generatedBy": "OWASP ZAP Dev Build", "title": "Simple GET request", "description": "This Zest script is very humble.", "statements": [ { "url": "http://juice-shop.herokuapp.com", "method": "GET", "assertions": [ { "rootExpression": { "code": 200, "not": false, "elementType": "ZestExpressionStatusCode" }, "elementType": "ZestAssertion" } ], "followRedirects": true, "index": 1, "enabled": true, "elementType": "ZestRequest" } ], "index": 0, "enabled": true, "elementType": "ZestScript" }
When running this script with different values - true, and false - for the not field of the ZestAssertion, I always get the same result:
true
false
not
[nix-shell:~/Workspace/tools/zap/zest/zest]$ build/distributions/zest-0.15.0-SNAPSHOT/bin/zest -script examples/script.zst [nix-shell:~/Workspace/tools/zap/zest/zest]$ echo $? 0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running from the CLI, it would be nice if:
ZestAssertion
to have an optionalmessage
field to have something to display if violated.As of now, one can't tell if an
ZestAssertion
has been violated or not.Here is a simple
script.zst
that I am using:When running this script with different values -
true
, andfalse
- for thenot
field of theZestAssertion
, I always get the same result:The text was updated successfully, but these errors were encountered: