Fabrice Reix
6f28ab19f6
Add function in expression
2024-11-21 10:42:59 +00:00
Jean-Christophe Amiel
d9557522f2
Add source_info to VariableDefinition AST struct.
2024-11-19 17:27:15 +01:00
Jean-Christophe Amiel
ace0757204
Fix missing space in variable option HTML export
2024-11-19 11:24:10 +01:00
Fabrice Reix
5df1431d32
Add Placeholder in AST for inner spacing
2024-11-19 09:16:03 +00:00
Fabrice Reix
eb16dde4c3
Treat Hurl string as template
2024-11-18 21:47:14 +01:00
hurl-bot
d0c7d02345
Update crates
2024-11-17 03:13:23 +00:00
hurl-bot
f64a5322bf
Update crates
2024-11-15 03:11:04 +00:00
hurl-bot
f2d60f2ed0
Update crates
2024-11-14 03:05:39 +00:00
Jean-Christophe Amiel
71d4756047
Introduce VariableSet struct instead of HashMap to hold variables.
2024-11-13 15:06:10 +00:00
hurl-bot
828917b79d
Update crates
2024-11-13 03:05:04 +00:00
hurl-bot
1d0b98440f
Update crates
2024-11-12 03:03:19 +00:00
hurl-bot
f8eaf89656
Update crates
2024-11-10 03:06:09 +00:00
Jean-Christophe Amiel
9c91fe8dba
Add curl debug command to HTML report
2024-11-08 22:39:40 +01:00
Fabrice Reix
1908c6c23e
Use eval and render from expr module
2024-11-08 18:32:14 +01:00
Jean-Christophe Amiel
dd6519b82f
Allow any string in Location Header when not following redirection
2024-11-08 17:36:49 +01:00
Jean-Christophe Amiel
5aa7ad577b
Fix request log.
2024-11-08 16:47:14 +01:00
Jean-Christophe Amiel
9ab2e17716
Add --curl option to export executed requests to curl commands
2024-11-07 17:01:21 +01:00
Jean-Christophe Amiel
fb85f78137
Add curl debug command to --json and JSON report
2024-11-07 13:45:18 +01:00
hurl-bot
6bc76e6b84
Update crates
2024-11-07 13:09:18 +01:00
Jean-Christophe Amiel
7fc2d56aa7
Move curl command construction in its own struct.
2024-11-06 13:30:06 +00:00
hurl-bot
9774c8c450
Update crates
2024-11-06 03:03:46 +00:00
Fabrice Reix
f3eaf96ed0
Distinguish parsing template/expression
2024-11-04 16:50:50 +00:00
Fabrice Reix
e341af50c2
Remove url-specific parser (align with grammar)
2024-11-04 12:49:33 +00:00
hurl-bot
9cfc5b90b0
Update crates
2024-11-03 03:09:46 +00:00
Fabrice Reix
64b93a505b
Refacto using our own Url struct
2024-10-31 14:03:50 +01:00
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