Then the API response should not contain "text"

Checks that API response body doesn't contain specific text.

Step pattern

Then (?:the )?API response should not contain "([^"]*)"

Examples

Example #1
Then the API response should not contain "error"
Example #2
Then API response should not contain "failed"
Example #3
Then the API response should not contain "forbidden"
Example #4
Then API response should not contain "unauthorized"
Example #5
Then the API response should not contain "password"
Example #6
Then API response should not contain "secret"
Example #7
Then the API response should not contain "exception"
Example #8
Then API response should not contain "stack trace"