ANW-20 hurl HTTP contract-test harness
This commit is contained in:
parent
ec650e6c66
commit
b4a33abd71
50 changed files with 415 additions and 2 deletions
6
tests/hurl/query/prefix.hurl
Normal file
6
tests/hurl/query/prefix.hurl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# __prefix: string prefix match on a scalar.
|
||||
GET {{host}}/query?title__prefix=PDR-001
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
jsonpath "$.total" == 1
|
||||
jsonpath "$.results[0].path" == "Projects/PDR-001-intro.md"
|
||||
Loading…
Add table
Add a link
Reference in a new issue