-
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs and new tests for custom HTTP certs (#281)
- Loading branch information
1 parent
f7c7e39
commit e37e620
Showing
4 changed files
with
97 additions
and
2 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
|
||
test_name: Test cannot pass an invalid value to 'cert' | ||
|
||
_xfail: verify | ||
|
||
stages: | ||
- name: Use a cert incorrectly | ||
request: | ||
url: "{host}/echo" | ||
method: POST | ||
cert: 123 | ||
json: | ||
value: "abc" | ||
response: | ||
status_code: 200 | ||
json: | ||
value: "abc" | ||
|
||
--- | ||
|
||
test_name: Test cannot pass too many values to 'cert' | ||
|
||
_xfail: verify | ||
|
||
stages: | ||
- name: Use a cert incorrectly | ||
request: | ||
url: "{host}/echo" | ||
method: POST | ||
cert: | ||
- abc | ||
- def | ||
- ghi | ||
json: | ||
value: "abc" | ||
response: | ||
status_code: 200 | ||
json: | ||
value: "abc" |
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