Skip to content

Commit

Permalink
chore(test): add API tests for dog breeds
Browse files Browse the repository at this point in the history
  • Loading branch information
jellydn committed Mar 13, 2024
1 parent 74b20eb commit ae57eba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/dogs.hurl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
GET https://dogapi.dog/api/v2/breeds

HTTP 200

[Captures]
id: jsonpath "$.data[0].id"

GET https://dogapi.dog/api/v2/breeds/{{id}}

HTTP 200

[Asserts]
jsonpath "$.data.id" == {{id}}

0 comments on commit ae57eba

Please sign in to comment.