Repository navigation
Success Match syntax #180
Replies: 1 comment 3 replies
|
The HTTP Request Plugin's "Success Match" field is a regular expression match only, which matches text content in the HTTP response body. It is not an expression evaluator, alas. Docs: https://docs.xyops.io/#Docs/plugins/http-request-plugin I see that you're trying to gate success on the HTTP response code. Unfortunately the HTTP Request Plugin is hard-coded to assume any HTTP response codes between 200 - 399 are all "success". If you need anything non-200 to be regarded as an error, your options are: use a shell tool like
|
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I'm trying to use the success match in an HTTP request to match the status code, but am running into barriers.
What is the proper format?
Thanks
All reactions