mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 00:44:55 +03:00
Update hurl version to 4.3.0-SNAPSHOT
This commit is contained in:
parent
0b5c164612
commit
3927dcc622
64
Cargo.lock
generated
64
Cargo.lock
generated
@ -61,9 +61,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "anstream"
|
||||
version = "0.6.5"
|
||||
version = "0.6.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6"
|
||||
checksum = "628a8f9bd1e24b4e0db2b4bc2d000b001e7dd032d54afa60a68836aeec5aa54a"
|
||||
dependencies = [
|
||||
"anstyle",
|
||||
"anstyle-parse",
|
||||
@ -115,9 +115,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
||||
|
||||
[[package]]
|
||||
name = "base64"
|
||||
version = "0.21.6"
|
||||
version = "0.21.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c79fed4cdb43e993fcdadc7e58a09fd0e3e649c4436fa11da71c9f1f3ee7feb9"
|
||||
checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
|
||||
|
||||
[[package]]
|
||||
name = "bit-set"
|
||||
@ -142,9 +142,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "2.4.1"
|
||||
version = "2.4.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
|
||||
checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
|
||||
|
||||
[[package]]
|
||||
name = "block-buffer"
|
||||
@ -211,18 +211,18 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "clap"
|
||||
version = "4.4.14"
|
||||
version = "4.4.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "33e92c5c1a78c62968ec57dbc2440366a2d6e5a23faf829970ff1585dc6b18e2"
|
||||
checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c"
|
||||
dependencies = [
|
||||
"clap_builder",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clap_builder"
|
||||
version = "4.4.14"
|
||||
version = "4.4.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f4323769dc8a61e2c39ad7dc26f6f2800524691a44d74fe3d1071a5c24db6370"
|
||||
checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anstyle",
|
||||
@ -496,7 +496,7 @@ checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46"
|
||||
|
||||
[[package]]
|
||||
name = "hurl"
|
||||
version = "4.2.0"
|
||||
version = "4.3.0-SNAPSHOT"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"brotli",
|
||||
@ -530,7 +530,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hurl_core"
|
||||
version = "4.2.0"
|
||||
version = "4.3.0-SNAPSHOT"
|
||||
dependencies = [
|
||||
"float-cmp",
|
||||
"libxml",
|
||||
@ -539,7 +539,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hurlfmt"
|
||||
version = "4.2.0"
|
||||
version = "4.3.0-SNAPSHOT"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"clap",
|
||||
@ -590,9 +590,9 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
|
||||
|
||||
[[package]]
|
||||
name = "js-sys"
|
||||
version = "0.3.66"
|
||||
version = "0.3.67"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca"
|
||||
checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1"
|
||||
dependencies = [
|
||||
"wasm-bindgen",
|
||||
]
|
||||
@ -645,7 +645,7 @@ version = "0.0.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3af92c55d7d839293953fcd0fda5ecfe93297cfde6ffbdec13b41d99c0ba6607"
|
||||
dependencies = [
|
||||
"bitflags 2.4.1",
|
||||
"bitflags 2.4.2",
|
||||
"libc",
|
||||
"redox_syscall",
|
||||
]
|
||||
@ -675,9 +675,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "linux-raw-sys"
|
||||
version = "0.4.12"
|
||||
version = "0.4.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456"
|
||||
checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
@ -782,7 +782,7 @@ checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf"
|
||||
dependencies = [
|
||||
"bit-set",
|
||||
"bit-vec",
|
||||
"bitflags 2.4.1",
|
||||
"bitflags 2.4.2",
|
||||
"lazy_static",
|
||||
"num-traits",
|
||||
"rand",
|
||||
@ -900,11 +900,11 @@ checksum = "3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422"
|
||||
|
||||
[[package]]
|
||||
name = "rustix"
|
||||
version = "0.38.28"
|
||||
version = "0.38.30"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316"
|
||||
checksum = "322394588aaf33c24007e8bb3238ee3e4c5c09c084ab32bc73890b99ff326bca"
|
||||
dependencies = [
|
||||
"bitflags 2.4.1",
|
||||
"bitflags 2.4.2",
|
||||
"errno",
|
||||
"libc",
|
||||
"linux-raw-sys",
|
||||
@ -1155,9 +1155,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen"
|
||||
version = "0.2.89"
|
||||
version = "0.2.90"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e"
|
||||
checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"wasm-bindgen-macro",
|
||||
@ -1165,9 +1165,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-backend"
|
||||
version = "0.2.89"
|
||||
version = "0.2.90"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826"
|
||||
checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"log",
|
||||
@ -1180,9 +1180,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro"
|
||||
version = "0.2.89"
|
||||
version = "0.2.90"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2"
|
||||
checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"wasm-bindgen-macro-support",
|
||||
@ -1190,9 +1190,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro-support"
|
||||
version = "0.2.89"
|
||||
version = "0.2.90"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283"
|
||||
checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -1203,9 +1203,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-shared"
|
||||
version = "0.2.89"
|
||||
version = "0.2.90"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f"
|
||||
checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b"
|
||||
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
|
36
README.md
36
README.md
@ -200,6 +200,8 @@ Table of Contents
|
||||
* [Others](#others)
|
||||
* [HTTP Version](#http-version)
|
||||
* [Polling and Retry](#polling-and-retry)
|
||||
* [Delaying Requests](#delaying-requests)
|
||||
* [Skipping Requests](#skipping-requests)
|
||||
* [Testing Endpoint Performance](#testing-endpoint-performance)
|
||||
* [Using SOAP APIs](#using-soap-apis)
|
||||
* [Capturing and Using a CSRF Token](#capturing-and-using-a-csrf-token)
|
||||
@ -682,6 +684,40 @@ jsonpath "$.state" == "COMPLETED"
|
||||
|
||||
[Doc](https://hurl.dev/docs/entry.html#retry)
|
||||
|
||||
### Delaying Requests
|
||||
|
||||
Add delay for every request, or a particular requests:
|
||||
|
||||
```hurl
|
||||
# Delaying this request by 5s
|
||||
GET https://example.org/turtle
|
||||
[Options]
|
||||
delay: 5000
|
||||
HTTP 200
|
||||
|
||||
# No delay!
|
||||
GET https://example.org/turtle
|
||||
HTTP 200
|
||||
```
|
||||
|
||||
[Doc](https://hurl.dev/docs/manual.html#delay)
|
||||
|
||||
### Skipping Requests
|
||||
|
||||
```hurl
|
||||
# a, b, d are runner, c is skipped
|
||||
GET https://example.org/a
|
||||
|
||||
GET https://example.org/b
|
||||
[Options]
|
||||
skip: true
|
||||
|
||||
GET https://example.org/c
|
||||
|
||||
GET https://example.org/d
|
||||
```
|
||||
|
||||
[Doc](https://hurl.dev/docs/manual.html#skip)
|
||||
|
||||
|
||||
### Testing Endpoint Performance
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH hurl 1 "11 Jan 2024" "hurl 4.2.0" " Hurl Manual"
|
||||
.TH hurl 1 "17 Jan 2024" "hurl 4.3.0-SNAPSHOT" " Hurl Manual"
|
||||
.SH NAME
|
||||
|
||||
hurl - run and test HTTP requests.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH hurl 1 "11 Jan 2024" "hurl 4.2.0" " Hurl Manual"
|
||||
.TH hurl 1 "17 Jan 2024" "hurl 4.3.0-SNAPSHOT" " Hurl Manual"
|
||||
.SH NAME
|
||||
|
||||
hurlfmt - format Hurl files
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hurl"
|
||||
version = "4.2.0"
|
||||
version = "4.3.0-SNAPSHOT"
|
||||
authors = ["Fabrice Reix <fabrice.reix@orange.com>", "Jean-Christophe Amiel <jeanchristophe.amiel@orange.com>", "Filipe Pinto <filipe.pinto@orange.com>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
@ -17,10 +17,10 @@ name = "hurl"
|
||||
vendored-openssl = ["curl/static-ssl", "curl-sys/static-ssl"]
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.21.6"
|
||||
base64 = "0.21.7"
|
||||
brotli = "3.4.0"
|
||||
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
|
||||
clap = { version = "4.4.14", features = ["cargo", "string", "wrap_help"] }
|
||||
clap = { version = "4.4.18", features = ["cargo", "string", "wrap_help"] }
|
||||
colored = "2.1.0"
|
||||
curl = "0.4.44"
|
||||
curl-sys = "0.4.70"
|
||||
@ -29,7 +29,7 @@ float-cmp = "0.9.0"
|
||||
glob = "0.3.1"
|
||||
hex = "0.4.3"
|
||||
hex-literal = "0.4.1"
|
||||
hurl_core = { version = "4.2.0", path = "../hurl_core" }
|
||||
hurl_core = { version = "4.3.0-SNAPSHOT", path = "../hurl_core" }
|
||||
libflate = "2.0.0"
|
||||
libxml = "0.3.3"
|
||||
md5 = "0.7.0"
|
||||
|
@ -192,6 +192,8 @@ Table of Contents
|
||||
* [Others](#others)
|
||||
* [HTTP Version](#http-version)
|
||||
* [Polling and Retry](#polling-and-retry)
|
||||
* [Delaying Requests](#delaying-requests)
|
||||
* [Skipping Requests](#skipping-requests)
|
||||
* [Testing Endpoint Performance](#testing-endpoint-performance)
|
||||
* [Using SOAP APIs](#using-soap-apis)
|
||||
* [Capturing and Using a CSRF Token](#capturing-and-using-a-csrf-token)
|
||||
@ -674,6 +676,40 @@ jsonpath "$.state" == "COMPLETED"
|
||||
|
||||
[Doc](https://hurl.dev/docs/entry.html#retry)
|
||||
|
||||
### Delaying Requests
|
||||
|
||||
Add delay for every request, or a particular requests:
|
||||
|
||||
```hurl
|
||||
# Delaying this request by 5s
|
||||
GET https://example.org/turtle
|
||||
[Options]
|
||||
delay: 5000
|
||||
HTTP 200
|
||||
|
||||
# No delay!
|
||||
GET https://example.org/turtle
|
||||
HTTP 200
|
||||
```
|
||||
|
||||
[Doc](https://hurl.dev/docs/manual.html#delay)
|
||||
|
||||
### Skipping Requests
|
||||
|
||||
```hurl
|
||||
# a, b, d are runner, c is skipped
|
||||
GET https://example.org/a
|
||||
|
||||
GET https://example.org/b
|
||||
[Options]
|
||||
skip: true
|
||||
|
||||
GET https://example.org/c
|
||||
|
||||
GET https://example.org/d
|
||||
```
|
||||
|
||||
[Doc](https://hurl.dev/docs/manual.html#skip)
|
||||
|
||||
|
||||
### Testing Endpoint Performance
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hurl_core"
|
||||
version = "4.2.0"
|
||||
version = "4.3.0-SNAPSHOT"
|
||||
authors = ["Fabrice Reix <fabrice.reix@orange.com>", "Jean-Christophe Amiel <jeanchristophe.amiel@orange.com>", "Filipe Pinto <filipe.pinto@orange.com>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hurlfmt"
|
||||
version = "4.2.0"
|
||||
version = "4.3.0-SNAPSHOT"
|
||||
authors = ["Fabrice Reix <fabrice.reix@orange.com>", "Jean-Christophe Amiel <jeanchristophe.amiel@orange.com>", "Filipe Pinto <filipe.pinto@orange.com>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
@ -11,10 +11,10 @@ repository = "https://github.com/Orange-OpenSource/hurl"
|
||||
rust-version = "1.73.0"
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.21.6"
|
||||
clap = { version = "4.4.14", features = ["cargo", "wrap_help"] }
|
||||
base64 = "0.21.7"
|
||||
clap = { version = "4.4.18", features = ["cargo", "wrap_help"] }
|
||||
colored = "2.1.0"
|
||||
hurl_core = { version = "4.2.0", path = "../hurl_core" }
|
||||
hurl_core = { version = "4.3.0-SNAPSHOT", path = "../hurl_core" }
|
||||
regex = "1.10.2"
|
||||
|
||||
[dev-dependencies]
|
||||
|
Loading…
Reference in New Issue
Block a user