Commit Graph

493 Commits

Author SHA1 Message Date
Fabrice Reix
fce9e9daf7
Update version to 1.7.0 2022-09-15 12:56:36 +02:00
GitHub Action
1cd6ff3260 Update crates 2022-09-13 08:27:07 +00:00
jcamiel
9293db226b
Indicates deprecated options in hurl help. 2022-09-12 21:13:49 +02:00
jcamiel
5d4d41a559
Be more restrictive on first char for url parsing. 2022-09-12 16:42:40 +02:00
jcamiel
61ab7674b1
Don't print error when hurl display help because of no inputs. 2022-09-12 09:09:28 +02:00
jcamiel
c1684f60b3
Add support for strings comparison. 2022-09-09 16:54:28 +02:00
jcamiel
29babc8ebb
Hunts clones. 2022-09-08 22:34:59 +02:00
GitHub Action
e49ff139f2 Update crates 2022-09-08 08:25:47 +00:00
GitHub Action
2783410f7d Update crates 2022-09-07 17:38:30 +00:00
Fabrice Reix
cc820c6190
Accept expression in comparison predicate 2022-09-07 08:39:28 +02:00
Fabrice Reix
59d32dc46d
Add option variable in Hurl file 2022-09-06 13:53:15 +02:00
Fabrice Reix
caac3d9b3d
Remove variables field from RunnerOptions 2022-09-05 16:41:54 +02:00
Fabrice Reix
e2689699c3
Create ClientOptions from RunnerOptions 2022-09-05 16:41:54 +02:00
Fabrice Reix
58b89bced3
Constructing the HTTP client with cookie file only 2022-09-05 16:41:53 +02:00
Fabrice Reix
fefab14152
Use only the RunnerOptions struct when running a Hurl File/Entry 2022-09-05 16:41:50 +02:00
jcamiel
91f7396a6d
Fix minot typos. 2022-09-03 00:50:31 +02:00
GitHub Action
4c8c03714d Update crates 2022-09-02 22:37:35 +00:00
jcamiel
1892c35cfa
Rename manual-page.md to manual.md 2022-09-02 15:48:41 +02:00
jcamiel
948f1e2065
Rename manual-page.md to manual.md 2022-09-02 15:39:24 +02:00
Christine Seeman
2e3eaca3d4 Changing naming from Manual Page to just Manual
Where it made sense in the titles, and references in the documentation,
I have updated to just `Manual` over `Manual Page` for clarity on the
purpose of the section or documentation. I have left the file naming
alone, since that was mostly used in the links and felt like the titles
might be where more confusion could be at.
2022-09-02 12:47:08 +02:00
Christine Seeman
57a298d9f1 Adding pluralization to scenerio and documentation
Grammer changes. These were added to the hurl docs and then generated
with python scripts.
2022-09-02 12:47:08 +02:00
Christine Seeman
fe8d506f98 Changing to manual vs man in documenation
In intro documentation, it can be confusing to see just `man` for
the reference to reference manual pages and documentation. I believe this is a reference
to Unix man pages (manual pages), but markdown is much more than what those ASCII text displays could do.

To help understandability, I am submitting a PR to update some documentation references to manual over man.
2022-09-02 12:47:08 +02:00
GitHub Action
c923c76e83 Update crates 2022-09-02 08:13:31 +00:00
Fabrice Reix
1f9d7866f3
Do not re-canonicalize Hurl file in an existing HTML report 2022-09-01 08:36:57 +02:00
GitHub Action
88fa3f3898 Update crates 2022-08-31 08:24:42 +00:00
GitHub Action
b16702dadd Update crates 2022-08-30 08:26:06 +00:00
jcamiel
d986521885
Fix minor typo on docs. 2022-08-28 23:26:11 +02:00
jcamiel
07f0c75151
Add color on capture in verbose mode. 2022-08-25 17:37:14 +02:00
jcamiel
651f3bd694
Improve text summary. 2022-08-23 17:54:19 +02:00
GitHub Action
4991df01ab Update crates 2022-08-22 08:25:16 +00:00
GitHub Action
c0ffbef9ea Update crates 2022-08-21 08:23:19 +00:00
jcamiel
807348e46a
Update READMEs. 2022-08-19 11:04:16 +02:00
jcamiel
96ef0c7228
Add --compressed entry option. 2022-08-18 20:28:08 +02:00
jcamiel
cd64b3310a
Log number bytes received and duration. 2022-08-18 18:39:23 +02:00
jcamiel
e4c21bc90c
Minor docs change. 2022-08-17 19:13:50 +02:00
jcamiel
2d9e860ff6
Add Netscape cookie format comment. 2022-08-17 19:08:13 +02:00
jcamiel
6fc568a6f0
Rename init to new to be more conventionnal. 2022-08-17 09:24:30 +02:00
jcamiel
97835c3a17
Fix colored error string (ansi escape code where interleaved). 2022-08-17 09:00:21 +02:00
jcamiel
c0a8bbb544
Update man and document documentation generation. 2022-08-16 14:27:20 +02:00
jcamiel
08fc128a9b
Update man and README. 2022-08-16 13:39:13 +02:00
jcamiel
2a002f81a6
Add max-redirs entry option. 2022-08-16 12:09:33 +02:00
jcamiel
a2d3f87640
Add follow location entry option. 2022-08-16 10:20:25 +02:00
jcamiel
b08de3a19b
Add very-verbose entry option. 2022-08-15 18:01:35 +02:00
jcamiel
633500ebbd
Add verbose entry option. 2022-08-14 18:37:10 +02:00
jcamiel
02a1e49ddb
Add --to-entry integration test. 2022-08-14 14:02:53 +02:00
jcamiel
21af3a236d
Fix code attribution. 2022-08-14 13:46:00 +02:00
jcamiel
ae7ee80e7b
Fix function doc comment. 2022-08-14 13:41:14 +02:00
GitHub Action
0bfbd5c87e Update crates 2022-08-14 08:21:59 +00:00
jcamiel
6ef82b6b58
Make pre_entry and post_entry optional to remove clone on each entry when not interactive. 2022-08-12 20:39:15 +02:00
jcamiel
aae808b0b0
Add support for cacert entry option. 2022-08-12 17:42:24 +02:00
jcamiel
81c1233623
Remove context_dir field from ClientOptions. 2022-08-12 16:19:16 +02:00
jcamiel
b5c3c820a7
Override client option at the entry level. 2022-08-12 16:18:55 +02:00
jcamiel
eaa5e72940
Fix comments. 2022-08-12 16:18:55 +02:00
jcamiel
b14e5bc31e
Parse option section. 2022-08-12 16:18:55 +02:00
GitHub Action
316624ea64 Update crates 2022-08-12 14:05:11 +00:00
lepapareil
4a6959adcd
Add coverage report and badge to ci 2022-08-11 22:59:54 +02:00
jcamiel
2d0a6bc755
Update clippy for rust 1.63.0. 2022-08-11 19:55:24 +02:00
jcamiel
2698987cf5
Hunt clones and uses references as possible. 2022-08-10 21:13:16 +02:00
jcamiel
bb2faf8e4a
Change add_tokens(&mut tokens for tokens.append( 2022-08-10 17:01:12 +02:00
jcamiel
33ed1f4690
Pass client_options in execute and executes_with_redirect HTTP client methods. 2022-08-10 11:59:40 +02:00
jcamiel
f6e5b0a8df
Fix regression in chrono 0.4.20 https://github.com/chronotope/chrono/issues/755. 2022-08-09 17:44:36 +02:00
GitHub Action
8f8e3b89d2 Update crates 2022-08-09 14:48:23 +00:00
jcamiel
f8863cbac6
Display deprecated warning when using --progress and --summary option. 2022-08-08 18:58:14 +02:00
jcamiel
7f561566dc
Normalize acronym case in errors. 2022-08-08 18:42:57 +02:00
jcamiel
2cbb73a9c1
Support NO_COLOR env variable (https://no-color.org) 2022-08-08 14:54:08 +02:00
jcamiel
e02436d8cb
Make --test colored. 2022-08-05 20:28:09 +02:00
jcamiel
3fc7b7744b
Make verbose and very-verbose logs more colored. 2022-08-05 17:27:38 +02:00
jcamiel
eb9c46a9d4
Patches chrono 0.4.20 regression on ArchLinux / Alpine docker image. 2022-08-05 14:48:51 +02:00
jcamiel
3e33ef208f
Make error more colorfull. 2022-08-04 14:18:22 +02:00
GitHub Action
566c15d6b6 Update crates 2022-08-04 12:15:49 +00:00
jcamiel
74efc91da3
Create bas logger for basic error and logger for a run file. 2022-08-03 17:58:02 +02:00
jcamiel
919fdb6261
Uses references when possible. 2022-08-03 14:26:48 +02:00
jcamiel
d5824a2bb0
Remove unnecessary prefix. 2022-08-01 17:15:08 +02:00
jcamiel
c256e6bcd2
Use raw content instead of lines for high level api (run Hurl file etc...) 2022-08-01 17:15:08 +02:00
jcamiel
59a3e24c40
Rationalize log functions usages. 2022-08-01 15:19:09 +02:00
Fabrice Reix
34075bc8a9
Refacto workflow scripts 2022-07-31 09:59:10 +02:00
GitHub Action
ac75d2de15 Update crates 2022-07-30 08:23:08 +00:00
jcamiel
e15b431fed Log body request if very_verbose. 2022-07-29 14:10:16 +02:00
jcamiel
750e7e0e18 Modify variable name to be more specific (response_headers vs headers, request_body vs data, response_body vs body) 2022-07-29 14:10:16 +02:00
jcamiel
568b83266e
Fixes file access authorization. 2022-07-28 11:24:53 +02:00
GitHub Action
b0d004d266 Update crates 2022-07-26 15:51:41 +00:00
GitHub Action
d04a7c5e49 Update crates 2022-07-22 08:23:29 +00:00
jcamiel
eaabac843c
Use references when possible. 2022-07-21 18:12:25 +02:00
GitHub Action
f7e910da02 Update crates on 22/07/21 08:21 2022-07-21 08:21:09 +00:00
GitHub Action
53fc610d9f Update crates on 22/07/20 17:52 2022-07-20 17:52:58 +00:00
jcamiel
dbc51de167
Fix broken stdin. 2022-07-20 13:24:32 +02:00
GitHub Action
da7ad86f60 ˉᵇᵒᵗˉUpdate crates on 22/07/19 20:17 2022-07-19 20:17:27 +00:00
GitHub Action
0bdd778553 ˉᵇᵒᵗˉUpdate crates on 22/07/15 13:19 2022-07-15 13:19:41 +00:00
jcamiel
567ab70e0e
Update regex 1.6.0. 2022-07-06 17:43:02 +02:00
jcamiel
ed679bd6da
Fix #652.
Use multiple_values method instead of deprecated multiple_occurences method.
2022-07-02 14:38:58 +02:00
jcamiel
ae591ecdd9
Update serde 1.0.138. 2022-07-02 15:39:47 +02:00
Fabrice Reix
b5ddf8a9dc
Add filename in error message 2022-07-02 06:15:13 +02:00
Fabrice Reix
487ab2ef53
Fix clippy is_digit_ascii_radix 2022-06-30 22:04:14 +02:00
jcamiel
1705f30f72
Update clap 3.2.8. 2022-06-30 15:54:20 +02:00
Fabrice Reix
daa95ce619
Remove additional spaces in verbose mode 2022-06-30 15:34:18 +02:00
jcamiel
67ef7c75a7
Move method between Request / Response.
This is a preliminary work for issue #628.
2022-06-30 13:50:44 +02:00
jcamiel
038d23c2f7
Update serde-json 1.0.82. 2022-06-30 12:55:04 +02:00
jcamiel
e2805521a8
Update clap 3.2.7. 2022-06-28 17:29:00 +02:00
jcamiel
689fca2715
Updates READMEs. 2022-06-27 16:28:57 +02:00
Fabrice Reix
de79388be5 Support regex literal in query/subquery 2022-06-24 11:42:06 +02:00
jcamiel
451f6e8200 Create http::header module. 2022-06-22 18:53:03 +02:00
jcamiel
3b801a782a Update indexmap. 2022-06-22 13:52:51 +02:00
jcamiel
380c525d3a Update clap 3.2.6. 2022-06-21 20:17:38 +02:00
Fabrice Reix
99768edcff Encode string variable in JSON body 2022-06-21 15:15:21 +02:00
jcamiel
1c81471e45 Log response body if very verbose option is used. 2022-06-19 19:09:44 +02:00
jcamiel
75b34f8d9c Add very-verbose option. 2022-06-19 19:09:44 +02:00
jcamiel
e354efbb44 Update comments. 2022-06-19 19:09:44 +02:00
jcamiel
af253975b0 Use reference in function signatures. 2022-06-19 19:09:44 +02:00
jcamiel
cd444b07d0 Use minimal chrono features (to remove potential CVE in time crate) 2022-06-17 13:58:51 +02:00
jcamiel
bd92282b58 Update dependencies. 2022-06-17 11:49:40 +02:00
jcamiel
aa78be771a Update clap 3.2.4. 2022-06-17 10:53:54 +02:00
jcamiel
2235ca7bec Update READMEs 2022-06-13 09:04:29 +02:00
Fabrice Reix
e239891ffc Use Template type for cookie value 2022-06-12 21:35:12 +02:00
jcamiel
79c2f2b9be Format function docs. 2022-06-11 12:33:16 +02:00
jcamiel
e962de40b8 Move ResponseCookie, CookieAttribute to http module. 2022-06-11 12:33:16 +02:00
jcamiel
f52fb5c2bb Rename http/response_decoding/Encoding to http/response_decoding/ContentEncoding. 2022-06-11 12:33:16 +02:00
jcamiel
b938bd002e Rename http/http_decoding to http/response_decoding. 2022-06-11 12:33:16 +02:00
jcamiel
fad45bc189 Move encoding, is_html, text funtcion from runner/http_response to http/content_decoding. 2022-06-09 14:22:43 +02:00
jcamiel
922635d638 Use HttpError as error model for http package. 2022-06-09 14:22:43 +02:00
jcamiel
82fea8c04f Updated README from the canonical doc. 2022-06-01 10:34:33 +02:00
jcamiel
0e0b6697e7 Update dependencies. 2022-05-28 12:01:27 +02:00
jcamiel
87f86424b5 Use art ressources and delete svg ressources from docs. 2022-05-19 11:06:25 +02:00
jcamiel
d349f7f788 Fix certificate test message.
On with openssl 3.0.0, some messages have been changed.
For this test, I think this PR has updated our expected value: ade08735f9 (diff-1c0b5127081224cb77ee0fb3e3032c48227c476fca67312ae8c19efea9813e38R61)
2022-05-17 21:12:57 +02:00
jcamiel
68b3d3aec0 Modify unwrap_or_exit arguments order.
First something to unwrap, then message seems mire logical.
2022-05-17 15:36:18 +02:00
jcamiel
ef256c03f9 Update man. 2022-05-16 21:53:36 +02:00
jcamiel
68b0f17fd4 Update READMEs. 2022-05-12 18:33:28 +02:00
jcamiel
cf240a3921 Fix Brotli response body decoding. 2022-05-12 08:49:11 +02:00
jcamiel
7c6b03fc73 Fix implicit body asserts on compressed response body. 2022-05-11 17:36:48 +02:00
jcamiel
5c318c2656 Update clap 3.1.18. 2022-05-11 14:49:08 +02:00
jcamiel
9b81ac1a95 Fix sha256, md5, bytes query on compressed body. 2022-05-11 10:18:03 +02:00
jcamiel
16f501d2c3 Update to Rust edition 2021. 2022-05-09 15:37:04 +02:00
jcamiel
810089bd2a Fix redirection not followed with 'location' header. 2022-05-09 08:24:14 +02:00
jcamiel
0d6b1cb7a0 Move Content_encoding related functions from runner to http. 2022-05-09 08:23:01 +02:00
jcamiel
057814555d Fix log verbose case. 2022-05-08 15:56:11 +02:00
jcamiel
59b753e07b Update Cargo.toml (lock is already up-to-date). 2022-05-08 13:42:34 +02:00
jcamiel
56df761242 Update dependencies. 2022-05-06 20:14:40 +02:00
jcamiel
bc8b4d350c Update all depedencies with cargo update. 2022-05-06 15:55:24 +02:00
jcamiel
42c272669f Remove useless logs.
Also add a function doc, use a reference for argument and make function private.
2022-05-04 19:22:31 +02:00
jcamiel
e8fc1800f2 Update serde 1.0.81. 2022-05-04 13:53:39 +02:00
jcamiel
941bbc2e36 Update serde 1.0.137 2022-05-02 17:48:15 +02:00
jcamiel
cfc2587e0a Add missing prefix for Hurl version output. 2022-04-29 19:26:40 +02:00
Fabrice Reix
67ad5a5130 Use canonical relative path for generating html Hurl file 2022-04-29 14:42:54 +02:00
jcamiel
b81ca8ab7e Update README. 2022-04-14 00:09:10 +02:00
Fabrice Reix
4b3b47841d Fix shell escape encoding for curl export 2022-04-12 07:51:35 +02:00
Fabrice Reix
2f1154fb02 Fix clippy 1.60 warnings 2022-04-10 06:48:23 +02:00
jcamiel
c67413bcef Update GitHub and crates.io README. 2022-04-01 14:43:20 +02:00
jcamiel
b34518674a Update brotli 3.3.4. 2022-04-01 13:50:14 +02:00
jcamiel
9bae7b9f43 Update indexmap 1.8.1. 2022-04-01 13:50:14 +02:00
jcamiel
33960bddcc Update libxml 0.3.1. 2022-03-28 18:04:50 +02:00
jcamiel
15e94828ee Fix panicking while processing expected Regex value. 2022-03-25 14:52:39 +01:00