-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fa5d50
commit 325eecc
Showing
3 changed files
with
28 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
common: | ||
baseUrl: https://postman-echo.com | ||
headers: | ||
Content-type: application/json | ||
|
||
requests: | ||
# This request tests should all fail due to bad tests schema | ||
# Ensure we don't crash on these. | ||
tests-negative-schema: | ||
method: POST | ||
url: /post | ||
body: | ||
address: 1, example street | ||
numbers: [444, 222] | ||
object: { foo: bar } | ||
tests: | ||
status: { $ne: 200 } | ||
headers: | ||
content-type: { $exists: false } | ||
$.data.operator: { badop: any } # invalid operator badop. If you want to match an entire object/array, use it as the value of the $eq operator. | ||
$.data.numbers: [444, 222] | ||
$.data.address: { $type: invalid } | ||
$.data.object: { $exists: 4 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters