This project is an API Testing example using Hurl.Dev Framework.
- Hurl.dev framework
- HTTP Requests
Precompiled binary is available at [hurl-1.6.1-x86_64-linux.tar.gz]:
$ INSTALL_DIR=/tmp
$ curl -sL https://github.com/Orange-OpenSource/hurl/releases/download/1.6.1/hurl-1.6.1-x86_64-linux.tar.gz | tar xvz -C $INSTALL_DIR
$ export PATH=$INSTALL_DIR/hurl-1.6.1:$PATHFor Debian / Ubuntu, Hurl can be installed using a binary .deb file provided in each Hurl release.
$ curl -LO https://github.com/Orange-OpenSource/hurl/releases/download/1.6.1/hurl_1.6.1_amd64.deb
$ sudo dpkg -i hurl_1.6.1_amd64.deb[hurl-bin package] for Arch Linux and derived distros is available via [AUR].
[NixOS / Nix package] is available on stable channel.
Precompiled binary is available at [hurl-1.6.1-x86_64-osx.tar.gz].
Hurl can also be installed with [Homebrew]:
$ brew install hurlHurl can be installed from a standalone zip file [hurl-1.6.1-win64.zip]. You will need to update your PATH variable.
An installer [hurl-1.6.1-win64-installer.exe] is also available.
$ choco install hurl$ scoop install hurl$ winget install hurlIf you're a Rust programmer, Hurl can be installed with cargo.
$ cargo install hurl$ docker pull orangeopensource/hurl$ npm install --save-dev @orangeopensource/hurlHurl sources are available in [GitHub].
Hurl depends on libssl, libcurl and libxml2 native libraries. You will need their development files in your platform.
$ apt install -y build-essential pkg-config libssl-dev libcurl4-openssl-dev libxml2-dev$ yum install -y pkg-config gcc openssl-devel libxml2-devel$ pacman -Sy --noconfirm pkgconf gcc openssl libxml2$ xcode-select --install
$ brew install pkg-configRunning tests:
hurl file.hurlFeel free to complement/report something in pull requests. The project is ours! 🤝