Skip to content

Commit

Permalink
Sync doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamiel committed Dec 11, 2024
1 parent 5a76459 commit 5a480e9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sites/hurl.dev/_docs/entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ skip: true
HTTP 200
```

Additionally, a `delay` can be inserted between requests, to add a delay before execution of a request.
Additionally, a `delay` can be inserted between requests, to add a delay before execution of a request (aka sleep).

```hurl
# A 5 seconds delayed request
Expand Down
12 changes: 10 additions & 2 deletions sites/hurl.dev/_docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Precompiled binary is available at [Hurl latest GitHub release]:

```shell
$ INSTALL_DIR=/tmp
$ VERSION=5.0.1
$ VERSION=6.0.0
$ curl --silent --location https://github.com/Orange-OpenSource/hurl/releases/download/$VERSION/hurl-$VERSION-x86_64-unknown-linux-gnu.tar.gz | tar xvz -C $INSTALL_DIR
$ export PATH=$INSTALL_DIR/hurl-$VERSION-x86_64-unknown-linux-gnu/bin:$PATH
```
Expand All @@ -25,11 +25,19 @@ $ export PATH=$INSTALL_DIR/hurl-$VERSION-x86_64-unknown-linux-gnu/bin:$PATH
For Debian / Ubuntu, Hurl can be installed using a binary .deb file provided in each Hurl release.

```shell
$ VERSION=5.0.1
$ VERSION=6.0.0
$ curl --location --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/$VERSION/hurl_${VERSION}_amd64.deb
$ sudo apt update && sudo apt install ./hurl_${VERSION}_amd64.deb
```

For Ubuntu (bionic, focal, jammy, noble), Hurl can be installed from `ppa:lepapareil/hurl`

```shell
$ VERSION=6.0.0
$ sudo apt-add-repository -y ppa:lepapareil/hurl
$ sudo apt install hurl="${VERSION}"*
```

#### Alpine

Hurl is available on `testing` channel.
Expand Down
2 changes: 1 addition & 1 deletion sites/hurl.dev/_docs/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ cert: /etc/client-cert.pem # client authentication certificate
key: /etc/client-cert.key # client authentication certificate key
compressed: true # request a compressed response
connect-timeout: 20s # connect timeout
delay: 3s # delay for this request
delay: 3s # delay for this request (aka sleep)
http3: true # use HTTP/3 protocol version
insecure: true # allow insecure SSL connections and transfers
ipv6: true # use IPv6 addresses
Expand Down
2 changes: 1 addition & 1 deletion sites/hurl.dev/_docs/samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ jsonpath "$.state" == "COMPLETED"
Add delay for every request, or a particular request:

```hurl
# Delaying this request by 5 seconds
# Delaying this request by 5 seconds (aka sleep)
GET https://example.org/turtle
[Options]
delay: 5s
Expand Down

0 comments on commit 5a480e9

Please sign in to comment.