Commit Graph

2886 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
4c55eeaac7
Update changelog. 2024-10-30 11:31:58 +01:00
Jean-Christophe Amiel
afcd47fd01
Support more JSON / XML "like" mimetypes with debug output 2024-10-30 10:42:02 +01:00
Fabrice Reix
86a7b6bf29
Add check valgrind 2024-10-29 14:58:12 +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
368f5b8a39
Update grammar. 2024-10-28 17:58:09 +00:00
Jean-Christophe Amiel
1a6eb881a5
Update Python dev dependencies. 2024-10-28 17:51:04 +01:00
Jean-Christophe Amiel
f7ecbfd323
Update changelog. 2024-10-28 17:01:02 +01:00
Jean-Christophe Amiel
fa34ee782b
Implement --limit-rate from curl 2024-10-28 15:31:11 +01:00
hurl-bot
f1bd23656a
Update crates 2024-10-28 03:10:03 +00:00
hurl-bot
a04f5d2cfd
Update actions 2024-10-27 09:29:37 +00:00
hurl-bot
0399382730
Update crates 2024-10-27 03:09:49 +00:00
Jean-Christophe Amiel
3b37755544
Update changelog. 2024-10-26 14:56:53 +02: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
6d7371bf6b
We use GitHub GraphQL API to get issues and PR referenced from issues.
Authors from issues and PR are gratified.
2024-10-25 12:29:07 +02:00
Jean-Christophe Amiel
244177d296
Categorise options in --help 2024-10-25 08:58:21 +00:00
hurl-bot
79eca83e71
Update actions 2024-10-25 08:21:26 +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
9fd010b30e
Update grammar with oneline string in predicate value.
Being able to support this code:

```
GET http://foo.com
HTTP 200
[Asserts]
xpath "string(//title)" == `Bob says: "Hi"`
```
2024-10-24 09:29: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
85fdf0f6a5
Update crates 2024-10-24 03:06:14 +00:00
hurl-bot
f765b0d8f2
Update actions 2024-10-23 12:48:18 +00:00
hurl-bot
ad06a45345
Update crates 2024-10-23 03:06:35 +00:00
Sven Schliesing
c7704af0e7
Fix typo "ped" -> "pet" 2024-10-22 20:11:26 +02:00
Fabrice Reix
c62fb43eea
Check protocol at runtime 2024-10-21 05:59:45 +00:00
hurl-bot
2491637b3d
Update crates 2024-10-21 03:09:15 +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
f3091d9cb3
fix: add connect-timeout to options.lint.hurl 2024-10-18 08:51:43 +00:00
Zikani Nyirenda Mwase
ba9e5b5b46
chore: add connect-timeout to integration test file for hurlfmt and hurl.grammar 2024-10-18 08:51:43 +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
Fabrice Reix
77c94004e8
Add test with --test and --repeat 2024-10-16 14:18:08 +02:00
hurl-bot
7f18216d7e
Update crates 2024-10-16 03:08:11 +00:00
fpinto
5a52728c8c
Fix powershell install in checks ci 2024-10-15 21:02:06 +02:00
fpinto
deeaf020c0
Fix python venv in checks ci 2024-10-15 20:40:18 +02:00
Filipe PINTO
12dc0cdaeb
Disable PAM for sudo in Fedora ci 2024-10-15 20:30:34 +02:00
hurl-bot
5dbce19ba4
Update crates 2024-10-11 03:05:13 +00:00
hurl-bot
893c2dc937
Update actions 2024-10-10 04:00:42 +00:00
hurl-bot
4cf44ffe0c
Update crates 2024-10-09 03:06:03 +00:00
hurl-bot
cb4206bef2
Update crates 2024-10-08 18:01:51 +00:00
hurl-bot
7e68faa1fb
Update actions 2024-10-08 04:00:35 +00:00
hurl-bot
a80a4645a9
Update crates 2024-10-07 03:08:15 +00:00