Commit Graph

1444 Commits

Author SHA1 Message Date
Jean-Christophe Amiel
36203a3c78
Fix reading standard input multiple times 2024-10-30 15:05:49 +01:00
Jean-Christophe Amiel
afcd47fd01
Support more JSON / XML "like" mimetypes with debug output 2024-10-30 10:42:02 +01:00
hurl-bot
fa5068fb63
Update crates 2024-10-29 03:07:50 +00:00
Jean-Christophe Amiel
fa7539b63d
Add limit-rate per request. 2024-10-28 17:58:10 +00:00
Jean-Christophe Amiel
22a879ca68
Update doc on --limit-rate. 2024-10-28 17:58:10 +00:00
Jean-Christophe Amiel
fa34ee782b
Implement --limit-rate from curl 2024-10-28 15:31:11 +01:00
Jean-Christophe Amiel
f1a35a08ef
Remove unnessecary Shutdown message. 2024-10-25 17:44:51 +00:00
Jean-Christophe Amiel
e8e5f2f92c
Fix graceful shutdown of workers threads in --test. 2024-10-25 17:44:50 +00:00
Jean-Christophe Amiel
244177d296
Categorise options in --help 2024-10-25 08:58:21 +00:00
Jean-Christophe Amiel
d5f1b3eb3f
Remove the crate float-cmp.
We can do a "classic" float comparison as clippy suggests https://rust-lang.github.io/rust-clippy/rust-1.72.0/index.html#/float_cmp and remove `float-cmp` from

```rust
let error_margin = f64::EPSILON; // Use an epsilon for comparison
// Or, if Rust <= 1.42, use `std::f64::EPSILON` constant instead.
// let error_margin = std::f64::EPSILON;
if (y - 1.23f64).abs() < error_margin { }
if (y - x).abs() > error_margin { }
```

Note: we compare `f64` for predicate value here 07512a9cbf/packages/hurl/src/runner/number.rs (L32-L40)
so there is no reason to use `float-cmp` in jsonpath module
2024-10-25 06:53:43 +00:00
hurl-bot
1a4c949e5d
Update crates 2024-10-25 05:57:22 +00:00
Jean-Christophe Amiel
1efd816035
Update to Rust 1.82. 2024-10-25 07:26:03 +02:00
Jean-Christophe Amiel
2eb7d02d4e
Add support for backtick strings in predicates values.
We are now able to support this code:

```
GET http://foo.com
HTTP 200
[Asserts]
xpath "string(//title)" == `Bob says: "Hi"`
```
2024-10-24 15:31:13 +02:00
Jean-Christophe Amiel
035d844f1d
Fix option connect-timeout help message and documentation. 2024-10-24 09:04:35 +02:00
hurl-bot
ad06a45345
Update crates 2024-10-23 03:06:35 +00:00
Fabrice Reix
c62fb43eea
Check protocol at runtime 2024-10-21 05:59:45 +00:00
hurl-bot
dc15773323
Update crates 2024-10-20 03:10:02 +00:00
hurl-bot
9283dff948
Update crates 2024-10-19 03:05:58 +00:00
hurl-bot
7224a5e0ae
Update crates 2024-10-18 14:05:10 +00:00
Zikani Nyirenda Mwase
d7fe2318c9
feat: add connect-timeout option per request
Added a connect-timeout option to allow users to specify a
connect-timeout for each request in a hurl file.

Closes #3163
2024-10-18 08:51:42 +00:00
hurl-bot
9f74004026
Update crates 2024-10-17 03:06:28 +00:00
hurl-bot
7f18216d7e
Update crates 2024-10-16 03:08:11 +00:00
hurl-bot
4cf44ffe0c
Update crates 2024-10-09 03:06:03 +00:00
hurl-bot
a80a4645a9
Update crates 2024-10-07 03:08:15 +00:00
sandeshbhusal
395c2bc7ec
chore: cargo fmt + clippy 2024-10-05 09:56:53 +00:00
sandeshbhusal
3b843238a2
feat: Added not equl operator in jsonpath predicate 2024-10-05 09:56:52 +00:00
hurl-bot
629c133762
Update crates 2024-10-04 03:06:08 +00:00
hurl-bot
8007988979
Update crates 2024-09-30 03:10:02 +00:00
hurl-bot
9d94720551
Update crates 2024-09-29 03:09:21 +00:00
Fabrice Reix
b896ffb938
Fix filename parsing (used by cert option) 2024-09-28 18:09:15 +02:00
Fabrice Reix
e1100acbaf
Support case-insensitive Cookie Attributes 2024-09-28 14:14:03 +02:00
hurl-bot
2a2e737a00
Update crates 2024-09-26 03:06:26 +00:00
Jesús Vargas
cd7bb24c3b
feature(jsonpath): adding possibility to filter by boolean 2024-09-24 05:41:08 +00:00
hurl-bot
f2e1dd6f4f
Update crates 2024-09-21 03:02:36 +00:00
Jean-Christophe Amiel
c92df5a3dc
Add additional check on maximum response size.
This insures that --max-filesize works even if libcurl < 8.4.0 (see https://curl.se/docs/manpage.html#--max-filesize)
2024-09-20 16:58:45 +02:00
hurl-bot
07512a9cbf
Update crates 2024-09-20 03:03:38 +00:00
Jean-Christophe Amiel
3c1fbe572d
Implements short syntax for [Form], [Query], [Multipart]. 2024-09-19 10:08:18 +00:00
hurl-bot
7aeff6dae9
Update crates 2024-09-19 03:03:37 +00:00
Jean-Christophe Amiel
d8924d5b5c
Update READMEs 2024-09-18 16:17:56 +02:00
hurl-bot
50a5b7567f
Update crates 2024-09-18 03:02:33 +00:00
hurl-bot
49e55913f4
Update crates 2024-09-17 03:02:43 +00:00
Fabrice Reix
298d0eea0c
Check that variables do not conflict with existing functions 2024-09-15 08:44:38 +02:00
Jean-Christophe Amiel
e9c33bd716
Update to Rust version 1.81 2024-09-14 11:01:46 +02:00
hurl-bot
bd9d26e599
Update crates 2024-09-12 03:02:08 +00:00
hurl-bot
3849c720ea
Update hurl version to 6.0.0-SNAPSHOT 2024-09-11 13:35:35 +00:00
hurl-bot
1db27c92c5
Update crates 2024-09-09 03:03:41 +00:00
hurl-bot
64b7e4cd22
Update crates 2024-09-08 03:03:20 +00:00
hurl-bot
32f142a251
Update crates 2024-09-05 03:01:58 +00:00
hurl-bot
8a6e9626e7
Create 5.0.1 release 2024-08-30 12:33:04 +00:00
Jean-Christophe Amiel
062e2ab0f8
Fix regression in --output when output file doesn't exist. 2024-08-29 15:44:03 +02:00