-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create [Options] section to use command line option per request #612
Comments
This feature is very useful.
|
This is listed as added to the 1.7 release (yay)
I'm using the release file for x86-64-linux |
Hi @fourjay can you provide your Hurl file ?
For the moment, you can not use the
But it'll be soon ! |
Placement was the issue :-) FWIW, I use hurl for broad service testing, across our many unrelated web services. |
Thanks for the feedback, always happy to hear how Hurl is used in the wild! |
Sorry to comment on an old issue, but this is the only place I found the mention of global |
Hi @alturkovic this feature is still planned, sure you can open a specific issue on it so we don't forget it! |
In 1.6.1, Hurl has command line options that affect a whole file (i.e each entry of a test).
For instance,
--insecure
allows to by-pass certificate verification on all entries of a file.We could add an
[Options]
section that will allow to set option per request.For instance:
Will by-pass certificate verification on https://trusty.net and will verify certificate on https://not-trusty.net.
We could expose all the relevant options (excluding those which are not, like
--color
).The supported options could be:
Options that can already be defined per-request should not be included. For instance --user add basic authentifciation to each request.
As there is a
[BasicAuth]
section wich allows set basic authentification on a request, we don't need to supportuser
in[Options]
.Options excluded because there are not relevant per-request:
--color
--fail-at-end
--glob
--interactive
--json
--no-color
--no-output
--noproxy
--output
--progress
--report-junit
--report-html
--test
--to-entry
--to-entry
--variable
--variables-file
--help
--version
The text was updated successfully, but these errors were encountered: