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
8
tests/hurl/query/nested_dotted_key.hurl
Normal file
8
tests/hurl/query/nested_dotted_key.hurl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Nested key addressed via dotted path: author.name=brn.
|
||||
GET {{host}}/query?author.name=brn
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
jsonpath "$.total" == 1
|
||||
jsonpath "$.results[0].path" == "nested/author-info.md"
|
||||
jsonpath "$.results[0].frontmatter.author.name" == "brn"
|
||||
jsonpath "$.results[0].frontmatter.author.role" == "engineer"
|
||||
Loading…
Add table
Add a link
Reference in a new issue