Skip to content

Commit b10946d

Browse files
committed
test: ensure that exceptions are handled and responded accordingly
Part of #48
1 parent 9cd1318 commit b10946d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/misc.hurl

+7
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ GET {{ SERVER_URL }}/custom/route
1111
HTTP 200
1212
[Asserts]
1313
jsonpath "$.custom" == true
14+
15+
16+
GET {{ SERVER_URL }}/custom/exception
17+
HTTP 500
18+
[Asserts]
19+
header "Content-Type" contains "application/json"
20+
jsonpath "$.error" == "Internal Server Error"

0 commit comments

Comments
 (0)