From 24f5a0754003dedb160f2275f41e76707253e71e Mon Sep 17 00:00:00 2001 From: Silen Locatelli <88315530+SilenLoc@users.noreply.github.com> Date: Wed, 31 Jul 2024 08:54:57 +0200 Subject: [PATCH] feat: adjustments to slides from yester day --- .gitignore | 10 ++++++++++ slides/slides.md | 22 ++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index b2aeda8..50c2211 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,12 @@ .idea .dist/ +/showcases/rocket/store/26bd064c-3f43-4535-8e9d-987a7d873b09-run.html +/showcases/rocket/store/26bd064c-3f43-4535-8e9d-987a7d873b09-source.html +/showcases/rocket/store/26bd064c-3f43-4535-8e9d-987a7d873b09-timeline.html +/showcases/rocket/store/68da470a-9d87-4b63-a31c-b31ec132abfb-run.html +/showcases/rocket/store/68da470a-9d87-4b63-a31c-b31ec132abfb-source.html +/showcases/rocket/store/68da470a-9d87-4b63-a31c-b31ec132abfb-timeline.html +/showcases/rocket/store/fedeb3d8-c318-4400-a4bc-d3bdbe7cfd12-run.html +/showcases/rocket/store/fedeb3d8-c318-4400-a4bc-d3bdbe7cfd12-source.html +/showcases/rocket/store/fedeb3d8-c318-4400-a4bc-d3bdbe7cfd12-timeline.html +/showcases/rocket/index.html diff --git a/slides/slides.md b/slides/slides.md index eee74f9..7b4a0ee 100644 --- a/slides/slides.md +++ b/slides/slides.md @@ -25,16 +25,15 @@ __ __ __ __ .______ __ # What I search in tools ``` - │ xxxxxxxxxx - │ xxxxxxxxx + │ xxxxx │ xxx │ x │ xx -value │ x │ x │ x - │ x + │ x +value │ x │ xx │ x │xx @@ -57,7 +56,7 @@ Main Maintainers: - https://github.com/fabricereix - https://github.com/jcamiel -Written in Rust, depends and lives off on libcurl +Written in Rust, depends on and lives off libcurl --- # What is Hurl? @@ -127,6 +126,10 @@ jsonpath "$.cats[0].lives" == 9 # There is more GET {{target}}/bar x-any-header-i-want: some value +HTTP * + +Form + [Asserts] # We can assert the body with filters over regex @@ -147,7 +150,7 @@ GET {{target}}/api/cats [Captures] # We can capture a value -cat_name: jsonpath "$.cats[0].name" == "Felix" +cat_name: jsonpath "$.cats[0].name" # And reuse the value POST {{target}}/api/pet/{{cat_name}} @@ -165,24 +168,19 @@ Install: ```bash # npm npm install --save-dev @orangeopensource/hurl - # unix curl / sh brew install hurl - # mac brew install hurl port install hurl - # windows scoop install hurl choco install hurl winget install hurl installer - # via rust cargo install hurl - # docker docker pull ghcr.io/orange-opensource/hurl:latest ``` @@ -191,7 +189,7 @@ docker pull ghcr.io/orange-opensource/hurl:latest --- ```bash -cd showcases +cd showcases/rocket hurl --version ``` ---