Does the 'matchesRegexp' in the Artillery's expect plugin only support GET requests? #3571
sprakshith
started this conversation in
Show and Tell
Replies: 0 comments
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.
-
Hello all,
I’m trying to use the
matchesRegexpexpectation in the Artillery expect plugin to validate the body of a POST API response.At first, I thought my regex was the issue, but after debugging the plugin itself, I saw that the body passed into the function below is null for POST requests. It works fine for GET requests, though.
Is this expected behavior? Or am I missing something in how the plugin should be used with POST calls?
Beta Was this translation helpful? Give feedback.
All reactions