-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] Fix issue where string bodies were not parsed or compared corre…
…ctly (#42) * Fix issue where string bodies were not parsed or compared correctly * newline * Fix issue where tags were not replaced in string responses
- Loading branch information
Showing
6 changed files
with
132 additions
and
12 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
cmd/apirunner/apirunner | ||
dist/ | ||
.idea/ |
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,32 @@ | ||
{ | ||
"tests": [ | ||
{ | ||
"name": "bodyStringParser", | ||
"request": { | ||
"method": "POST", | ||
"url": "/string", | ||
"body": "Hello, World!" | ||
}, | ||
"expectedResponse": { | ||
"statusCode": 200, | ||
"body": "Hello, World!" | ||
} | ||
}, | ||
{ | ||
"name": "bodyJSONParser", | ||
"request": { | ||
"method": "POST", | ||
"url": "/json", | ||
"body": { | ||
"hello": "world" | ||
} | ||
}, | ||
"expectedResponse": { | ||
"statusCode": 200, | ||
"body": { | ||
"hello": "world" | ||
} | ||
} | ||
} | ||
] | ||
} |
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