Re:Show HN: Hurl – Run and test HTTP requests with plain tex...
by certifiedloud on Tuesday October 05, 2021 @09:37AM
(#28759263)
The first feature I look for in tools like this is the ability to run requests concurrently. Of course some requests depend on others, but there are often a lot of requests that can be run concurrently to save time. I don't see how to do that with hurl.
[ Parent
| on HN ]
Re:Show HN: Hurl – Run and test HTTP requests with plain tex...
by fabricereix on Tuesday October 05, 2021 @09:59AM
(#28759588)
This is not possible yet.
We have related issues: - https://github.com/Orange-OpenSource/hurl/issues/87 - https://github.com/Orange-OpenSource/hurl/issues/88
Running several Hurl files concurrently (and independently) is clear and we will probably add in the next few months.
Running requests concurrently in the same Hurl file will be more complicated. The Hurl language has to describe a clear semantic about it.
Re:Show HN: Hurl – Run and test HTTP requests with plain tex...
by nonameiguess on Tuesday October 05, 2021 @01:45PM
(#28762858)
Can you read a request from stdin? It could just be catted through GNU parallel to launch many hurls concurrently.
Re:Show HN: Hurl – Run and test HTTP requests with plain tex...
by fabricereix on Wednesday October 06, 2021 @07:17AM
(#28771702)
Yes you can.
$ echo GET http://google.com | hurl
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>