Can Http Client files be used for automated testing?
Hi everyone,
I've just stumbled uppon the Http Client and after reading the Docs it is not clear to me whether the extension/syntax is based on some kind of open standard, so one could use these `.http` files in a CI pipeline for automated testing. Or is this a proprietary solution by JetBrains?
If anyone can shed some light onto this, I'd be really happy :)
Cheers!
请先登录再写评论。
Hello,
i'm also looking for an answer for this, so far, i found this in the documentation:
https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html#using-response-handler-scripts
so it kind of is possible to write tests in these files. But i still don't know, how to execute them in my pipeline.
Thanks for your reply, but the documentation is clear about what's possible with '.http' files in IntelliJ, which provides a plugin (HTTP Client) to procress these files.
My question points to this:
1) Is the Http Client File syntax proprietary to JetBrains, or based on a Standard (usable in other tools)?
2) Is JetBrains or another thirdparty offering a standalone CLI tool to process these '.http' files?
3) Is the HTTP Client Plugin source code open?
1) no, there is also a VSCode Plugin that uses the same kind of files and syntax.
2) I´m looking for an answer for this too.
3) Don't know about IntelliJs Plugin, but there is a VSCode Plugin that is (uses the same syntax and files),
https://github.com/Huachao/vscode-restclient
i just didn't had any time to take a look into it.
Please check comments in https://youtrack.jetbrains.com/issue/IDEA-239345 there are some third party tools there.