diff options
Diffstat (limited to 'files')
| -rwxr-xr-x | files/.vim/templates/=template=hurl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/files/.vim/templates/=template=hurl b/files/.vim/templates/=template=hurl index 71554ea..c8ad735 100755 --- a/files/.vim/templates/=template=hurl +++ b/files/.vim/templates/=template=hurl @@ -1,11 +1,14 @@ #!/usr/bin/env -S hurl --test # GET http://localhost/api/method -# [QueryStringParams] +# [Options] +# variable: foo="bar" +# [Query] # filter: {{capture_value}} # HTTP 200 # [Asserts] # jsonpath "$.content" count == 1 # jsonpath "$.content[0].id" > 0 +# jsonpath "$..name" includes "test" # [Captures] # id: jsonpath "$.content[0].id" |
