HTTP Client - is it possible to run all requests as a batch?
The documentation for the HTTP Client states that 'Response handler scripts can include tests, which allows you to use the HTTP Client as a testing framework'. This is exactly what I'm wanting as it provides a convenient, in-IDE alternative to services such as Postman/Restlet etc.
However, having both looked at the documentation for running a request and played around a bit it appears it might only possible to run each request individually, which would rule it out for serious use as a testing framework.
The top comment on the blog post introducing the editor-based client requested this as a feature 10 months ago; I've not been able to find anything relevant on the issue tracker.
So - is it possible to run all requests as a batch? If not, is there a feature request on the issue tracker?
请先登录再写评论。
Hi ChrBrd!
I found some feature requests to make command-line runner for .http(.rest) files
https://youtrack.jetbrains.com/issue/WI-42002
please upvote it.
Regards,
Vladimir.
yes, it will be useful in CLI version, but I need both versions, integrated to IDE too.
This would be useful to execute a POST (create) request and then do subsequent calls with the returned newly created element Id. That would be great!
Hi, is there any updates? We would like to use it for testing, but now it is only usefull for development.