New error handling in poc and features
This commit is contained in:
1 parent
9ebc989bc7
commit
ee9bb8df9c
11 files changed
+95
-20
No files matched your search
@@ -25,4 +25,10 @@ Feature: Fail to retrieve resources from nonexistent handler in Kapow! server.
|
||||
Given I have a running Kapow! server
|
||||
When I get the resource "/request/path" for the handler with id "XXXXXXXXXX"
|
||||
Then I get 404 as response code
|
||||
And I get "Handler ID Not Found" as response reason phrase
|
||||
And the response header "Content-Type" contains "application/json"
|
||||
And I get the following response body:
|
||||
"""
|
||||
{
|
||||
"reason": "Handler ID Not Found"
|
||||
}
|
||||
"""
|
||||
Reference in new issue
Block a user