Re:Show HN: Hurl – Run and test HTTP requests
by fabricereix on Wednesday January 06, 2021 @10:02AM
(#25658326)
We have the option to include a body from an external file, this is especially useful for large or binary payload.
POST https://example.net
file,data.bin;
Looking at repost, I can see that there is definitely a place for an HTTP runner/tools that can do asserts on response.
For your suggestions, environnement variable support is certainly a good feature (actually, we can inject variable in the command line ex: hurl --variable user=dude file.hurl). Including another file is also a good suggestion. Currently we write tests by hand or sometimes generate the Hurl text file when we want to reuse steps, but a build-in support is a good idea.