blob: 71554ea3c8dc029c120e62bec11e4d9a1bd3de1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env -S hurl --test
# GET http://localhost/api/method
# [QueryStringParams]
# filter: {{capture_value}}
# HTTP 200
# [Asserts]
# jsonpath "$.content" count == 1
# jsonpath "$.content[0].id" > 0
# [Captures]
# id: jsonpath "$.content[0].id"
|