Live data from Hacker News

Hurl 4.0.0

hurl.dev

71–80 of 104 posts

Re: Hurl 4.0.0

#71
post #49

Earlier quoted context omitted.

The bigger problem here is that you have devs, devs make bugs. if you don't have devs there are no bugs, problem solved.

If devs have to do QA themselves, many issues magically disappear.

[deleted]

Re: Hurl 4.0.0

#72
post #64

Earlier quoted context omitted.

If devs have to do QA themselves, many issues magically disappear.

never underestimate the ingenuity of a good QA person. "app freezes while triple-clicking About button while changing wifi network when storage is 89% full and screen reader is enabled" it's the same with good security folk. sure you can pretend you'll catch 100% of issues, but it's a delusion, good security or quality testing is a totally different mode of thought

> never underestimate the ingenuity of a good QA person. "app freezes while triple-clicking About button while changing wifi network when storage is 89% full and screen reader is enabled"

If such feature interactions matter then your application has bigger problems than a QA department.

> it's the same with good security folk. sure you can pretend you'll catch 100% of issues, but it's a delusion, good security or quality testing is a totally different mode of thought

Oh I'm not saying that good QA isn't a valuable skill! Of course it is, it doesn't just happen on its own. What I'm claiming is that it's a skill that should be employed as close as possible to the creation of the thing that it's assuring the quality of. So, ideally within the developer themselves.

Same thing with security. You will have a terrible security in your product if you first design and implement it and then put security in there as an afterthought by a dedicated security team. Ideally it's been at the table from day 1. So, a good security team works on educating your devs to do things right from day 1. Just like QA.

Re: Hurl 4.0.0

#73
post #29

Earlier quoted context omitted.

I use the vscode-restclient and my primary reason is the conversational flows you can build against an API. Does Hurl support this? If so I would absolutely switch. All I would need to complete the experience is a plugin to do highlighting and integration with the Hurl files.

digikata’s comment above suggests it is possible. It would be great to have something that isn’t attached to the editor of choice.

Indeed it does with https://hurl.dev/docs/capturing-response.html

Also for VS Code integration specifically there is https://marketplace.visualstudio.com/items?itemName=JacobPfe...

Re: Hurl 4.0.0

#74

> Hurl is a command line tool powered by curl, that runs HTTP requests defined in a simple plain text format: This is how every new version announcement should start! I'd never heard of Hurl before and that intro + code sample on top instantly made me want to install and try it out. Congrats on what seems like a great release

True, except most of that should have been in the title of the post. Such as:

Hurl: Run HTTP requests in a simple plain-text format

Re: Hurl 4.0.0

#75
hurl is great, glad to see it's being improved on. I wrote a small wrapper around it a while back to be able to re-use some auth stuff in different requests, but a simple "include " would be an awesome addition in a future release.

Getting started with it was way easier than figuring out postman or any of the many other http testing frameworks with their own languages/dsls

Re: Hurl 4.0.0

#76
post #64

Earlier quoted context omitted.

never underestimate the ingenuity of a good QA person. "app freezes while triple-clicking About button while changing wifi network when storage is 89% full and screen reader is enabled" it's the same with good security folk. sure you can pretend you'll catch 100% of issues, but it's a delusion, good security or quality testing is a totally different mode of thought

> never underestimate the ingenuity of a good QA person. "app freezes while triple-clicking About button while changing wifi network when storage is 89% full and screen reader is enabled" If such feature interactions matter then your application has bigger problems than a QA department. > it's the same with good security folk. sure you can pretend you'll catch 100% of issues, but it's a delusion, good security or qua…

> If such feature interactions matter then your application has bigger problems than a QA department.

QA doesn't exist to check that your crap architecture solves the problem. They're there to be the skeptical person in the chain of custody from developer to production. The old adage "you can't test quality into software" exists for a reason. It's true. And you're right that it's the wrong architecture. But that's dismissing the very real purpose of QA which is to catch these kinds of bad architecture problems by testing for conditions that the dev team possibly didn't consider during development. QA is also there to make sure you're not making any unfounded assumptions about the context the software exists in.

To the extent you actually care about checking all of your assumptions and not just the ones you're cognizant of, QA is very useful.

Re: Hurl 4.0.0

#77
post #67
post #10

Please make this the industry standard for testing APIs. I'm tired of having to look at Postman screenshots sent from QA. I'm tired of having to wait for them to press Send once I've implemented a fix. I know they're tired of waiting for me to do that, too. Hurl is something both the devs and QA can speak and write. It can be automated and a part of CI. It makes communicating expectations straightforward. It can be c…

Have you tried https://k6.io/ ? (Full disclosure: I'm one of the maintainers.) It allows you to write load/performance tests in JS, commit them to your repo, easily automate them in CI, send metrics to several backends, use protocols besides HTTP, with a modern CLI, and many more features. There's also a Postman-to-k6 converter[1]. The conversion might not be perfect, but it will give you a head start. Note that the…

If you maintain k6, can I log a complaint?

I feel like I used to be able to run the CLI with just an URL and it would issue GET requests to it -- without needing a .js script to run

Am I crazy, did this never exist? Please bring back/add this feature

Re: Hurl 4.0.0

#78
post #20

At first, I thought this was the toy language Hurl[0] and was shocked the developer made it to version 4 so quickly. Really cool tool built with curl. Certainly could replace a bash script or two with something more robust. [0]: https://news.ycombinator.com/item?id=36393673

Turned out that one was, as you said, a totally unrelated toy language, nothing like this hurl.dev one.

Re: Hurl 4.0.0

#79

Earlier quoted context omitted.

Amen. Far too many announcements and readmes jump right into installation requirements and “we’ve fixed X, Y and Z” but never actually tell you what the thing is !

A changelog is supposed to tell you what has changed. A general greeting/landing page is supposed to tell you what the thing is. Trouble is if a link to a changelog is submitted to HN. Most people who don't know what the thing is click on it, have no clue what they are looking it, close it again and then downvote the submission. Submissions for not-widely-known stuff should be a landing page, not a changelog page. (I…

My favourite is landing on a github repo for a project and reads like the following:

    Schmaggle is the new hyperlayer to solve excess Flingles when re-routing Blumbles in non-zero p=np equations.
    Please open a PR if you're interested.
Or something to that effect.

Re: Hurl 4.0.0

#80

Earlier quoted context omitted.

How big is your company and product?

Anual revenue is in the ballpark of about $1bn-$5bn.

If this happens to be a reference to Microsoft, their famous laying off of qa people has been regarded as a disaster by everyone outside Ms, with windows update quality dropping off a cliff.
Post reply on HN