is it possible to run a .http file from the command line
Answered
The requests files (.http) are convenient during development and debugging, but I'm looking for a way to use them also in automated tests.
is there a way to run them from the command line without the full IDE? (either using a intelij tool or by 3rd party)
Please sign in to leave a comment.
There's no way to do that at the moment, but it's a popular feature request: https://youtrack.jetbrains.com/issue/WI-42002
Please vote, feel free to comment.
it will be nice in our case it's being used manually to test mock services in mock project but would be nice to execute and validate statuses from command line after the build
This is a third-party tool, but perhaps you may find HTTPie cli tool useful: https://httpie.io/cli
It is now existing check out https://blog.jetbrains.com/idea/2022/12/http-client-cli-run-requests-and-tests-on-ci/