Run tests, manage automated API monitoring, and more.
hopp test
hopp test
command allows you to run tests against a Hoppscotch collection file. This command goes through every request in a collection recursively and runs it, validating the responses with the test script provided in each request.
-d, --delay
flag. One practical application involves executing requests against APIs with enforced rate limits.<<baseurl>>/post
and specify baseurl as https://echo.hoppscotch.io
in an environment file.
Hoppscotch CLI supports environment files in two specific formats:
Option | Description |
---|---|
-h | Gives a list of associated commands and their descriptions |