Commit Graph

866 Commits

Author SHA1 Message Date
Josh Soref
e843b00bb5
spelling: duration
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:08:12 +02:00
Josh Soref
b8c6c17a30
spelling: can
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:08:11 +02:00
hurl-bot
1c028dd598
Update crates 2023-09-29 03:01:45 +00:00
Guilherme Puida
90576a9620
Use get_non_default_options to filter logs
This uses the previously created get_non_default_options instead of
inline logic when logging runner options.

Also fixes integration tests.
2023-09-28 15:11:44 -03:00
Guilherme Puida
b076266635
Extract log filtering logic to a separate function 2023-09-28 14:39:39 -03:00
Guilherme Puida
ff366b581e
Log only non-default options in verbose mode
This patch alters the logging of options to only display non-default
options when running with --verbose. The behavior of --very-verbose
is not affected.

This commit also fixes all integration tests that were broken with
the change to the logger output.
2023-09-27 20:14:41 -03:00
hurl-bot
5e646b8827
Update crates 2023-09-26 16:24:17 +00:00
hurl-bot
4dac6e09f4
Update crates 2023-09-26 03:01:41 +00:00
jcamiel
07845377f4
Use generic GitHub release link in installation instructions. 2023-09-21 13:26:18 +00:00
hurl-bot
6870aaa5f5
Update hurl version to 4.2.0-SNAPSHOT 2023-09-21 12:08:40 +00:00
hurl-bot
b12b761921
Create 4.1.0 release 2023-09-21 10:56:10 +00:00
Fabrice Reix
50f8901f60
Update Rust to 1.72.1 2023-09-20 14:15:54 +00:00
jcamiel
fee45c9c6e
Fix path-as-is vs path_as_is 2023-09-20 14:43:44 +02:00
jcamiel
419c377f31
Update docs. 2023-09-19 15:12:18 +02:00
hurl-bot
ba8e7f6250
Update crates 2023-09-19 03:01:58 +00:00
hurl-bot
50c20d3863
Update crates 2023-09-16 03:01:42 +00:00
jcamiel
8829b393b3
Update docs. 2023-09-14 16:18:20 +02:00
hurl-bot
989603c545
Update crates 2023-09-14 03:01:59 +00:00
Fabrice Reix
11628d4766
Add delay CLI option 2023-09-13 16:18:28 +02:00
hurl-bot
0d79aa9e71
Update crates 2023-09-13 03:01:44 +00:00
jcamiel
f82ed05d9a
Refacto for XML parsing.
Previously, the parser was rather raw: we processed the buffer bytes by bytes, checking if the buffer was a valid XML file.
Now, we use libxml SAX parser to detect the end of the XML.
2023-09-12 12:15:35 +00:00
jcamiel
d48dc7e296
Fix typo. 2023-09-11 13:31:55 +02:00
jcamiel
336ab101c8
Remove unused enum variant. 2023-09-11 11:32:25 +02:00
Fabrice Reix
915f539a4e
Fix parsing jsonpath slice 2023-09-11 09:00:26 +00:00
hurl-bot
91af068cb2
Update crates 2023-09-11 03:01:52 +00:00
jcamiel
b457ea8f30
Remove static lifetimes from parsing functions. 2023-09-08 15:43:34 +02:00
jcamiel
30657d84a9
Add more tests units on XML parser. 2023-09-08 13:50:57 +02:00
jcamiel
c2342b90cb
Use operator for equals predicate in tests. 2023-09-08 11:12:09 +02:00
jcamiel
35beab2c18
Fix deprecated calls. 2023-09-08 09:25:17 +02:00
hurl-bot
2eb22da885
Update crates 2023-09-08 03:02:02 +00:00
jcamiel
c56bc1380e
Print host architecture with --version 2023-09-07 15:45:52 +02:00
hurl-bot
025a453b97
Update crates 2023-09-06 03:01:56 +00:00
hurl-bot
7d8cc1edac
Update crates 2023-09-04 03:02:09 +00:00
hurl-bot
20c228db19
Update crates 2023-09-01 03:01:51 +00:00
Fabrice Reix
9e3a9ae3b2
Fix typos 2023-08-31 12:11:00 +02:00
Fabrice Reix
da233dbd7a
Fix clippy warnings 2023-08-31 11:36:52 +02:00
Fabrice Reix
1ddda4c86b
Update Rust to 1.72 2023-08-31 11:27:36 +02:00
hurl-bot
a1ddd2f82b
Update crates 2023-08-31 03:01:55 +00:00
hurl-bot
7aaf70ddac
Update crates 2023-08-29 03:02:38 +00:00
Philipp Paulweber
66d0daf4a2
Formatter: fixed missing delayy option kind 2023-08-27 16:15:37 +02:00
Philipp Paulweber
902652421d
Runner: provided request delay logic 2023-08-27 16:15:37 +02:00
Philipp Paulweber
bcaf19f842
Parser: support 'delay' options to define milliseconds request delays 2023-08-27 16:15:37 +02:00
apparentorder
7e476a44ae
Update crates (again) 2023-08-26 07:24:57 +02:00
apparentorder
12f8bcd5ea
Update crates (again) 2023-08-25 21:27:06 +02:00
apparentorder
e5a6a3a0ae
Update crates 2023-08-25 07:52:33 +02:00
apparentorder
1b7ae46360
fix formatting 2023-08-24 15:24:45 +02:00
apparentorder
78a45f1f33
when setting aws_sigv4, explicitly check for and report "unknown option" from libcurl 2023-08-24 15:18:54 +02:00
apparentorder
c1063f8d19
introduce HttpError::LibcurlUnknownOption to report unsupported libcurl options 2023-08-24 15:18:53 +02:00
apparentorder
56d4fa4485
Add the aws-sigv4 option to generate AWS SigV4 signed requests
AWS SigV4 support is available in curl since 7.75.0 (December 2020).

Add the necessary bits for Hurl to understand this option and pass
it on to libcurl, both as a command line option `--aws-sigv4` and
as a per-request option `aws-sigv4` in Hurlfiles.

Do not emit `Authorization: Basic` when aws-sigv4 is used, as this
would take priority over the `Authorization` header generated by libcurl.
Instead, explicitly set `username` and `password` options.

Suppress removal of the `Expect:` header when using aws-sigv4, as a
workaround for curl/curl#11664.

Add a corresponding integration test.
2023-08-24 15:18:53 +02:00
apparentorder
58c4e0534f
allow alphanumeric instead of alphabetic in option() parsing
This change allows option names to contain digits, like in `aws-sigv4`.
2023-08-24 15:18:53 +02:00