Re:Hurl, run and test HTTP requests with plain text
by zodvik on Friday November 25, 2022 @11:00PM
(#33749773)
The abstraction is provide better UX. Anyone will have to write stuff over telnet to provide chained requests, variables, assertions, etc. Once you do that, you basically get a reimplementation of hurl.
[ Parent
| on HN ]
Re:Hurl, run and test HTTP requests with plain text
by emj on Friday November 25, 2022 @11:20PM
(#33749896)
Curl is a good tool to familiarize yourself with, but I've written test with curl and bash it is very cumbersome this is another level of awesomeness for that. If all you are going to do is connect to a server with some json, then curl is ok, I agree that nc/telnet/socat might be a bit extreme.
Hurl is not enough for some of the tests I want to write, i.e. testing sending a 50MB file, or dynamic content.
Re:Hurl, run and test HTTP requests with plain text
by zodvik on Saturday November 26, 2022 @02:58AM
(#33750798)
Yep
If you're going to do a single request or a few requests in isolation, curl is the way to do.
If you wanna do a full fledged testing suite, might as well using a proper scripting language or a test framework.
Hurl hits the spot between those two for me.
Re:Hurl, run and test HTTP requests with plain text
by keb_ on Saturday November 26, 2022 @09:12AM
(#33752775)
I believe the parent post was parodying the infamous Dropbox HN comment from https://news.ycombinator.com/item?id=8863