-
Notifications
You must be signed in to change notification settings - Fork 17
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
Kristian Bremberg
committed
Jun 4, 2021
1 parent
9580f33
commit b293beb
Showing
7 changed files
with
102 additions
and
0 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,20 @@ | ||
{ | ||
"request": { | ||
"path": "/api/v1/users/admin?fields=*,privileges/PrivilegeInfo/cluster_name,privileges/PrivilegeInfo/permission_name", | ||
"headers": [ | ||
"Authorization: Basic YWRtaW46YWRtaW4=" | ||
] | ||
}, | ||
"response": { | ||
"matchesRequired": 5, | ||
"matches": [ | ||
{"type": "status", "code": 200, "required": true}, | ||
{"type": "static", "pattern": "active"}, | ||
{"type": "static", "pattern": "admin"}, | ||
{"type": "static", "pattern": "groups"}, | ||
{"type": "static", "pattern": "ldap_user"}, | ||
{"type": "static", "pattern": "user_name"}, | ||
{"type": "static", "pattern": "user_type"} | ||
] | ||
} | ||
} |
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,19 @@ | ||
{ | ||
"request": { | ||
"path": "containers/json" | ||
}, | ||
"response": { | ||
"matchesRequired": 5, | ||
"matches": [ | ||
{"type": "status", "code": 200, "required": true}, | ||
{"type": "header", "name": "Content-Type", "pattern": "(?i)application/json", "required": true}, | ||
{"type": "static", "pattern": "\"Id\"", "required": true}, | ||
{"type": "static", "pattern": "\"Names\""}, | ||
{"type": "static", "pattern": "\"Image\""}, | ||
{"type": "static", "pattern": "\"ImageID\""}, | ||
{"type": "static", "pattern": "\"Command\""}, | ||
{"type": "static", "pattern": "\"Created\""}, | ||
{"type": "static", "pattern": "\"State\""} | ||
] | ||
} | ||
} |
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,12 @@ | ||
{ | ||
"request": { | ||
"path": "jquery-file-upload/server/php/" | ||
}, | ||
"response": { | ||
"matchesRequired": 2, | ||
"matches": [ | ||
{"type": "status", "code": 200, "required": true}, | ||
{"type": "regex", "pattern": "^{\"files\":"} | ||
] | ||
} | ||
} |
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,11 @@ | ||
{ | ||
"request": { | ||
"path": "/nginx_status" | ||
}, | ||
"response": { | ||
"matchesRequired": 1, | ||
"matches": [ | ||
{"type": "static", "pattern": "server accepts handled requests"} | ||
] | ||
} | ||
} |
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,11 @@ | ||
{ | ||
"request": { | ||
"path": "/%0d%0ahrs:hrs" | ||
}, | ||
"response": { | ||
"matchesRequired": 1, | ||
"matches": [ | ||
{"type": "header", "name": "hrs", "pattern": "."} | ||
] | ||
} | ||
} |
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,13 @@ | ||
{ | ||
"request": { | ||
"path": "//example.com" | ||
}, | ||
"response": { | ||
"matchesRequired": 2, | ||
"matches": [ | ||
{"type": "status", "code": 301}, | ||
{"type": "status", "code": 302}, | ||
{"type": "header", "name": "Location", "pattern": "(?i)^//example.om"} | ||
] | ||
} | ||
} |
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,16 @@ | ||
{ | ||
"request": { | ||
"path": "/actuator/env" | ||
}, | ||
"response": { | ||
"matchesRequired": 6, | ||
"matches": [ | ||
{"type": "status", "code": 200, "required": true}, | ||
{"type": "header", "name": "Content-Type", "pattern": "(?i)application/json", "required": true}, | ||
{"type": "static", "pattern": "\"profiles"}, | ||
{"type": "static", "pattern": "\"servletContextInitParams"}, | ||
{"type": "static", "pattern": "\"systemProperties"}, | ||
{"type": "static", "pattern": "\"systemEnvironment"} | ||
] | ||
} | ||
} |