Skip to content
Discussion options

You must be logged in to vote

Hi @unhammer
Could you give us more details about your use case?

You can use some assertions to test what is not expected:

GET https://foo.com/undefined
HTTP 404

Or

GET https://foo.com
HTTP *
[Asserts]
status >= 500

You can also negate any assertions with not:

GET https://bar.com
HTTP 200
[Asserts]
body not contains "something"

You can also skip some test:

POST https://baz.com
[Options]
skip: true
HTTP 201

GET https://quz.com
HTTP 500

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@unhammer
Comment options

Answer selected by unhammer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants