├── .cargo └── config.toml ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_proposal.md └── workflows │ ├── accept-pull-request.yml │ ├── auto-close-inactive-pr.yml │ ├── bin │ ├── auto-close-inactive-pr.sh │ ├── check_release_assets_sha.sh │ ├── shared.functions.sh │ └── update_workflow_actions.sh │ ├── check.yml │ ├── config │ ├── .trap_err │ └── gitleaks.toml │ ├── coverage.yml │ ├── extra-package.yml │ ├── package.yml │ ├── release.yml │ ├── test.yml │ ├── update-actions.yml │ ├── update-branch-version.yml │ └── update-crates.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── RELEASING.md ├── art ├── branding.md ├── logo-full-dark.svg ├── logo-full-light.svg ├── logo-full.acorn ├── logo-icon.acorn ├── logo-icon.svg ├── logo-mini-dark.svg ├── logo-mini-light.svg └── logo-mini.acorn ├── bin ├── activate_python3_venv.ps1 ├── activate_python3_venv.sh ├── check │ ├── ad_hoc.sh │ ├── changelog.sh │ ├── clippy.sh │ ├── compatibility.sh │ ├── completion.sh │ ├── coverage.sh │ ├── crates.sh │ ├── doc.sh │ ├── generated.sh │ ├── hadolint.sh │ ├── hurlfmt.sh │ ├── install_prerequisites.sh │ ├── license.py │ ├── ruff.sh │ ├── rust_version.py │ ├── rustfmt.sh │ ├── shellcheck.sh │ ├── valgrind.sh │ ├── xmllint.sh │ └── zizmor.sh ├── coverage_run.sh ├── coverage_uncovered_lines.py ├── disable_pam_for_sudo.sh ├── docs │ ├── build_man_md.py │ ├── build_readme.py │ ├── build_standalone_md.py │ ├── markdown.py │ ├── markdown.test.py │ ├── parser.py │ └── update_all.sh ├── environment.ps1 ├── environment.sh ├── export_cross_compile_env.sh ├── install_grcov.sh ├── install_prerequisites_alpine.sh ├── install_prerequisites_archlinux.sh ├── install_prerequisites_debian.sh ├── install_prerequisites_fedora.sh ├── install_prerequisites_macos.sh ├── install_prerequisites_ubuntu.sh ├── install_prerequisites_windows.ps1 ├── install_pythonx_for_ubuntu.sh ├── install_rust.ps1 ├── install_rust.sh ├── release │ ├── changelog_extract.py │ ├── create_deb_package.sh │ ├── create_tarball.sh │ ├── create_windows64_installer.ps1 │ ├── create_windows64_zip_package.ps1 │ ├── gen_manpage.py │ ├── get_active_toolchain.sh │ ├── get_release_note.py │ ├── get_release_note.test.py │ ├── get_version.sh │ ├── install_deb_package.sh │ ├── install_generic_linux_package.sh │ ├── install_generic_macos_package.sh │ ├── install_windows64_installer.ps1 │ ├── install_windows64_zip_package.ps1 │ ├── man.sh │ ├── package-anatomy.sh │ ├── push_package_to_chocolatey.ps1 │ ├── push_package_to_winget.ps1 │ ├── release.ps1 │ ├── release.sh │ └── sha256sum.sh ├── requirements-frozen.txt ├── requirements.txt ├── spec │ └── options │ │ ├── format.py │ │ ├── generate_all.py │ │ ├── generate_completion.py │ │ ├── generate_man.py │ │ ├── generate_source.py │ │ ├── option.py │ │ └── parser.test.py ├── test │ ├── convert_hurl_to_crlf.sh │ ├── test.ps1 │ ├── test.sh │ ├── test_integ.ps1 │ ├── test_integ.sh │ ├── test_prerequisites.ps1 │ ├── test_prerequisites.sh │ ├── test_unit.ps1 │ └── test_unit.sh ├── update_crates.sh └── windows │ ├── EnVar_plugin.zip │ ├── hurl.nsi │ ├── logo.bmp │ ├── logo.ico │ └── logo.png ├── completions ├── _hurl ├── _hurl.ps1 ├── _hurlfmt ├── _hurlfmt.ps1 ├── hurl.bash ├── hurl.fish ├── hurlfmt.bash └── hurlfmt.fish ├── contrib ├── brew │ └── README.md ├── conda-forge │ └── README.md ├── cross_compile │ └── README.md ├── docker │ ├── Dockerfile │ ├── README.md │ └── dockerhub_readme.md ├── emacs │ ├── README.md │ ├── hurl-mode.el │ └── test-syntax.hurl ├── intellij │ ├── Hurl.xml │ └── README.md ├── linux │ └── README.md ├── npm │ ├── README.md │ ├── check_publish.py │ └── hurl │ │ ├── README.md │ │ ├── archive.js │ │ ├── bin.js │ │ ├── docs │ │ ├── hurl.1 │ │ └── hurlfmt.1 │ │ ├── hurl.js │ │ ├── hurlfmt.js │ │ ├── install.js │ │ ├── package-lock.json │ │ ├── package.json │ │ └── platform.json ├── ppa │ ├── README.md │ └── debian │ │ ├── bin │ │ ├── clean.sh │ │ └── prerequisites.sh │ │ ├── cargo.config │ │ ├── changelog.template │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── hurl.install │ │ ├── rules │ │ └── source │ │ └── format ├── sample │ ├── Cargo.lock │ ├── Cargo.toml │ ├── hello.hurl │ └── src │ │ └── main.rs ├── vim │ ├── README.md │ ├── ftdetect │ │ └── hurl.vim │ ├── ftplugin │ │ └── hurl.vim │ ├── syntax │ │ └── hurl.vim │ └── test.hurl └── windows │ ├── README.md │ └── windows_package_managers │ ├── chocolatey │ ├── README.md │ └── hurl │ │ ├── hurl.nuspec │ │ └── tools │ │ └── chocolateyinstall.ps1 │ ├── scoop │ └── README.md │ └── winget │ └── README.md ├── docs ├── README.md ├── asserting-response.md ├── assets │ ├── cast │ │ ├── hurl.cast │ │ └── starwars.cast │ └── img │ │ ├── developer-tools.avif │ │ ├── developer-tools.png │ │ ├── developer-tools.webp │ │ ├── github-action-dark.avif │ │ ├── github-action-dark.png │ │ ├── github-action-dark.webp │ │ ├── github-action-light.avif │ │ ├── github-action-light.png │ │ ├── github-action-light.webp │ │ ├── github-new-repository-dark.avif │ │ ├── github-new-repository-dark.png │ │ ├── github-new-repository-dark.webp │ │ ├── github-new-repository-light.avif │ │ ├── github-new-repository-light.png │ │ ├── github-new-repository-light.webp │ │ ├── gitlab-new-repository-dark.avif │ │ ├── gitlab-new-repository-dark.png │ │ ├── gitlab-new-repository-dark.webp │ │ ├── gitlab-new-repository-light.avif │ │ ├── gitlab-new-repository-light.png │ │ ├── gitlab-new-repository-light.webp │ │ ├── gitlab-pipeline-dark.avif │ │ ├── gitlab-pipeline-dark.png │ │ ├── gitlab-pipeline-dark.webp │ │ ├── gitlab-pipeline-light.avif │ │ ├── gitlab-pipeline-light.png │ │ ├── gitlab-pipeline-light.webp │ │ ├── home-waterfall-dark.avif │ │ ├── home-waterfall-dark.png │ │ ├── home-waterfall-dark.webp │ │ ├── home-waterfall-light.avif │ │ ├── home-waterfall-light.png │ │ ├── home-waterfall-light.webp │ │ ├── hurl-html-file.png │ │ ├── hurl-html-report.png │ │ ├── logo-dark.svg │ │ ├── logo-light.svg │ │ ├── movies-box-dark.avif │ │ ├── movies-box-dark.png │ │ ├── movies-box-dark.webp │ │ ├── movies-box-light.avif │ │ ├── movies-box-light.png │ │ ├── movies-box-light.webp │ │ ├── poster-hurl.png │ │ ├── poster-starwars.png │ │ ├── quiz-dark.png │ │ ├── quiz-light.png │ │ ├── run-cycle-dark.svg │ │ ├── run-cycle-light.svg │ │ ├── timings-dark.svg │ │ └── timings-light.svg ├── capturing-response.md ├── entry.md ├── filters.md ├── frequently-asked-questions.md ├── grammar.md ├── home.md ├── hurl-file.md ├── index.md ├── installation.md ├── license.md ├── manual.md ├── manual │ ├── hurl.1 │ ├── hurl.md │ ├── hurlfmt.1 │ └── hurlfmt.md ├── request.md ├── response.md ├── running-tests.md ├── samples.md ├── spec │ ├── grammar │ │ ├── README.md │ │ ├── generate_html.sh │ │ ├── hurl.grammar │ │ └── style.css │ ├── options │ │ ├── README.md │ │ ├── hurl │ │ │ ├── aws_sigv4.option │ │ │ ├── cacert_file.option │ │ │ ├── client_cert_file.option │ │ │ ├── client_key_file.option │ │ │ ├── color.option │ │ │ ├── compressed.option │ │ │ ├── connect_timeout.option │ │ │ ├── connect_to.option │ │ │ ├── continue_on_error.option │ │ │ ├── cookies_input_file.option │ │ │ ├── cookies_output_file.option │ │ │ ├── curl.option │ │ │ ├── delay.option │ │ │ ├── error_format.option │ │ │ ├── file_root.option │ │ │ ├── follow_location.option │ │ │ ├── follow_location_trusted.option │ │ │ ├── from_entry.option │ │ │ ├── glob.option │ │ │ ├── header.option │ │ │ ├── http10.option │ │ │ ├── http11.option │ │ │ ├── http2.option │ │ │ ├── http3.option │ │ │ ├── ignore_asserts.option │ │ │ ├── include.option │ │ │ ├── insecure.option │ │ │ ├── interactive.option │ │ │ ├── ipv4.option │ │ │ ├── ipv6.option │ │ │ ├── jobs.option │ │ │ ├── json.option │ │ │ ├── limit_rate.option │ │ │ ├── max_filesize.option │ │ │ ├── max_redirects.option │ │ │ ├── max_time.option │ │ │ ├── netrc.option │ │ │ ├── netrc_file.option │ │ │ ├── netrc_optional.option │ │ │ ├── no_color.option │ │ │ ├── no_output.option │ │ │ ├── noproxy.option │ │ │ ├── output.option │ │ │ ├── parallel.option │ │ │ ├── path_as_is.option │ │ │ ├── pinned_pub_key.option │ │ │ ├── progress_bar.option │ │ │ ├── proxy.option │ │ │ ├── repeat.option │ │ │ ├── report_html.option │ │ │ ├── report_json.option │ │ │ ├── report_junit.option │ │ │ ├── report_tap.option │ │ │ ├── resolve.option │ │ │ ├── retry.option │ │ │ ├── retry_interval.option │ │ │ ├── secret.option │ │ │ ├── ssl_no_revoke.option │ │ │ ├── test.option │ │ │ ├── to_entry.option │ │ │ ├── unix_socket.option │ │ │ ├── user.option │ │ │ ├── user_agent.option │ │ │ ├── variable.option │ │ │ ├── variables_file.option │ │ │ ├── verbose.option │ │ │ └── very_verbose.option │ │ └── hurlfmt │ │ │ ├── check.option │ │ │ ├── color.option │ │ │ ├── in_place.option │ │ │ ├── input_format.option │ │ │ ├── no_color.option │ │ │ ├── output.option │ │ │ ├── output_format.option │ │ │ └── standalone.option │ ├── packages │ │ ├── hurl-x.y.z-aarch64-apple-darwin.tar.gz.anatomy │ │ ├── hurl-x.y.z-aarch64-unknown-linux-gnu.tar.gz.anatomy │ │ ├── hurl-x.y.z-x86_64-apple-darwin.tar.gz.anatomy │ │ ├── hurl-x.y.z-x86_64-pc-windows-msvc-installer.exe.anatomy │ │ ├── hurl-x.y.z-x86_64-pc-windows-msvc.zip.anatomy │ │ ├── hurl-x.y.z-x86_64-unknown-linux-gnu.tar.gz.anatomy │ │ ├── hurl_x.y.z_amd64.deb.anatomy │ │ └── hurl_x.y.z_arm64.deb.anatomy │ └── runner │ │ ├── assert_json_body.md │ │ ├── error_messages.md │ │ ├── expressions.md │ │ ├── parallel.md │ │ ├── run-cycle-dark.drawio │ │ ├── run-cycle-dark.svg │ │ ├── run-cycle-light.drawio │ │ ├── run-cycle-light.svg │ │ ├── run_cycle.md │ │ ├── secrets.md │ │ └── trailing_space.png ├── standalone │ ├── hurl-5.0.1.html │ ├── hurl-5.0.1.md │ ├── hurl-5.0.1.pdf │ ├── hurl-6.0.0.html │ ├── hurl-6.0.0.md │ ├── hurl-6.0.0.pdf │ ├── hurl-6.1.0.html │ ├── hurl-6.1.0.md │ └── hurl-6.1.0.pdf ├── templates.md └── tutorial │ ├── adding-asserts.md │ ├── captures.md │ ├── chaining-requests.md │ ├── ci-cd-integration.md │ ├── debug-tips.md │ ├── index.md │ ├── security.md │ └── your-first-hurl-file.md ├── integration ├── README.md ├── hurl │ ├── app.py │ ├── integration.py │ ├── server.py │ ├── test_curl_commands.sh │ ├── tests_error_parser │ │ ├── base64.err │ │ ├── base64.exit │ │ ├── base64.hurl │ │ ├── base64.ps1 │ │ ├── base64.sh │ │ ├── duplicate_section.err │ │ ├── duplicate_section.exit │ │ ├── duplicate_section.hurl │ │ ├── duplicate_section.ps1 │ │ ├── duplicate_section.sh │ │ ├── file.err │ │ ├── file.exit │ │ ├── file.hurl │ │ ├── file.ps1 │ │ ├── file.sh │ │ ├── file_missing_delimiter.err │ │ ├── file_missing_delimiter.exit │ │ ├── file_missing_delimiter.hurl │ │ ├── file_missing_delimiter.ps1 │ │ ├── file_missing_delimiter.sh │ │ ├── hexdigit.err │ │ ├── hexdigit.exit │ │ ├── hexdigit.hurl │ │ ├── hexdigit.ps1 │ │ ├── hexdigit.sh │ │ ├── invalid_character_at_end.err │ │ ├── invalid_character_at_end.exit │ │ ├── invalid_character_at_end.hurl │ │ ├── invalid_character_at_end.ps1 │ │ ├── invalid_character_at_end.sh │ │ ├── invalid_cookie.err │ │ ├── invalid_cookie.exit │ │ ├── invalid_cookie.hurl │ │ ├── invalid_cookie.ps1 │ │ ├── invalid_cookie.sh │ │ ├── invalid_cookiepath.err │ │ ├── invalid_cookiepath.exit │ │ ├── invalid_cookiepath.hurl │ │ ├── invalid_cookiepath.ps1 │ │ ├── invalid_cookiepath.sh │ │ ├── invalid_escape.err │ │ ├── invalid_escape.exit │ │ ├── invalid_escape.hurl │ │ ├── invalid_escape.ps1 │ │ ├── invalid_escape.sh │ │ ├── invalid_jsonpath.err │ │ ├── invalid_jsonpath.exit │ │ ├── invalid_jsonpath.hurl │ │ ├── invalid_jsonpath.ps1 │ │ ├── invalid_jsonpath.sh │ │ ├── invalid_option.err │ │ ├── invalid_option.exit │ │ ├── invalid_option.hurl │ │ ├── invalid_option.ps1 │ │ ├── invalid_option.sh │ │ ├── invalid_option_duration.err │ │ ├── invalid_option_duration.exit │ │ ├── invalid_option_duration.hurl │ │ ├── invalid_option_duration.ps1 │ │ ├── invalid_option_duration.sh │ │ ├── invalid_option_retry.err │ │ ├── invalid_option_retry.exit │ │ ├── invalid_option_retry.hurl │ │ ├── invalid_option_retry.ps1 │ │ ├── invalid_option_retry.sh │ │ ├── invalid_regex.err │ │ ├── invalid_regex.exit │ │ ├── invalid_regex.hurl │ │ ├── invalid_regex.ps1 │ │ ├── invalid_regex.sh │ │ ├── invalid_section.err │ │ ├── invalid_section.exit │ │ ├── invalid_section.hurl │ │ ├── invalid_section.ps1 │ │ ├── invalid_section.sh │ │ ├── invalid_url_query_param.err │ │ ├── invalid_url_query_param.exit │ │ ├── invalid_url_query_param.hurl │ │ ├── invalid_url_query_param.ps1 │ │ ├── invalid_url_query_param.sh │ │ ├── invalid_utf8.exit │ │ ├── invalid_utf8.hurl │ │ ├── invalid_utf8.ps1 │ │ ├── invalid_utf8.sh │ │ ├── invalid_variable.err │ │ ├── invalid_variable.exit │ │ ├── invalid_variable.hurl │ │ ├── invalid_variable.ps1 │ │ ├── invalid_variable.sh │ │ ├── invalid_xpath.err │ │ ├── invalid_xpath.exit │ │ ├── invalid_xpath.hurl │ │ ├── invalid_xpath.ps1 │ │ ├── invalid_xpath.sh │ │ ├── json.err │ │ ├── json.exit │ │ ├── json.hurl │ │ ├── json.ps1 │ │ ├── json.sh │ │ ├── json_list_expecting_element.err │ │ ├── json_list_expecting_element.exit │ │ ├── json_list_expecting_element.hurl │ │ ├── json_list_expecting_element.ps1 │ │ ├── json_list_expecting_element.sh │ │ ├── json_list_trailing_comma.err │ │ ├── json_list_trailing_comma.exit │ │ ├── json_list_trailing_comma.hurl │ │ ├── json_list_trailing_comma.ps1 │ │ ├── json_list_trailing_comma.sh │ │ ├── json_object_expecting_element.err │ │ ├── json_object_expecting_element.exit │ │ ├── json_object_expecting_element.hurl │ │ ├── json_object_expecting_element.ps1 │ │ ├── json_object_expecting_element.sh │ │ ├── json_object_trailing_comma.err │ │ ├── json_object_trailing_comma.exit │ │ ├── json_object_trailing_comma.hurl │ │ ├── json_object_trailing_comma.ps1 │ │ ├── json_object_trailing_comma.sh │ │ ├── json_unexpected_eof.err │ │ ├── json_unexpected_eof.exit │ │ ├── json_unexpected_eof.hurl │ │ ├── json_unexpected_eof.ps1 │ │ ├── json_unexpected_eof.sh │ │ ├── jsonpath.err │ │ ├── jsonpath.exit │ │ ├── jsonpath.hurl.ignore │ │ ├── method.err │ │ ├── method.exit │ │ ├── method.hurl │ │ ├── method.ps1 │ │ ├── method.sh │ │ ├── missing_quote.err │ │ ├── missing_quote.exit │ │ ├── missing_quote.hurl │ │ ├── missing_quote.ps1 │ │ ├── missing_quote.sh │ │ ├── multiline.err │ │ ├── multiline.exit │ │ ├── multiline.hurl │ │ ├── multiline.ps1 │ │ ├── multiline.sh │ │ ├── multipart.err │ │ ├── multipart.exit │ │ ├── multipart.hurl │ │ ├── multipart.ps1 │ │ ├── multipart.sh │ │ ├── options_cacert.err │ │ ├── options_cacert.exit │ │ ├── options_cacert.hurl │ │ ├── options_cacert.ps1 │ │ ├── options_cacert.sh │ │ ├── options_insecure.err │ │ ├── options_insecure.exit │ │ ├── options_insecure.hurl │ │ ├── options_insecure.ps1 │ │ ├── options_insecure.sh │ │ ├── parallel_parsing_error.err │ │ ├── parallel_parsing_error.exit │ │ ├── parallel_parsing_error.ps1 │ │ ├── parallel_parsing_error.sh │ │ ├── parallel_parsing_error_a.hurl │ │ ├── parallel_parsing_error_b.hurl │ │ ├── parallel_parsing_error_c.hurl │ │ ├── parallel_parsing_error_d.hurl │ │ ├── predicate.err │ │ ├── predicate.exit │ │ ├── predicate.hurl │ │ ├── predicate.ps1 │ │ ├── predicate.sh │ │ ├── predicate_equal_value.err │ │ ├── predicate_equal_value.exit │ │ ├── predicate_equal_value.hurl │ │ ├── predicate_equal_value.ps1 │ │ ├── predicate_equal_value.sh │ │ ├── predicate_startwith_value.err │ │ ├── predicate_startwith_value.exit │ │ ├── predicate_startwith_value.hurl │ │ ├── predicate_startwith_value.ps1 │ │ ├── predicate_startwith_value.sh │ │ ├── regex.err │ │ ├── regex.exit │ │ ├── regex.hurl │ │ ├── regex.ps1 │ │ ├── regex.sh │ │ ├── section_name.err │ │ ├── section_name.exit │ │ ├── section_name.hurl │ │ ├── section_name.ps1 │ │ ├── section_name.sh │ │ ├── space.err │ │ ├── space.exit │ │ ├── space.hurl │ │ ├── space.ps1 │ │ ├── space.sh │ │ ├── status.err │ │ ├── status.exit │ │ ├── status.hurl │ │ ├── status.ps1 │ │ ├── status.sh │ │ ├── template_variable.err │ │ ├── template_variable.exit │ │ ├── template_variable.hurl │ │ ├── template_variable.ps1 │ │ ├── template_variable.sh │ │ ├── typo_option.err │ │ ├── typo_option.exit │ │ ├── typo_option.hurl │ │ ├── typo_option.ps1 │ │ ├── typo_option.sh │ │ ├── unicode.err │ │ ├── unicode.exit │ │ ├── unicode.hurl │ │ ├── unicode.ps1 │ │ ├── unicode.sh │ │ ├── version.err │ │ ├── version.exit │ │ ├── version.hurl │ │ ├── version.ps1 │ │ ├── version.sh │ │ ├── xml.err │ │ ├── xml.exit │ │ ├── xml.hurl │ │ ├── xml.ps1 │ │ ├── xml.sh │ │ └── xml_unexpected_eof.err │ ├── tests_failed │ │ ├── __init_.py │ │ ├── assert_base64.err │ │ ├── assert_base64.exit │ │ ├── assert_base64.hurl │ │ ├── assert_base64.ps1 │ │ ├── assert_base64.py │ │ ├── assert_base64.sh │ │ ├── assert_bytearray.err │ │ ├── assert_bytearray.exit │ │ ├── assert_bytearray.hurl │ │ ├── assert_bytearray.ps1 │ │ ├── assert_bytearray.py │ │ ├── assert_bytearray.sh │ │ ├── assert_content_encoding.err │ │ ├── assert_content_encoding.exit │ │ ├── assert_content_encoding.hurl │ │ ├── assert_content_encoding.ps1 │ │ ├── assert_content_encoding.py │ │ ├── assert_content_encoding.sh │ │ ├── assert_decompress.err │ │ ├── assert_decompress.exit │ │ ├── assert_decompress.hurl │ │ ├── assert_decompress.ps1 │ │ ├── assert_decompress.sh │ │ ├── assert_decompressed.py │ │ ├── assert_file.err │ │ ├── assert_file.exit │ │ ├── assert_file.hurl │ │ ├── assert_file.ps1 │ │ ├── assert_file.py │ │ ├── assert_file.sh │ │ ├── assert_header_not_found.err │ │ ├── assert_header_not_found.exit │ │ ├── assert_header_not_found.hurl │ │ ├── assert_header_not_found.ps1 │ │ ├── assert_header_not_found.py │ │ ├── assert_header_not_found.sh │ │ ├── assert_header_value.err │ │ ├── assert_header_value.exit │ │ ├── assert_header_value.hurl │ │ ├── assert_header_value.ps1 │ │ ├── assert_header_value.py │ │ ├── assert_header_value.sh │ │ ├── assert_http_version.err │ │ ├── assert_http_version.exit │ │ ├── assert_http_version.hurl │ │ ├── assert_http_version.ps1 │ │ ├── assert_http_version.py │ │ ├── assert_http_version.sh │ │ ├── assert_invalid_predicate_type.err │ │ ├── assert_invalid_predicate_type.exit │ │ ├── assert_invalid_predicate_type.hurl │ │ ├── assert_invalid_predicate_type.ps1 │ │ ├── assert_invalid_predicate_type.py │ │ ├── assert_invalid_predicate_type.sh │ │ ├── assert_match_utf8.err │ │ ├── assert_match_utf8.exit │ │ ├── assert_match_utf8.hurl │ │ ├── assert_match_utf8.out.pattern │ │ ├── assert_match_utf8.ps1 │ │ ├── assert_match_utf8.py │ │ ├── assert_match_utf8.sh │ │ ├── assert_newline.err │ │ ├── assert_newline.exit │ │ ├── assert_newline.hurl │ │ ├── assert_newline.ps1 │ │ ├── assert_newline.py │ │ ├── assert_newline.sh │ │ ├── assert_query_cookie.err │ │ ├── assert_query_cookie.exit │ │ ├── assert_query_cookie.hurl │ │ ├── assert_query_cookie.ps1 │ │ ├── assert_query_cookie.py │ │ ├── assert_query_cookie.sh │ │ ├── assert_query_invalid_regex.err │ │ ├── assert_query_invalid_regex.exit │ │ ├── assert_query_invalid_regex.hurl │ │ ├── assert_query_invalid_regex.ps1 │ │ ├── assert_query_invalid_regex.py │ │ ├── assert_query_invalid_regex.sh │ │ ├── assert_query_invalid_xpath.err │ │ ├── assert_query_invalid_xpath.exit │ │ ├── assert_query_invalid_xpath.hurl │ │ ├── assert_query_invalid_xpath.ps1 │ │ ├── assert_query_invalid_xpath.py │ │ ├── assert_query_invalid_xpath.sh │ │ ├── assert_secret.err.pattern │ │ ├── assert_secret.exit │ │ ├── assert_secret.hurl │ │ ├── assert_secret.ps1 │ │ ├── assert_secret.py │ │ ├── assert_secret.sh │ │ ├── assert_status.err │ │ ├── assert_status.exit │ │ ├── assert_status.hurl │ │ ├── assert_status.out.pattern │ │ ├── assert_status.ps1 │ │ ├── assert_status.sh │ │ ├── assert_template_variable_not_found.err │ │ ├── assert_template_variable_not_found.exit │ │ ├── assert_template_variable_not_found.hurl │ │ ├── assert_template_variable_not_found.out.pattern │ │ ├── assert_template_variable_not_found.ps1 │ │ ├── assert_template_variable_not_found.py │ │ ├── assert_template_variable_not_found.sh │ │ ├── assert_value_error.err │ │ ├── assert_value_error.exit │ │ ├── assert_value_error.hurl │ │ ├── assert_value_error.out.pattern │ │ ├── assert_value_error.ps1 │ │ ├── assert_value_error.py │ │ ├── assert_value_error.sh │ │ ├── assert_variable.err │ │ ├── assert_variable.exit │ │ ├── assert_variable.hurl │ │ ├── assert_variable.ps1 │ │ ├── assert_variable.py │ │ ├── assert_variable.sh │ │ ├── assert_xpath.exit │ │ ├── assert_xpath.hurl │ │ ├── assert_xpath.ps1 │ │ ├── assert_xpath.py │ │ ├── assert_xpath.sh │ │ ├── aws_sigv4_option.err │ │ ├── aws_sigv4_option.exit │ │ ├── aws_sigv4_option.ps1 │ │ ├── aws_sigv4_option.sh │ │ ├── bad_option.err.pattern │ │ ├── bad_option.exit │ │ ├── bad_option.ps1 │ │ ├── bad_option.sh │ │ ├── body_binary.err │ │ ├── body_binary.exit │ │ ├── body_binary.hurl │ │ ├── body_binary.ps1 │ │ ├── body_binary.py │ │ ├── body_binary.sh │ │ ├── body_json.err │ │ ├── body_json.exit │ │ ├── body_json.hurl │ │ ├── body_json.ps1 │ │ ├── body_json.sh │ │ ├── cat.avif │ │ ├── connect_timeout.err.pattern │ │ ├── connect_timeout.exit │ │ ├── connect_timeout.hurl │ │ ├── connect_timeout.ps1 │ │ ├── connect_timeout.sh │ │ ├── continue_on_error.err │ │ ├── continue_on_error.exit │ │ ├── continue_on_error.hurl │ │ ├── continue_on_error.ps1 │ │ ├── continue_on_error.py │ │ ├── continue_on_error.sh │ │ ├── cookies.err │ │ ├── cookies.exit │ │ ├── cookies.hurl │ │ ├── cookies.ps1 │ │ ├── cookies.py │ │ ├── cookies.sh │ │ ├── data.txt │ │ ├── diff.err │ │ ├── diff.exit │ │ ├── diff.hurl │ │ ├── diff.ps1 │ │ ├── diff.py │ │ ├── diff.sh │ │ ├── entry.err │ │ ├── entry.exit │ │ ├── entry.hurl │ │ ├── entry.ps1 │ │ ├── entry.sh │ │ ├── error_format_long.err.pattern │ │ ├── error_format_long.exit │ │ ├── error_format_long.hurl │ │ ├── error_format_long.ps1 │ │ ├── error_format_long.py │ │ ├── error_format_long.sh │ │ ├── error_format_long_color.err.pattern │ │ ├── error_format_long_color.exit │ │ ├── error_format_long_color.ps1 │ │ ├── error_format_long_color.sh │ │ ├── file_not_found.err │ │ ├── file_not_found.exit │ │ ├── file_not_found.out │ │ ├── file_not_found.ps1 │ │ ├── file_not_found.sh │ │ ├── file_read_access.err │ │ ├── file_read_access.exit │ │ ├── file_read_access.hurl │ │ ├── file_read_access.ps1 │ │ ├── file_read_access.py │ │ ├── file_read_access.sh │ │ ├── file_unauthorized.err │ │ ├── file_unauthorized.exit │ │ ├── file_unauthorized.hurl │ │ ├── file_unauthorized.ps1 │ │ ├── file_unauthorized.sh │ │ ├── filter.err │ │ ├── filter.exit │ │ ├── filter.hurl │ │ ├── filter.ps1 │ │ ├── filter.py │ │ ├── filter.sh │ │ ├── filter_decode.err │ │ ├── filter_decode.exit │ │ ├── filter_decode.hurl │ │ ├── filter_decode.ps1 │ │ ├── filter_decode.py │ │ ├── filter_decode.sh │ │ ├── filter_in_capture.err │ │ ├── filter_in_capture.exit │ │ ├── filter_in_capture.hurl │ │ ├── filter_in_capture.ps1 │ │ ├── filter_in_capture.py │ │ ├── filter_in_capture.sh │ │ ├── glob_file_not_found.err │ │ ├── glob_file_not_found.exit │ │ ├── glob_file_not_found.out │ │ ├── glob_file_not_found.ps1 │ │ ├── glob_file_not_found.sh │ │ ├── hello_gb2312_failed.err │ │ ├── hello_gb2312_failed.exit │ │ ├── hello_gb2312_failed.hurl │ │ ├── hello_gb2312_failed.ps1 │ │ ├── hello_gb2312_failed.py │ │ ├── hello_gb2312_failed.sh │ │ ├── html_report_injection.err.pattern │ │ ├── html_report_injection.exit │ │ ├── html_report_injection.hurl │ │ ├── html_report_injection.out │ │ ├── html_report_injection.ps1 │ │ ├── html_report_injection.py │ │ ├── html_report_injection.sh │ │ ├── http_connection.err │ │ ├── http_connection.exit │ │ ├── http_connection.hurl │ │ ├── http_connection.ps1 │ │ ├── http_connection.sh │ │ ├── http_version_not_supported.err │ │ ├── http_version_not_supported.exit │ │ ├── http_version_not_supported.hurl │ │ ├── http_version_not_supported.ps1 │ │ ├── http_version_not_supported.sh │ │ ├── invalid_jsonpath.err │ │ ├── invalid_jsonpath.exit │ │ ├── invalid_jsonpath.hurl │ │ ├── invalid_jsonpath.ps1 │ │ ├── invalid_jsonpath.py │ │ ├── invalid_jsonpath.sh │ │ ├── invalid_protocol.err │ │ ├── invalid_protocol.exit │ │ ├── invalid_protocol.hurl │ │ ├── invalid_protocol.ps1 │ │ ├── invalid_protocol.sh │ │ ├── invalid_url.err.pattern │ │ ├── invalid_url.exit │ │ ├── invalid_url.hurl │ │ ├── invalid_url.ps1 │ │ ├── invalid_url.sh │ │ ├── invalid_url_1.err │ │ ├── invalid_url_1.exit │ │ ├── invalid_url_1.hurl │ │ ├── invalid_url_1.ps1 │ │ ├── invalid_url_1.sh │ │ ├── invalid_variable.err │ │ ├── invalid_variable.exit │ │ ├── invalid_variable.hurl │ │ ├── invalid_variable.ps1 │ │ ├── invalid_variable.sh │ │ ├── invalid_xml.err │ │ ├── invalid_xml.exit │ │ ├── invalid_xml.hurl │ │ ├── invalid_xml.ps1 │ │ ├── invalid_xml.py │ │ ├── invalid_xml.sh │ │ ├── key_template.err │ │ ├── key_template.exit │ │ ├── key_template.hurl │ │ ├── key_template.ps1 │ │ ├── key_template.py │ │ ├── key_template.sh │ │ ├── many_glob_not_found.err │ │ ├── many_glob_not_found.exit │ │ ├── many_glob_not_found.hurl │ │ ├── many_glob_not_found.ps1 │ │ ├── many_glob_not_found.sh │ │ ├── max_filesize.err.pattern │ │ ├── max_filesize.exit │ │ ├── max_filesize.hurl │ │ ├── max_filesize.ps1 │ │ ├── max_filesize.py │ │ ├── max_filesize.sh │ │ ├── max_redirect.err │ │ ├── max_redirect.exit │ │ ├── max_redirect.hurl │ │ ├── max_redirect.ps1 │ │ ├── max_redirect.py │ │ ├── max_redirect.sh │ │ ├── max_redirect_option.err │ │ ├── max_redirect_option.exit │ │ ├── max_redirect_option.hurl │ │ ├── max_redirect_option.ps1 │ │ ├── max_redirect_option.sh │ │ ├── multiline.err │ │ ├── multiline.exit │ │ ├── multiline.hurl │ │ ├── multiline.ps1 │ │ ├── multiline.py │ │ ├── multiline.sh │ │ ├── multiline_color.err │ │ ├── multiline_color.exit │ │ ├── multiline_color.ps1 │ │ ├── multiline_color.sh │ │ ├── multipart_form_data.err │ │ ├── multipart_form_data.exit │ │ ├── multipart_form_data.hurl │ │ ├── multipart_form_data.ps1 │ │ ├── multipart_form_data.sh │ │ ├── options_template.err │ │ ├── options_template.exit │ │ ├── options_template.hurl │ │ ├── options_template.ps1 │ │ ├── options_template.sh │ │ ├── output_decompress.err │ │ ├── output_decompress.exit │ │ ├── output_decompress.hurl │ │ ├── output_decompress.ps1 │ │ ├── output_decompress.py │ │ ├── output_decompress.sh │ │ ├── output_directory.err.pattern │ │ ├── output_directory.exit │ │ ├── output_directory.ps1 │ │ ├── output_directory.sh │ │ ├── output_file_not_exist.err.pattern │ │ ├── output_file_not_exist.exit │ │ ├── output_file_not_exist.ps1 │ │ ├── output_file_not_exist.sh │ │ ├── output_unauthorized.err │ │ ├── output_unauthorized.exit │ │ ├── output_unauthorized.hurl │ │ ├── output_unauthorized.ps1 │ │ ├── output_unauthorized.sh │ │ ├── parse_error_tap.err.pattern │ │ ├── parse_error_tap.exit │ │ ├── parse_error_tap.ps1 │ │ ├── parse_error_tap.sh │ │ ├── parse_error_tap.tap │ │ ├── predicate.err │ │ ├── predicate.exit │ │ ├── predicate.hurl │ │ ├── predicate.ps1 │ │ ├── predicate.py │ │ ├── predicate.sh │ │ ├── proxy_host.err.pattern │ │ ├── proxy_host.exit │ │ ├── proxy_host.ps1 │ │ ├── proxy_host.sh │ │ ├── proxy_port.err.pattern │ │ ├── proxy_port.exit │ │ ├── proxy_port.hurl │ │ ├── proxy_port.ps1 │ │ ├── proxy_port.sh │ │ ├── query_header_not_found.err │ │ ├── query_header_not_found.exit │ │ ├── query_header_not_found.hurl │ │ ├── query_header_not_found.out.pattern │ │ ├── query_header_not_found.ps1 │ │ ├── query_header_not_found.py │ │ ├── query_header_not_found.sh │ │ ├── query_invalid_json.err │ │ ├── query_invalid_json.exit │ │ ├── query_invalid_json.hurl │ │ ├── query_invalid_json.ps1 │ │ ├── query_invalid_json.py │ │ ├── query_invalid_json.sh │ │ ├── query_invalid_utf8.err │ │ ├── query_invalid_utf8.exit │ │ ├── query_invalid_utf8.hurl │ │ ├── query_invalid_utf8.ps1 │ │ ├── query_invalid_utf8.py │ │ ├── query_invalid_utf8.sh │ │ ├── query_match_none.err │ │ ├── query_match_none.exit │ │ ├── query_match_none.hurl │ │ ├── query_match_none.ps1 │ │ ├── query_match_none.py │ │ ├── query_match_none.sh │ │ ├── retry.err.pattern │ │ ├── retry.exit │ │ ├── retry.hurl │ │ ├── retry.ps1 │ │ ├── retry.sh │ │ ├── retry_option.err.pattern │ │ ├── retry_option.exit │ │ ├── retry_option.hurl │ │ ├── retry_option.ps1 │ │ ├── retry_option.sh │ │ ├── runner_errors.err.pattern │ │ ├── runner_errors.exit │ │ ├── runner_errors.hurl │ │ ├── runner_errors.ps1 │ │ ├── runner_errors.py │ │ ├── runner_errors.sh │ │ ├── runner_errors_color.err.pattern │ │ ├── runner_errors_color.exit │ │ ├── runner_errors_color.ps1 │ │ ├── runner_errors_color.sh │ │ ├── secret_args.err │ │ ├── secret_args.exit │ │ ├── secret_args.hurl │ │ ├── secret_args.ps1 │ │ ├── secret_args.sh │ │ ├── secret_errors.err │ │ ├── secret_errors.exit │ │ ├── secret_errors.hurl │ │ ├── secret_errors.ps1 │ │ ├── secret_errors.sh │ │ ├── streaming.err.pattern │ │ ├── streaming.exit │ │ ├── streaming.hurl │ │ ├── streaming.out │ │ ├── streaming.ps1 │ │ ├── streaming.py │ │ ├── streaming.sh │ │ ├── template_variable_not_found.err │ │ ├── template_variable_not_found.exit │ │ ├── template_variable_not_found.hurl │ │ ├── template_variable_not_found.ps1 │ │ ├── template_variable_not_found.sh │ │ ├── template_variable_not_renderable.err │ │ ├── template_variable_not_renderable.exit │ │ ├── template_variable_not_renderable.hurl │ │ ├── template_variable_not_renderable.ps1 │ │ ├── template_variable_not_renderable.py │ │ ├── template_variable_not_renderable.sh │ │ ├── timeout.err.pattern │ │ ├── timeout.exit │ │ ├── timeout.hurl │ │ ├── timeout.ps1 │ │ ├── timeout.py │ │ └── timeout.sh │ ├── tests_failed_not_linted │ │ ├── parallel_io.err │ │ ├── parallel_io.exit │ │ ├── parallel_io.out │ │ ├── parallel_io.ps1 │ │ ├── parallel_io.sh │ │ ├── parallel_io_a.hurl │ │ ├── parallel_io_b.hurl │ │ ├── parallel_io_c.hurl │ │ ├── tab.err │ │ ├── tab.exit │ │ ├── tab.hurl │ │ ├── tab.ps1 │ │ └── tab.sh │ ├── tests_ok │ │ ├── __init_.py │ │ ├── add_header │ │ │ ├── add_header.hurl │ │ │ ├── add_header.ps1 │ │ │ ├── add_header.py │ │ │ └── add_header.sh │ │ ├── assert │ │ │ ├── assert_body.bin │ │ │ ├── assert_body.curl │ │ │ ├── assert_body.hurl │ │ │ ├── assert_body.out │ │ │ ├── assert_body.ps1 │ │ │ ├── assert_body.py │ │ │ ├── assert_body.sh │ │ │ ├── assert_body_curl.out │ │ │ ├── assert_body_curl.ps1 │ │ │ ├── assert_body_curl.sh │ │ │ ├── assert_header.curl │ │ │ ├── assert_header.hurl │ │ │ ├── assert_header.out.pattern │ │ │ ├── assert_header.ps1 │ │ │ ├── assert_header.py │ │ │ ├── assert_header.sh │ │ │ ├── assert_json.curl │ │ │ ├── assert_json.hurl │ │ │ ├── assert_json.ps1 │ │ │ ├── assert_json.py │ │ │ ├── assert_json.sh │ │ │ ├── assert_match.curl │ │ │ ├── assert_match.hurl │ │ │ ├── assert_match.out │ │ │ ├── assert_match.ps1 │ │ │ ├── assert_match.py │ │ │ ├── assert_match.sh │ │ │ ├── assert_redirects.hurl │ │ │ ├── assert_redirects.ps1 │ │ │ ├── assert_redirects.py │ │ │ ├── assert_redirects.sh │ │ │ ├── assert_regex.curl │ │ │ ├── assert_regex.hurl │ │ │ ├── assert_regex.out │ │ │ ├── assert_regex.ps1 │ │ │ ├── assert_regex.py │ │ │ ├── assert_regex.sh │ │ │ ├── assert_status_code.curl │ │ │ ├── assert_status_code.hurl │ │ │ ├── assert_status_code.out │ │ │ ├── assert_status_code.ps1 │ │ │ ├── assert_status_code.py │ │ │ ├── assert_status_code.sh │ │ │ ├── assert_xpath.curl │ │ │ ├── assert_xpath.hurl │ │ │ ├── assert_xpath.out │ │ │ ├── assert_xpath.ps1 │ │ │ ├── assert_xpath.py │ │ │ └── assert_xpath.sh │ │ ├── aws_sigv4 │ │ │ ├── aws_sigv4.py │ │ │ ├── aws_sigv4_option.curl │ │ │ ├── aws_sigv4_option.hurl │ │ │ ├── aws_sigv4_option.ps1 │ │ │ └── aws_sigv4_option.sh │ │ ├── basic_authentication │ │ │ ├── basic_authentication.curl │ │ │ ├── basic_authentication.hurl │ │ │ ├── basic_authentication.out │ │ │ ├── basic_authentication.ps1 │ │ │ ├── basic_authentication.py │ │ │ ├── basic_authentication.sh │ │ │ ├── basic_authentication_per_request.curl │ │ │ ├── basic_authentication_per_request.hurl │ │ │ ├── basic_authentication_per_request.ps1 │ │ │ ├── basic_authentication_per_request.py │ │ │ └── basic_authentication_per_request.sh │ │ ├── bench │ │ │ ├── bench.hurl │ │ │ ├── bench.out │ │ │ ├── bench.ps1 │ │ │ └── bench.sh │ │ ├── bytes │ │ │ ├── bytes.bin │ │ │ ├── bytes.curl │ │ │ ├── bytes.hurl │ │ │ ├── bytes.out │ │ │ ├── bytes.ps1 │ │ │ ├── bytes.py │ │ │ ├── bytes.sh │ │ │ ├── bytes_empty.hurl │ │ │ ├── bytes_empty.ps1 │ │ │ └── bytes_empty.sh │ │ ├── captures │ │ │ ├── captures.curl │ │ │ ├── captures.hurl │ │ │ ├── captures.out │ │ │ ├── captures.ps1 │ │ │ ├── captures.py │ │ │ ├── captures.sh │ │ │ ├── captures_to_json.out.pattern │ │ │ ├── captures_to_json.ps1 │ │ │ └── captures_to_json.sh │ │ ├── charset │ │ │ ├── charset.curl │ │ │ ├── charset.hurl │ │ │ ├── charset.out │ │ │ ├── charset.ps1 │ │ │ ├── charset.py │ │ │ └── charset.sh │ │ ├── color │ │ │ ├── color.curl │ │ │ ├── color.err │ │ │ ├── color.hurl │ │ │ ├── color.ps1 │ │ │ └── color.sh │ │ ├── completion │ │ │ ├── completion_bash.out │ │ │ ├── completion_bash.ps1 │ │ │ └── completion_bash.sh │ │ ├── compressed │ │ │ ├── cat.jpg │ │ │ ├── cat.jpg.br │ │ │ ├── compressed.curl │ │ │ ├── compressed.hurl │ │ │ ├── compressed.out │ │ │ ├── compressed.ps1 │ │ │ ├── compressed.py │ │ │ ├── compressed.sh │ │ │ ├── compressed_option.curl │ │ │ ├── compressed_option.hurl │ │ │ ├── compressed_option.out │ │ │ ├── compressed_option.ps1 │ │ │ ├── compressed_option.sh │ │ │ └── hello.txt │ │ ├── connect_to │ │ │ ├── connect_to.curl │ │ │ ├── connect_to.hurl │ │ │ ├── connect_to.out │ │ │ ├── connect_to.ps1 │ │ │ ├── connect_to.py │ │ │ ├── connect_to.sh │ │ │ ├── connect_to_option.curl │ │ │ ├── connect_to_option.hurl │ │ │ ├── connect_to_option.out │ │ │ ├── connect_to_option.ps1 │ │ │ └── connect_to_option.sh │ │ ├── content_type │ │ │ ├── content_type.curl │ │ │ ├── content_type.err.pattern │ │ │ ├── content_type.hurl │ │ │ ├── content_type.ps1 │ │ │ ├── content_type.py │ │ │ └── content_type.sh │ │ ├── cookie │ │ │ ├── cookie_file.cookies │ │ │ ├── cookie_file.curl │ │ │ ├── cookie_file.hurl │ │ │ ├── cookie_file.ps1 │ │ │ ├── cookie_file.py │ │ │ ├── cookie_file.sh │ │ │ ├── cookie_jar.hurl │ │ │ ├── cookie_jar.out.pattern │ │ │ ├── cookie_jar.ps1 │ │ │ ├── cookie_jar.py │ │ │ ├── cookie_jar.sh │ │ │ ├── cookie_storage.curl │ │ │ ├── cookie_storage.hurl │ │ │ ├── cookie_storage.out │ │ │ ├── cookie_storage.ps1 │ │ │ ├── cookie_storage.py │ │ │ ├── cookie_storage.sh │ │ │ ├── cookies.curl │ │ │ ├── cookies.hurl │ │ │ ├── cookies.ps1 │ │ │ ├── cookies.py │ │ │ └── cookies.sh │ │ ├── delay │ │ │ ├── delay.hurl │ │ │ ├── delay.ps1 │ │ │ ├── delay.py │ │ │ ├── delay.sh │ │ │ ├── delay_option.err.pattern │ │ │ ├── delay_option.hurl │ │ │ ├── delay_option.ps1 │ │ │ └── delay_option.sh │ │ ├── empty │ │ │ ├── empty.curl │ │ │ ├── empty.hurl │ │ │ ├── empty.ps1 │ │ │ ├── empty.sh │ │ │ ├── empty_sections.hurl │ │ │ ├── empty_sections.out │ │ │ ├── empty_sections.ps1 │ │ │ └── empty_sections.sh │ │ ├── encoding │ │ │ ├── encoding.hurl │ │ │ ├── encoding.ps1 │ │ │ ├── encoding.py │ │ │ └── encoding.sh │ │ ├── entry │ │ │ ├── entry.curl │ │ │ ├── entry.hurl │ │ │ ├── entry.out │ │ │ ├── entry.ps1 │ │ │ ├── entry.py │ │ │ └── entry.sh │ │ ├── env_var │ │ │ ├── env_var.hurl │ │ │ ├── env_var.profile │ │ │ ├── env_var.ps1 │ │ │ ├── env_var.py │ │ │ └── env_var.sh │ │ ├── expect │ │ │ ├── expect.curl │ │ │ ├── expect.hurl │ │ │ ├── expect.ps1 │ │ │ ├── expect.py │ │ │ └── expect.sh │ │ ├── fileroot │ │ │ ├── fileroot.curl │ │ │ ├── fileroot.hurl │ │ │ ├── fileroot.out │ │ │ ├── fileroot.ps1 │ │ │ ├── fileroot.py │ │ │ └── fileroot.sh │ │ ├── filter │ │ │ ├── filter.hurl │ │ │ ├── filter.out │ │ │ ├── filter.ps1 │ │ │ ├── filter.py │ │ │ └── filter.sh │ │ ├── float │ │ │ ├── float.hurl │ │ │ ├── float.ps1 │ │ │ ├── float.py │ │ │ └── float.sh │ │ ├── follow_redirect │ │ │ ├── follow_redirect.curl │ │ │ ├── follow_redirect.hurl │ │ │ ├── follow_redirect.out │ │ │ ├── follow_redirect.ps1 │ │ │ ├── follow_redirect.py │ │ │ ├── follow_redirect.sh │ │ │ ├── follow_redirect_option.curl │ │ │ ├── follow_redirect_option.hurl │ │ │ ├── follow_redirect_option.out │ │ │ ├── follow_redirect_option.ps1 │ │ │ └── follow_redirect_option.sh │ │ ├── form_params │ │ │ ├── form_params.curl │ │ │ ├── form_params.hurl │ │ │ ├── form_params.out │ │ │ ├── form_params.ps1 │ │ │ ├── form_params.py │ │ │ └── form_params.sh │ │ ├── function │ │ │ ├── function.hurl │ │ │ ├── function.ps1 │ │ │ ├── function.py │ │ │ └── function.sh │ │ ├── gb2312 │ │ │ ├── gb2312.exit │ │ │ ├── gb2312.hurl │ │ │ ├── gb2312.ps1 │ │ │ ├── gb2312.py │ │ │ └── gb2312.sh │ │ ├── get_large │ │ │ ├── get_large.curl │ │ │ ├── get_large.hurl │ │ │ ├── get_large.ps1 │ │ │ ├── get_large.py │ │ │ └── get_large.sh │ │ ├── graphql │ │ │ ├── graphql.curl │ │ │ ├── graphql.hurl │ │ │ ├── graphql.out │ │ │ ├── graphql.ps1 │ │ │ ├── graphql.py │ │ │ └── graphql.sh │ │ ├── head │ │ │ ├── head.curl │ │ │ ├── head.hurl │ │ │ ├── head.ps1 │ │ │ ├── head.py │ │ │ └── head.sh │ │ ├── header │ │ │ ├── header_option.hurl │ │ │ ├── header_option.ps1 │ │ │ ├── header_option.py │ │ │ ├── header_option.sh │ │ │ ├── headers.hurl │ │ │ ├── headers.out │ │ │ ├── headers.ps1 │ │ │ ├── headers.py │ │ │ ├── headers.sh │ │ │ ├── headers_curl.out │ │ │ ├── headers_curl.ps1 │ │ │ └── headers_curl.sh │ │ ├── hello │ │ │ ├── data.txt │ │ │ ├── hello.curl │ │ │ ├── hello.err.pattern │ │ │ ├── hello.hurl │ │ │ ├── hello.out │ │ │ ├── hello.ps1 │ │ │ ├── hello.py │ │ │ ├── hello.sh │ │ │ ├── hello_gb2312.hurl │ │ │ ├── hello_gb2312.out │ │ │ ├── hello_gb2312.ps1 │ │ │ ├── hello_gb2312.py │ │ │ └── hello_gb2312.sh │ │ ├── help │ │ │ ├── help.out.pattern │ │ │ ├── help.ps1 │ │ │ └── help.sh │ │ ├── html │ │ │ ├── html.exit │ │ │ ├── html.ps1 │ │ │ └── html.sh │ │ ├── http_version │ │ │ ├── http_version.py │ │ │ ├── http_version_10.curl │ │ │ ├── http_version_10.hurl │ │ │ ├── http_version_10.out │ │ │ ├── http_version_10.ps1 │ │ │ ├── http_version_10.sh │ │ │ ├── http_version_11.curl │ │ │ ├── http_version_11.hurl │ │ │ ├── http_version_11.out │ │ │ ├── http_version_11.ps1 │ │ │ ├── http_version_11.sh │ │ │ ├── http_version_2_option.hurl │ │ │ ├── http_version_2_option.out │ │ │ ├── http_version_2_option.ps1 │ │ │ ├── http_version_2_option.sh │ │ │ ├── http_version_3_option.hurl │ │ │ ├── http_version_3_option.ps1 │ │ │ ├── http_version_3_option.sh │ │ │ ├── http_version_option.curl │ │ │ ├── http_version_option.hurl │ │ │ ├── http_version_option.out │ │ │ ├── http_version_option.ps1 │ │ │ └── http_version_option.sh │ │ ├── ignore_asserts │ │ │ ├── ignore_asserts.hurl │ │ │ ├── ignore_asserts.ps1 │ │ │ ├── ignore_asserts.py │ │ │ └── ignore_asserts.sh │ │ ├── include │ │ │ ├── include.curl │ │ │ ├── include.hurl │ │ │ ├── include.out.pattern │ │ │ ├── include.ps1 │ │ │ ├── include.py │ │ │ ├── include.sh │ │ │ ├── include_color.out.pattern │ │ │ ├── include_color.ps1 │ │ │ └── include_color.sh │ │ ├── input_dir │ │ │ ├── input_dir.err.pattern │ │ │ ├── input_dir.ps1 │ │ │ ├── input_dir.sh │ │ │ └── root │ │ │ │ ├── a │ │ │ │ ├── a.hurl │ │ │ │ └── b │ │ │ │ │ ├── b.hurl │ │ │ │ │ └── b.not_hurl │ │ │ │ ├── c │ │ │ │ └── c.hurl │ │ │ │ └── d.hurl │ │ ├── insecure │ │ │ ├── insecure_option.curl │ │ │ ├── insecure_option.hurl │ │ │ ├── insecure_option.out │ │ │ ├── insecure_option.ps1 │ │ │ └── insecure_option.sh │ │ ├── interactive │ │ │ ├── interactive.hurl │ │ │ ├── interactive.out.pattern │ │ │ ├── interactive.ps1 │ │ │ └── interactive.sh │ │ ├── ip_query │ │ │ ├── ip_query.hurl │ │ │ ├── ip_query.ps1 │ │ │ └── ip_query.sh │ │ ├── json_output │ │ │ ├── json_output.curl │ │ │ ├── json_output.hurl │ │ │ ├── json_output.out.pattern │ │ │ ├── json_output.ps1 │ │ │ └── json_output.sh │ │ ├── jsonpath │ │ │ ├── jsonpath_store.hurl │ │ │ ├── jsonpath_store.ps1 │ │ │ ├── jsonpath_store.py │ │ │ └── jsonpath_store.sh │ │ ├── junit │ │ │ ├── junit.err.pattern │ │ │ ├── junit.out.pattern │ │ │ ├── junit.ps1 │ │ │ ├── junit.sh │ │ │ ├── test.1.hurl │ │ │ ├── test.2.hurl │ │ │ ├── test.3.hurl │ │ │ └── test.4.hurl │ │ ├── key_template │ │ │ ├── data.txt │ │ │ ├── key_template.hurl │ │ │ ├── key_template.ps1 │ │ │ ├── key_template.py │ │ │ └── key_template.sh │ │ ├── limit_rate │ │ │ ├── limit_rate.curl │ │ │ ├── limit_rate.hurl │ │ │ ├── limit_rate.ps1 │ │ │ ├── limit_rate.py │ │ │ ├── limit_rate.sh │ │ │ ├── limit_rate_option.curl │ │ │ ├── limit_rate_option.hurl │ │ │ ├── limit_rate_option.ps1 │ │ │ └── limit_rate_option.sh │ │ ├── max_redirect │ │ │ ├── max_redirect_infinite.hurl │ │ │ ├── max_redirect_infinite.out │ │ │ ├── max_redirect_infinite.ps1 │ │ │ ├── max_redirect_infinite.py │ │ │ ├── max_redirect_infinite.sh │ │ │ ├── max_redirect_infinite_option.hurl │ │ │ ├── max_redirect_infinite_option.out │ │ │ ├── max_redirect_infinite_option.ps1 │ │ │ └── max_redirect_infinite_option.sh │ │ ├── method │ │ │ ├── method.curl │ │ │ ├── method.hurl │ │ │ ├── method.ps1 │ │ │ ├── method.py │ │ │ └── method.sh │ │ ├── multilines │ │ │ ├── multilines.curl │ │ │ ├── multilines.hurl │ │ │ ├── multilines.out │ │ │ ├── multilines.ps1 │ │ │ ├── multilines.py │ │ │ ├── multilines.sh │ │ │ ├── multilines_curl.out │ │ │ ├── multilines_curl.ps1 │ │ │ └── multilines_curl.sh │ │ ├── multipart │ │ │ ├── data.html │ │ │ ├── data.txt │ │ │ ├── multipart_form_data.curl │ │ │ ├── multipart_form_data.hurl │ │ │ ├── multipart_form_data.out │ │ │ ├── multipart_form_data.ps1 │ │ │ ├── multipart_form_data.py │ │ │ ├── multipart_form_data.sh │ │ │ └── multipart_form_data.windows.curl │ │ ├── multiple │ │ │ ├── multiple.out │ │ │ ├── multiple.ps1 │ │ │ └── multiple.sh │ │ ├── netrc │ │ │ ├── netrc.curl │ │ │ ├── netrc.hurl │ │ │ ├── netrc.ps1 │ │ │ ├── netrc.sh │ │ │ ├── netrc_file.netrc │ │ │ ├── netrc_option.hurl │ │ │ ├── netrc_option.ps1 │ │ │ └── netrc_option.sh │ │ ├── no_entry │ │ │ ├── no_entry.curl │ │ │ ├── no_entry.hurl │ │ │ ├── no_entry.ps1 │ │ │ └── no_entry.sh │ │ ├── no_output │ │ │ ├── no_output.hurl │ │ │ ├── no_output.out │ │ │ ├── no_output.ps1 │ │ │ ├── no_output.py │ │ │ └── no_output.sh │ │ ├── non_utf8 │ │ │ ├── non_utf8.hurl │ │ │ ├── non_utf8.ps1 │ │ │ ├── non_utf8.py │ │ │ └── non_utf8.sh │ │ ├── options_template │ │ │ ├── options_template.hurl │ │ │ ├── options_template.ps1 │ │ │ └── options_template.sh │ │ ├── output │ │ │ ├── output.hurl │ │ │ ├── output.out │ │ │ ├── output.ps1 │ │ │ ├── output.py │ │ │ ├── output.sh │ │ │ ├── output_existing.hurl │ │ │ ├── output_existing.out │ │ │ ├── output_existing.ps1 │ │ │ ├── output_existing.sh │ │ │ ├── output_option.curl │ │ │ ├── output_option.hurl │ │ │ ├── output_option.out │ │ │ ├── output_option.ps1 │ │ │ ├── output_option.sh │ │ │ ├── output_parallel.out │ │ │ ├── output_parallel.ps1 │ │ │ └── output_parallel.sh │ │ ├── override_header │ │ │ ├── override_header.hurl │ │ │ ├── override_header.ps1 │ │ │ ├── override_header.py │ │ │ └── override_header.sh │ │ ├── parallel │ │ │ ├── parallel.err.pattern │ │ │ ├── parallel.hurl │ │ │ ├── parallel.out │ │ │ ├── parallel.ps1 │ │ │ ├── parallel.py │ │ │ ├── parallel.sh │ │ │ ├── parallel_a.hurl │ │ │ ├── parallel_all.exit │ │ │ ├── parallel_all.out │ │ │ ├── parallel_all.ps1 │ │ │ ├── parallel_all.sh │ │ │ ├── parallel_b.hurl │ │ │ ├── parallel_c.hurl │ │ │ ├── parallel_d.hurl │ │ │ ├── parallel_e.hurl │ │ │ ├── parallel_f.hurl │ │ │ ├── parallel_g.hurl │ │ │ ├── parallel_json.out.pattern │ │ │ ├── parallel_json.ps1 │ │ │ ├── parallel_json.sh │ │ │ ├── parallel_one_worker.out │ │ │ ├── parallel_one_worker.ps1 │ │ │ ├── parallel_one_worker.sh │ │ │ ├── parallel_one_worker_test.err.pattern │ │ │ ├── parallel_one_worker_test.out.pattern │ │ │ ├── parallel_one_worker_test.ps1 │ │ │ ├── parallel_one_worker_test.sh │ │ │ ├── parallel_output_null.out │ │ │ ├── parallel_output_null.ps1 │ │ │ ├── parallel_output_null.sh │ │ │ ├── parallel_tap.out │ │ │ ├── parallel_tap.ps1 │ │ │ └── parallel_tap.sh │ │ ├── parse_cache │ │ │ ├── parse_cache.html.gz │ │ │ ├── parse_cache.hurl │ │ │ ├── parse_cache.json.gz │ │ │ ├── parse_cache.ps1 │ │ │ ├── parse_cache.py │ │ │ └── parse_cache.sh │ │ ├── patch │ │ │ ├── patch.curl │ │ │ ├── patch.hurl │ │ │ ├── patch.out │ │ │ ├── patch.ps1 │ │ │ ├── patch.py │ │ │ └── patch.sh │ │ ├── path_as_is │ │ │ ├── path_as_is.curl │ │ │ ├── path_as_is.hurl │ │ │ ├── path_as_is.ps1 │ │ │ ├── path_as_is.py │ │ │ ├── path_as_is.sh │ │ │ ├── path_as_is_option.curl │ │ │ ├── path_as_is_option.hurl │ │ │ ├── path_as_is_option.ps1 │ │ │ └── path_as_is_option.sh │ │ ├── post │ │ │ ├── data.bin │ │ │ ├── post_base64.curl │ │ │ ├── post_base64.hurl │ │ │ ├── post_base64.out │ │ │ ├── post_base64.ps1 │ │ │ ├── post_base64.py │ │ │ ├── post_base64.sh │ │ │ ├── post_bytes.curl │ │ │ ├── post_bytes.hurl │ │ │ ├── post_bytes.ps1 │ │ │ ├── post_bytes.py │ │ │ ├── post_bytes.sh │ │ │ ├── post_file.curl │ │ │ ├── post_file.hurl │ │ │ ├── post_file.out │ │ │ ├── post_file.ps1 │ │ │ ├── post_file.py │ │ │ ├── post_file.sh │ │ │ ├── post_file.windows.curl │ │ │ ├── post_file_with space │ │ │ ├── post_json.curl │ │ │ ├── post_json.hurl │ │ │ ├── post_json.out │ │ │ ├── post_json.ps1 │ │ │ ├── post_json.py │ │ │ ├── post_json.sh │ │ │ ├── post_large.curl │ │ │ ├── post_large.err.pattern │ │ │ ├── post_large.hurl │ │ │ ├── post_large.ps1 │ │ │ ├── post_large.py │ │ │ ├── post_large.sh │ │ │ ├── post_large.windows.curl │ │ │ ├── post_multilines.curl │ │ │ ├── post_multilines.hurl │ │ │ ├── post_multilines.out │ │ │ ├── post_multilines.ps1 │ │ │ ├── post_multilines.py │ │ │ ├── post_multilines.sh │ │ │ ├── post_xml.hurl │ │ │ ├── post_xml.ps1 │ │ │ ├── post_xml.py │ │ │ └── post_xml.sh │ │ ├── predicates │ │ │ ├── predicates_number.hurl │ │ │ ├── predicates_number.ps1 │ │ │ ├── predicates_number.py │ │ │ ├── predicates_number.sh │ │ │ ├── predicates_string.curl │ │ │ ├── predicates_string.hurl │ │ │ ├── predicates_string.out │ │ │ ├── predicates_string.ps1 │ │ │ ├── predicates_string.py │ │ │ └── predicates_string.sh │ │ ├── progress_bar │ │ │ ├── progress_bar.err.pattern │ │ │ ├── progress_bar.out │ │ │ ├── progress_bar.ps1 │ │ │ ├── progress_bar.sh │ │ │ ├── progress_bar_a.hurl │ │ │ ├── progress_bar_b.hurl │ │ │ └── progress_bar_c_with_a_very_long_long_long_long_name.hurl │ │ ├── proxy │ │ │ ├── proxy.curl │ │ │ ├── proxy.hurl │ │ │ ├── proxy.out │ │ │ ├── proxy.ps1 │ │ │ ├── proxy.py │ │ │ ├── proxy.sh │ │ │ ├── proxy_option.curl │ │ │ ├── proxy_option.hurl │ │ │ ├── proxy_option.out │ │ │ ├── proxy_option.ps1 │ │ │ └── proxy_option.sh │ │ ├── put │ │ │ ├── put.curl │ │ │ ├── put.hurl │ │ │ ├── put.out │ │ │ ├── put.ps1 │ │ │ ├── put.py │ │ │ └── put.sh │ │ ├── querystring │ │ │ ├── querystring_params.curl │ │ │ ├── querystring_params.hurl │ │ │ ├── querystring_params.out │ │ │ ├── querystring_params.ps1 │ │ │ ├── querystring_params.py │ │ │ └── querystring_params.sh │ │ ├── reason │ │ │ ├── reason.curl │ │ │ ├── reason.err.pattern │ │ │ ├── reason.hurl │ │ │ ├── reason.out │ │ │ ├── reason.ps1 │ │ │ ├── reason.py │ │ │ └── reason.sh │ │ ├── redirect │ │ │ ├── redirect.curl │ │ │ ├── redirect.hurl │ │ │ ├── redirect.ps1 │ │ │ ├── redirect.py │ │ │ └── redirect.sh │ │ ├── repeat │ │ │ ├── repeat.py │ │ │ ├── repeat_a.hurl │ │ │ ├── repeat_b.hurl │ │ │ ├── repeat_c.hurl │ │ │ ├── repeat_option.hurl │ │ │ ├── repeat_option.out │ │ │ ├── repeat_option.ps1 │ │ │ ├── repeat_option.sh │ │ │ ├── repeat_par.out │ │ │ ├── repeat_par.ps1 │ │ │ ├── repeat_par.sh │ │ │ ├── repeat_seq.out │ │ │ ├── repeat_seq.ps1 │ │ │ └── repeat_seq.sh │ │ ├── report_json │ │ │ ├── report_json.out.pattern │ │ │ ├── report_json.ps1 │ │ │ ├── report_json.sh │ │ │ ├── test.1.hurl │ │ │ ├── test.2.hurl │ │ │ └── test.3.hurl │ │ ├── request_content_length │ │ │ ├── request_content_length.curl │ │ │ ├── request_content_length.exit │ │ │ ├── request_content_length.hurl │ │ │ ├── request_content_length.ps1 │ │ │ ├── request_content_length.py │ │ │ └── request_content_length.sh │ │ ├── resolve │ │ │ ├── resolve.curl │ │ │ ├── resolve.hurl │ │ │ ├── resolve.out │ │ │ ├── resolve.ps1 │ │ │ ├── resolve.py │ │ │ ├── resolve.sh │ │ │ ├── resolve_option.curl │ │ │ ├── resolve_option.hurl │ │ │ ├── resolve_option.out │ │ │ ├── resolve_option.ps1 │ │ │ └── resolve_option.sh │ │ ├── retry │ │ │ ├── retry.err.pattern │ │ │ ├── retry.hurl │ │ │ ├── retry.out.pattern │ │ │ ├── retry.ps1 │ │ │ ├── retry.py │ │ │ ├── retry.sh │ │ │ ├── retry_option.err.pattern │ │ │ ├── retry_option.hurl │ │ │ ├── retry_option.out.pattern │ │ │ ├── retry_option.ps1 │ │ │ ├── retry_option.sh │ │ │ ├── retry_until_200.hurl │ │ │ ├── retry_until_200.ps1 │ │ │ ├── retry_until_200.py │ │ │ └── retry_until_200.sh │ │ ├── secret │ │ │ ├── secret.err.pattern │ │ │ ├── secret.hurl │ │ │ ├── secret.ps1 │ │ │ ├── secret.py │ │ │ ├── secret.sh │ │ │ ├── secret_test.hurl │ │ │ ├── secret_test.ps1 │ │ │ └── secret_test.sh │ │ ├── skip │ │ │ ├── skip.err.pattern │ │ │ ├── skip.hurl │ │ │ ├── skip.ps1 │ │ │ ├── skip.py │ │ │ └── skip.sh │ │ ├── stdin │ │ │ ├── stdin.out │ │ │ ├── stdin.ps1 │ │ │ └── stdin.sh │ │ ├── stdout │ │ │ ├── stdout.err.pattern │ │ │ ├── stdout.hurl │ │ │ ├── stdout.out │ │ │ ├── stdout.ps1 │ │ │ ├── stdout.py │ │ │ ├── stdout.sh │ │ │ ├── stdout_parallel.out │ │ │ ├── stdout_parallel.ps1 │ │ │ └── stdout_parallel.sh │ │ ├── tap │ │ │ ├── tap.out │ │ │ ├── tap.ps1 │ │ │ ├── tap.sh │ │ │ ├── test.1.hurl │ │ │ ├── test.2.hurl │ │ │ └── test.3.hurl │ │ ├── test │ │ │ ├── test.1.hurl │ │ │ ├── test.2.hurl │ │ │ ├── test.3.hurl │ │ │ ├── test.4.hurl │ │ │ ├── test.err.pattern │ │ │ ├── test.exit │ │ │ ├── test.ps1 │ │ │ ├── test.sh │ │ │ ├── test_repeat.err.pattern │ │ │ ├── test_repeat.hurl │ │ │ ├── test_repeat.ps1 │ │ │ └── test_repeat.sh │ │ ├── url │ │ │ ├── url.curl │ │ │ ├── url.hurl │ │ │ ├── url.ps1 │ │ │ ├── url.py │ │ │ └── url.sh │ │ ├── user_agent │ │ │ ├── user_agent.hurl │ │ │ ├── user_agent.ps1 │ │ │ ├── user_agent.py │ │ │ └── user_agent.sh │ │ ├── utf8 │ │ │ ├── utf8.curl │ │ │ ├── utf8.hurl │ │ │ ├── utf8.out │ │ │ ├── utf8.ps1 │ │ │ ├── utf8.py │ │ │ └── utf8.sh │ │ ├── variables │ │ │ ├── variables.curl │ │ │ ├── variables.hurl │ │ │ ├── variables.ps1 │ │ │ ├── variables.py │ │ │ ├── variables.sh │ │ │ ├── variables0.env │ │ │ └── variables1.env │ │ ├── verbose │ │ │ ├── verbose.err.pattern │ │ │ ├── verbose.hurl │ │ │ ├── verbose.ps1 │ │ │ ├── verbose.py │ │ │ ├── verbose.sh │ │ │ ├── verbose_option.err.pattern │ │ │ ├── verbose_option.hurl │ │ │ ├── verbose_option.out │ │ │ ├── verbose_option.ps1 │ │ │ └── verbose_option.sh │ │ ├── version │ │ │ ├── version.out.pattern │ │ │ ├── version.ps1 │ │ │ └── version.sh │ │ └── very_verbose │ │ │ ├── cat.jpg │ │ │ ├── cat.jpg.br │ │ │ ├── very_verbose.curl │ │ │ ├── very_verbose.err.pattern │ │ │ ├── very_verbose.hurl │ │ │ ├── very_verbose.ps1 │ │ │ ├── very_verbose.py │ │ │ ├── very_verbose.sh │ │ │ └── very_verbose.windows.curl │ ├── tests_ok_not_linted │ │ ├── bom.curl │ │ ├── bom.html │ │ ├── bom.hurl │ │ ├── bom.json │ │ ├── bom.ps1 │ │ ├── bom.py │ │ ├── bom.sh │ │ ├── bom.windows.curl │ │ ├── cookies.hurl │ │ ├── cookies.ps1 │ │ ├── cookies.sh │ │ ├── empty_section.hurl │ │ ├── empty_section.ps1 │ │ └── empty_section.sh │ ├── tests_ssl │ │ ├── cacert.curl │ │ ├── cacert.exit │ │ ├── cacert.hurl │ │ ├── cacert.ps1 │ │ ├── cacert.sh │ │ ├── cacert_no_revoke.curl │ │ ├── cacert_no_revoke.exit │ │ ├── cacert_no_revoke.ps1 │ │ ├── cacert_no_revoke.sh │ │ ├── cacert_no_revoke_to_json.exit │ │ ├── cacert_no_revoke_to_json.out.pattern │ │ ├── cacert_no_revoke_to_json.ps1 │ │ ├── cacert_no_revoke_to_json.sh │ │ ├── cacert_selfsigned.curl │ │ ├── cacert_selfsigned.exit │ │ ├── cacert_selfsigned.hurl │ │ ├── cacert_selfsigned.ps1 │ │ ├── cacert_selfsigned.sh │ │ ├── cacert_to_json.exit │ │ ├── cacert_to_json.out.pattern │ │ ├── cacert_to_json.ps1 │ │ ├── cacert_to_json.sh │ │ ├── certs │ │ │ ├── ca │ │ │ │ ├── cert.pem │ │ │ │ ├── cert.srl │ │ │ │ └── key.pem │ │ │ ├── client │ │ │ │ ├── cert.pem │ │ │ │ ├── csr.pem │ │ │ │ ├── encrypted.key.pem │ │ │ │ └── key.pem │ │ │ └── server │ │ │ │ ├── cert.pem │ │ │ │ ├── cert.selfsigned.pem │ │ │ │ ├── csr.pem │ │ │ │ ├── key.pem │ │ │ │ └── key.pub.pem │ │ ├── client_authentication.curl │ │ ├── client_authentication.exit │ │ ├── client_authentication.hurl │ │ ├── client_authentication.ps1 │ │ ├── client_authentication.sh │ │ ├── client_authentication_password.curl │ │ ├── client_authentication_password.exit │ │ ├── client_authentication_password.hurl │ │ ├── client_authentication_password.ps1 │ │ ├── client_authentication_password.sh │ │ ├── error_client_authentication_password.err.pattern │ │ ├── error_client_authentication_password.exit │ │ ├── error_client_authentication_password.hurl │ │ ├── error_client_authentication_password.ps1 │ │ ├── error_client_authentication_password.sh │ │ ├── error_options_pinnedpubkey.err.pattern │ │ ├── error_options_pinnedpubkey.exit │ │ ├── error_options_pinnedpubkey.hurl │ │ ├── error_options_pinnedpubkey.ps1 │ │ ├── error_options_pinnedpubkey.sh │ │ ├── error_pinned_pub_key.err.pattern │ │ ├── error_pinned_pub_key.exit │ │ ├── error_pinned_pub_key.hurl │ │ ├── error_pinned_pub_key.ps1 │ │ ├── error_pinned_pub_key.sh │ │ ├── error_self_signed_certificate.err.pattern │ │ ├── error_self_signed_certificate.exit │ │ ├── error_self_signed_certificate.hurl │ │ ├── error_self_signed_certificate.ps1 │ │ ├── error_self_signed_certificate.sh │ │ ├── insecure.curl │ │ ├── insecure.exit │ │ ├── insecure.hurl │ │ ├── insecure.ps1 │ │ ├── insecure.sh │ │ ├── keepalive.curl │ │ ├── keepalive.hurl │ │ ├── keepalive.ps1 │ │ ├── keepalive.sh │ │ ├── letsencrypt.curl │ │ ├── letsencrypt.hurl │ │ ├── letsencrypt.ps1 │ │ ├── letsencrypt.sh │ │ ├── live.err │ │ ├── live.exit │ │ ├── live.hurl │ │ ├── live.ps1 │ │ ├── live.sh │ │ ├── options.curl │ │ ├── options.hurl │ │ ├── options.ps1 │ │ ├── options.sh │ │ ├── pinned_pub_key.curl │ │ ├── pinned_pub_key.exit │ │ ├── pinned_pub_key.hurl │ │ ├── pinned_pub_key.ps1 │ │ ├── pinned_pub_key.sh │ │ ├── ssl_server.py │ │ └── utils │ │ │ └── generate_keys.sh │ └── tests_unix_socket │ │ ├── unix_socket.curl │ │ ├── unix_socket.err.pattern │ │ ├── unix_socket.exit │ │ ├── unix_socket.hurl │ │ ├── unix_socket.out │ │ ├── unix_socket.ps1 │ │ ├── unix_socket.sh │ │ └── unix_socket_server.py ├── hurlfmt │ ├── integration.py │ ├── test_format.py │ ├── test_html_output.py │ ├── tests_export │ │ ├── body.html │ │ ├── body.hurl │ │ ├── body.json │ │ ├── body.lint.hurl │ │ ├── capture.html │ │ ├── capture.hurl │ │ ├── capture.json │ │ ├── capture.lint.hurl │ │ ├── empty.html │ │ ├── empty.hurl │ │ ├── empty.json │ │ ├── empty.lint.hurl │ │ ├── filter.html │ │ ├── filter.hurl │ │ ├── filter.json │ │ ├── filter.lint.hurl │ │ ├── float.html │ │ ├── float.hurl │ │ ├── float.json │ │ ├── float.lint.hurl │ │ ├── function.html │ │ ├── function.hurl │ │ ├── function.json │ │ ├── function.lint.hurl │ │ ├── headers.html │ │ ├── headers.hurl │ │ ├── headers.json │ │ ├── headers.lint.hurl │ │ ├── http_version.html │ │ ├── http_version.hurl │ │ ├── http_version.json │ │ ├── http_version.lint.hurl │ │ ├── method.html │ │ ├── method.hurl │ │ ├── method.json │ │ ├── method.lint.hurl │ │ ├── multilines.html │ │ ├── multilines.hurl │ │ ├── multilines.json │ │ ├── multilines.lint.hurl │ │ ├── no_entry.html │ │ ├── no_entry.hurl │ │ ├── no_entry.json │ │ ├── no_entry.lint.hurl │ │ ├── options.html │ │ ├── options.hurl │ │ ├── options.json │ │ ├── options.lint.hurl │ │ ├── predicate.html │ │ ├── predicate.hurl │ │ ├── predicate.json │ │ ├── predicate.lint.hurl │ │ ├── predicate_value.html │ │ ├── predicate_value.hurl │ │ ├── predicate_value.json │ │ ├── predicate_value.lint.hurl │ │ ├── query.html │ │ ├── query.hurl │ │ ├── query.json │ │ ├── query.lint.hurl │ │ ├── sections.html │ │ ├── sections.hurl │ │ ├── sections.json │ │ ├── sections.lint.hurl │ │ ├── trailing_space.html │ │ ├── trailing_space.hurl │ │ ├── trailing_space.json │ │ ├── trailing_space.lint.hurl │ │ ├── url.html │ │ ├── url.hurl │ │ ├── url.json │ │ └── url.lint.hurl │ ├── tests_failed │ │ ├── check.err │ │ ├── check.exit │ │ ├── check.out │ │ ├── check.ps1 │ │ ├── check.sh │ │ ├── check_error_io.hurl │ │ ├── check_error_parse.hurl │ │ ├── check_error_unformatted.hurl │ │ ├── check_ok.hurl │ │ ├── in_place.err │ │ ├── in_place.exit │ │ ├── in_place.hurl │ │ ├── in_place.ps1 │ │ ├── in_place.sh │ │ ├── latin1.err │ │ ├── latin1.exit │ │ ├── latin1.hurl │ │ ├── latin1.ps1 │ │ ├── latin1.sh │ │ ├── parse_ko.err │ │ ├── parse_ko.exit │ │ ├── parse_ko.hurl │ │ ├── parse_ko.ps1 │ │ ├── parse_ko.sh │ │ ├── parse_ko_color.err │ │ ├── parse_ko_color.exit │ │ ├── parse_ko_color.ps1 │ │ └── parse_ko_color.sh │ └── tests_ok │ │ ├── check.exit │ │ ├── check.hurl │ │ ├── check.ps1 │ │ ├── check.sh │ │ ├── data.bin │ │ ├── format.hurl │ │ ├── format.out │ │ ├── format.ps1 │ │ ├── format.sh │ │ ├── hello.hurl │ │ ├── help.out.pattern │ │ ├── help.ps1 │ │ ├── help.sh │ │ ├── html_standalone.hurl │ │ ├── html_standalone.out │ │ ├── html_standalone.ps1 │ │ ├── html_standalone.sh │ │ ├── hurlfmt.out │ │ ├── hurlfmt.ps1 │ │ ├── hurlfmt.sh │ │ ├── hurlfmt_multiple_input.out │ │ ├── hurlfmt_multiple_input.ps1 │ │ ├── hurlfmt_multiple_input.sh │ │ ├── import_curl.in │ │ ├── import_curl.out │ │ ├── import_curl.ps1 │ │ ├── import_curl.sh │ │ ├── in_place.out │ │ ├── in_place.ps1 │ │ └── in_place.sh ├── test_pattern.py └── test_script.py ├── packages ├── hurl │ ├── Cargo.toml │ ├── README.md │ ├── build.rs │ ├── native │ │ └── libxml.c │ ├── src │ │ ├── cli │ │ │ ├── error.rs │ │ │ ├── interactive.rs │ │ │ ├── logger.rs │ │ │ ├── mod.rs │ │ │ ├── options │ │ │ │ ├── commands.rs │ │ │ │ ├── duration.rs │ │ │ │ ├── error.rs │ │ │ │ ├── matches.rs │ │ │ │ ├── mod.rs │ │ │ │ └── variables.rs │ │ │ └── summary.rs │ │ ├── html │ │ │ ├── entities.rs │ │ │ ├── escape.rs │ │ │ ├── mod.rs │ │ │ └── unescape.rs │ │ ├── http │ │ │ ├── call.rs │ │ │ ├── certificate.rs │ │ │ ├── client.rs │ │ │ ├── cookie.rs │ │ │ ├── core.rs │ │ │ ├── curl_cmd.rs │ │ │ ├── debug.rs │ │ │ ├── easy_ext.rs │ │ │ ├── error.rs │ │ │ ├── header.rs │ │ │ ├── headers_helper.rs │ │ │ ├── ip.rs │ │ │ ├── mimetype.rs │ │ │ ├── mod.rs │ │ │ ├── options.rs │ │ │ ├── request.rs │ │ │ ├── request_spec.rs │ │ │ ├── response.rs │ │ │ ├── response_cookie.rs │ │ │ ├── response_debug.rs │ │ │ ├── response_decoding.rs │ │ │ ├── tests │ │ │ │ └── mod.rs │ │ │ ├── timings.rs │ │ │ ├── timings_debug.rs │ │ │ ├── url.rs │ │ │ └── version.rs │ │ ├── json │ │ │ ├── mod.rs │ │ │ ├── result.rs │ │ │ └── value.rs │ │ ├── jsonpath │ │ │ ├── ast.rs │ │ │ ├── eval │ │ │ │ ├── mod.rs │ │ │ │ ├── query.rs │ │ │ │ └── selector.rs │ │ │ ├── jsonpath.grammar │ │ │ ├── mod.rs │ │ │ ├── parser │ │ │ │ ├── error.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── parse.rs │ │ │ │ └── primitives.rs │ │ │ └── tests │ │ │ │ └── mod.rs │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── output │ │ │ ├── error.rs │ │ │ ├── json.rs │ │ │ ├── mod.rs │ │ │ └── raw.rs │ │ ├── parallel │ │ │ ├── error.rs │ │ │ ├── job.rs │ │ │ ├── message.rs │ │ │ ├── mod.rs │ │ │ ├── progress.rs │ │ │ ├── runner.rs │ │ │ └── worker.rs │ │ ├── report │ │ │ ├── curl.rs │ │ │ ├── error.rs │ │ │ ├── html │ │ │ │ ├── mod.rs │ │ │ │ ├── nav.rs │ │ │ │ ├── report.rs │ │ │ │ ├── resources │ │ │ │ │ ├── calls.css │ │ │ │ │ ├── nav.css │ │ │ │ │ ├── nav.html │ │ │ │ │ ├── report.css │ │ │ │ │ ├── report.html │ │ │ │ │ ├── run.css │ │ │ │ │ ├── run.html │ │ │ │ │ ├── source.css │ │ │ │ │ ├── source.html │ │ │ │ │ ├── timeline.css │ │ │ │ │ ├── timeline.html │ │ │ │ │ └── waterfall.css │ │ │ │ ├── run.rs │ │ │ │ ├── source.rs │ │ │ │ ├── testcase.rs │ │ │ │ └── timeline │ │ │ │ │ ├── calls.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── nice.rs │ │ │ │ │ ├── svg.rs │ │ │ │ │ ├── unit.rs │ │ │ │ │ ├── util.rs │ │ │ │ │ └── waterfall.rs │ │ │ ├── json │ │ │ │ ├── deserialize.rs │ │ │ │ └── mod.rs │ │ │ ├── junit │ │ │ │ ├── mod.rs │ │ │ │ ├── testcase.rs │ │ │ │ └── xml │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── reader.rs │ │ │ │ │ └── writer.rs │ │ │ ├── mod.rs │ │ │ └── tap │ │ │ │ ├── mod.rs │ │ │ │ ├── report.rs │ │ │ │ └── testcase.rs │ │ ├── run.rs │ │ ├── runner │ │ │ ├── assert.rs │ │ │ ├── body.rs │ │ │ ├── cache.rs │ │ │ ├── capture.rs │ │ │ ├── diff.rs │ │ │ ├── entry.rs │ │ │ ├── error.rs │ │ │ ├── event.rs │ │ │ ├── expr.rs │ │ │ ├── filter │ │ │ │ ├── base64_decode.rs │ │ │ │ ├── base64_encode.rs │ │ │ │ ├── base64_url_safe_decode.rs │ │ │ │ ├── base64_url_safe_encode.rs │ │ │ │ ├── count.rs │ │ │ │ ├── days_after_now.rs │ │ │ │ ├── days_before_now.rs │ │ │ │ ├── decode.rs │ │ │ │ ├── eval.rs │ │ │ │ ├── first.rs │ │ │ │ ├── format.rs │ │ │ │ ├── html_escape.rs │ │ │ │ ├── html_unescape.rs │ │ │ │ ├── jsonpath.rs │ │ │ │ ├── last.rs │ │ │ │ ├── location.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── nth.rs │ │ │ │ ├── regex.rs │ │ │ │ ├── replace.rs │ │ │ │ ├── split.rs │ │ │ │ ├── to_date.rs │ │ │ │ ├── to_float.rs │ │ │ │ ├── to_hex.rs │ │ │ │ ├── to_int.rs │ │ │ │ ├── to_string.rs │ │ │ │ ├── url_decode.rs │ │ │ │ ├── url_encode.rs │ │ │ │ ├── url_query_param.rs │ │ │ │ └── xpath.rs │ │ │ ├── function.rs │ │ │ ├── hex.rs │ │ │ ├── http_response.rs │ │ │ ├── hurl_file.rs │ │ │ ├── json.rs │ │ │ ├── mod.rs │ │ │ ├── multiline.rs │ │ │ ├── multipart.rs │ │ │ ├── number.rs │ │ │ ├── options.rs │ │ │ ├── output.rs │ │ │ ├── predicate.rs │ │ │ ├── predicate_value.rs │ │ │ ├── query.rs │ │ │ ├── regex.rs │ │ │ ├── request.rs │ │ │ ├── response.rs │ │ │ ├── result.rs │ │ │ ├── runner_options.rs │ │ │ ├── template.rs │ │ │ ├── value.rs │ │ │ ├── value_impl.rs │ │ │ ├── variable.rs │ │ │ └── xpath.rs │ │ └── util │ │ │ ├── logger.rs │ │ │ ├── mod.rs │ │ │ ├── path.rs │ │ │ ├── redacted.rs │ │ │ └── term.rs │ └── tests │ │ ├── bookstore.json │ │ ├── cookies.txt │ │ ├── data.bin │ │ ├── hello.txt │ │ ├── sample.rs │ │ └── server_cert_selfsigned.pem ├── hurl_core │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ ├── ast │ │ │ ├── core.rs │ │ │ ├── json.rs │ │ │ ├── mod.rs │ │ │ ├── option.rs │ │ │ ├── primitive.rs │ │ │ └── section.rs │ │ ├── combinator.rs │ │ ├── error │ │ │ └── mod.rs │ │ ├── format │ │ │ ├── html.rs │ │ │ ├── hurl.css │ │ │ └── mod.rs │ │ ├── input.rs │ │ ├── lib.rs │ │ ├── parser │ │ │ ├── base64.rs │ │ │ ├── bytes.rs │ │ │ ├── cookiepath.rs │ │ │ ├── duration.rs │ │ │ ├── error.rs │ │ │ ├── expr.rs │ │ │ ├── filename.rs │ │ │ ├── filename_password.rs │ │ │ ├── filter.rs │ │ │ ├── function.rs │ │ │ ├── json.rs │ │ │ ├── key_string.rs │ │ │ ├── mod.rs │ │ │ ├── multiline.rs │ │ │ ├── number.rs │ │ │ ├── option.rs │ │ │ ├── parsers.rs │ │ │ ├── placeholder.rs │ │ │ ├── predicate.rs │ │ │ ├── predicate_value.rs │ │ │ ├── primitives.rs │ │ │ ├── query.rs │ │ │ ├── sections.rs │ │ │ ├── string.rs │ │ │ ├── template.rs │ │ │ └── xml.rs │ │ ├── reader.rs │ │ ├── text │ │ │ ├── mod.rs │ │ │ ├── style.rs │ │ │ └── styledstring.rs │ │ └── typing.rs │ └── tests │ │ ├── json.rs │ │ └── json │ │ ├── asterisk.json │ │ ├── g_clef.json │ │ ├── hello.json │ │ ├── person.json │ │ └── variable.json └── hurlfmt │ ├── Cargo.toml │ ├── README.md │ ├── src │ ├── cli │ │ ├── error.rs │ │ ├── logger.rs │ │ ├── mod.rs │ │ └── options │ │ │ ├── commands.rs │ │ │ ├── matches.rs │ │ │ └── mod.rs │ ├── command │ │ ├── check.rs │ │ ├── export.rs │ │ ├── format.rs │ │ └── mod.rs │ ├── curl │ │ ├── args.rs │ │ ├── commands.rs │ │ ├── matches.rs │ │ └── mod.rs │ ├── format │ │ ├── json.rs │ │ ├── mod.rs │ │ ├── serialize_json.rs │ │ ├── text.rs │ │ └── token.rs │ ├── lib.rs │ ├── linter │ │ ├── mod.rs │ │ └── rules.rs │ └── main.rs │ └── tests │ ├── json.rs │ └── json │ ├── elasticsearch.json │ └── person.json ├── ruff.toml └── rustfmt.toml /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Protect ci 2 | .github/CODEOWNERS @lepapareil @fabricereix @jcamiel 3 | .github/workflows/ @lepapareil 4 | .circleci/ @lepapareil 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *.swo 3 | *.pyc 4 | *.profraw 5 | .mypy_cache/ 6 | 7 | target/ 8 | .idea/ 9 | .venv/ 10 | build/ 11 | node_modules/ 12 | **/npm/bin/ 13 | -------------------------------------------------------------------------------- /art/logo-full.acorn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/art/logo-full.acorn -------------------------------------------------------------------------------- /art/logo-icon.acorn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/art/logo-icon.acorn -------------------------------------------------------------------------------- /art/logo-mini.acorn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/art/logo-mini.acorn -------------------------------------------------------------------------------- /bin/check/clippy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | cargo clippy --all-targets 5 | -------------------------------------------------------------------------------- /bin/check/crates.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | bin/update_crates.sh --check 5 | 6 | -------------------------------------------------------------------------------- /bin/check/doc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | cargo doc 5 | -------------------------------------------------------------------------------- /bin/check/ruff.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | ruff --version 5 | ruff format --check 6 | ruff check 7 | 8 | -------------------------------------------------------------------------------- /bin/check/rustfmt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | cargo fmt --all -- --check 5 | 6 | -------------------------------------------------------------------------------- /bin/check/shellcheck.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | find . -type f -name '*.sh' -print0 | xargs -0 shellcheck 5 | 6 | -------------------------------------------------------------------------------- /bin/check/xmllint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | xmllint --noout integration/hurlfmt/tests_*/*.html 5 | 6 | -------------------------------------------------------------------------------- /bin/install_grcov.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | cargo install grcov 5 | rustup component add llvm-tools-preview 6 | cargo clean 7 | 8 | -------------------------------------------------------------------------------- /bin/requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4==4.12.3 2 | Flask==3.0.3 3 | mypy==1.10.0 4 | requests==2.32.3 5 | ruff==0.7.3 6 | -------------------------------------------------------------------------------- /bin/test/test_unit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | echo "----- unit tests -----" 5 | PATH="$HOME"/.cargo/bin:$PATH 6 | export PATH 7 | cargo test --release 8 | -------------------------------------------------------------------------------- /bin/windows/EnVar_plugin.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/bin/windows/EnVar_plugin.zip -------------------------------------------------------------------------------- /bin/windows/logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/bin/windows/logo.bmp -------------------------------------------------------------------------------- /bin/windows/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/bin/windows/logo.ico -------------------------------------------------------------------------------- /bin/windows/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/bin/windows/logo.png -------------------------------------------------------------------------------- /contrib/npm/hurl/hurl.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const bin = require("./bin"); 4 | 5 | bin.run("hurl"); -------------------------------------------------------------------------------- /contrib/npm/hurl/hurlfmt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const bin = require("./bin"); 4 | 5 | bin.run("hurlfmt"); -------------------------------------------------------------------------------- /contrib/ppa/debian/bin/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | dh_clean 5 | rm -rf vendor target 6 | -------------------------------------------------------------------------------- /contrib/ppa/debian/cargo.config: -------------------------------------------------------------------------------- 1 | [source.crates-io] 2 | replace-with = 'vendored-sources' 3 | 4 | [source.vendored-sources] 5 | directory = 'vendor' 6 | 7 | -------------------------------------------------------------------------------- /contrib/ppa/debian/compat: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /contrib/ppa/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (native) 2 | -------------------------------------------------------------------------------- /contrib/vim/ftdetect/hurl.vim: -------------------------------------------------------------------------------- 1 | autocmd BufRead,BufNewFile *.hurl set filetype=hurl 2 | 3 | -------------------------------------------------------------------------------- /contrib/vim/ftplugin/hurl.vim: -------------------------------------------------------------------------------- 1 | set commentstring=#\ %s 2 | -------------------------------------------------------------------------------- /docs/assets/img/developer-tools.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/developer-tools.avif -------------------------------------------------------------------------------- /docs/assets/img/developer-tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/developer-tools.png -------------------------------------------------------------------------------- /docs/assets/img/developer-tools.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/developer-tools.webp -------------------------------------------------------------------------------- /docs/assets/img/github-action-dark.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/github-action-dark.avif -------------------------------------------------------------------------------- /docs/assets/img/github-action-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/github-action-dark.png -------------------------------------------------------------------------------- /docs/assets/img/github-action-dark.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/github-action-dark.webp -------------------------------------------------------------------------------- /docs/assets/img/github-action-light.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/github-action-light.avif -------------------------------------------------------------------------------- /docs/assets/img/github-action-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/github-action-light.png -------------------------------------------------------------------------------- /docs/assets/img/github-action-light.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/github-action-light.webp -------------------------------------------------------------------------------- /docs/assets/img/gitlab-pipeline-dark.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/gitlab-pipeline-dark.avif -------------------------------------------------------------------------------- /docs/assets/img/gitlab-pipeline-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/gitlab-pipeline-dark.png -------------------------------------------------------------------------------- /docs/assets/img/gitlab-pipeline-dark.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/gitlab-pipeline-dark.webp -------------------------------------------------------------------------------- /docs/assets/img/gitlab-pipeline-light.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/gitlab-pipeline-light.avif -------------------------------------------------------------------------------- /docs/assets/img/gitlab-pipeline-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/gitlab-pipeline-light.png -------------------------------------------------------------------------------- /docs/assets/img/gitlab-pipeline-light.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/gitlab-pipeline-light.webp -------------------------------------------------------------------------------- /docs/assets/img/home-waterfall-dark.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/home-waterfall-dark.avif -------------------------------------------------------------------------------- /docs/assets/img/home-waterfall-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/home-waterfall-dark.png -------------------------------------------------------------------------------- /docs/assets/img/home-waterfall-dark.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/home-waterfall-dark.webp -------------------------------------------------------------------------------- /docs/assets/img/home-waterfall-light.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/home-waterfall-light.avif -------------------------------------------------------------------------------- /docs/assets/img/home-waterfall-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/home-waterfall-light.png -------------------------------------------------------------------------------- /docs/assets/img/home-waterfall-light.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/home-waterfall-light.webp -------------------------------------------------------------------------------- /docs/assets/img/hurl-html-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/hurl-html-file.png -------------------------------------------------------------------------------- /docs/assets/img/hurl-html-report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/hurl-html-report.png -------------------------------------------------------------------------------- /docs/assets/img/movies-box-dark.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/movies-box-dark.avif -------------------------------------------------------------------------------- /docs/assets/img/movies-box-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/movies-box-dark.png -------------------------------------------------------------------------------- /docs/assets/img/movies-box-dark.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/movies-box-dark.webp -------------------------------------------------------------------------------- /docs/assets/img/movies-box-light.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/movies-box-light.avif -------------------------------------------------------------------------------- /docs/assets/img/movies-box-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/movies-box-light.png -------------------------------------------------------------------------------- /docs/assets/img/movies-box-light.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/movies-box-light.webp -------------------------------------------------------------------------------- /docs/assets/img/poster-hurl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/poster-hurl.png -------------------------------------------------------------------------------- /docs/assets/img/poster-starwars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/poster-starwars.png -------------------------------------------------------------------------------- /docs/assets/img/quiz-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/quiz-dark.png -------------------------------------------------------------------------------- /docs/assets/img/quiz-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/assets/img/quiz-light.png -------------------------------------------------------------------------------- /docs/spec/options/hurlfmt/no_color.option: -------------------------------------------------------------------------------- 1 | name: no_color 2 | long: no-color 3 | help: Do not colorize output 4 | conflict: color 5 | --- 6 | Do not colorize output. 7 | -------------------------------------------------------------------------------- /docs/spec/runner/trailing_space.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/spec/runner/trailing_space.png -------------------------------------------------------------------------------- /docs/standalone/hurl-5.0.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/standalone/hurl-5.0.1.pdf -------------------------------------------------------------------------------- /docs/standalone/hurl-6.0.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/standalone/hurl-6.0.0.pdf -------------------------------------------------------------------------------- /docs/standalone/hurl-6.1.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/docs/standalone/hurl-6.1.0.pdf -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/base64.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/base64.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | base64, aaaaa? -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/base64.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/base64.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/base64.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/base64.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/duplicate_section.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/duplicate_section.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | [QueryStringParams] 3 | a: b 4 | [QueryStringParams] 5 | c: d 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/duplicate_section.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/duplicate_section.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/file.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/file.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | file, -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/file.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/file.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/file.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/file_missing_delimiter.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/file_missing_delimiter.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | file, data.bin ? -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/file_missing_delimiter.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/file_missing_delimiter.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/hexdigit.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/hexdigit.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | {"smiley":"\uf64"} 3 | HTTP 200 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/hexdigit.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/hexdigit.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/hexdigit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/hexdigit.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_character_at_end.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_character_at_end.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | 3 | xxx -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_character_at_end.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_character_at_end.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_cookie.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_cookie.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:3000 2 | 3 | HTTP 200 4 | [Asserts] 5 | cookie "JSESSIONID exists 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_cookie.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_cookie.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_cookie.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_cookie.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_cookiepath.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_cookiepath.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/notused 2 | HTTP 200 3 | [Asserts] 4 | cookie "cookie1[X]" equals "1" -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_cookiepath.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_cookiepath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_escape.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_escape.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_escape.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_escape.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_escape.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_jsonpath.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_jsonpath.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/unused 2 | HTTP 200 3 | [Asserts] 4 | jsonpath ?? equals 1 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_jsonpath.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_jsonpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_jsonpath.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_jsonpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option.hurl: -------------------------------------------------------------------------------- 1 | PUT https://localhost:8000/hello 2 | [Options] 3 | foo: true 4 | HTTP 200 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_option.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_option.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option_duration.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option_duration.hurl: -------------------------------------------------------------------------------- 1 | GET https://localhost:8000/hello 2 | [Options] 3 | delay: 10mms 4 | HTTP 200 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option_duration.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_error_parser/invalid_option_duration.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option_retry.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option_retry.hurl: -------------------------------------------------------------------------------- 1 | GET https://localhost:8000/hello 2 | [Options] 3 | retry: -24 4 | HTTP 200 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_option_retry.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_error_parser/invalid_option_retry.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_regex.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_regex.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/unused 2 | HTTP 200 3 | [Asserts] 4 | jsonpath "$.data" == /aa{a}/ 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_regex.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_regex.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_regex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_regex.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_section.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_section.hurl: -------------------------------------------------------------------------------- 1 | GET https://xx 2 | [Asserts] 3 | 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_section.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_section.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_section.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_section.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_url_query_param.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_url_query_param.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/utf8 2 | HTTP 200 3 | [Asserts] 4 | jsonpath "$.url" urlQueryParam ?? == 1 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_url_query_param.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_url_query_param.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_utf8.exit: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_utf8.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_utf8.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_utf8.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_utf8.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_variable.exit: -------------------------------------------------------------------------------- 1 | 2 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_variable.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000 2 | [Options] 3 | variable: newFoo=Bar 4 | variable: newUuid=123 5 | 6 | 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_variable.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_variable.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_variable.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_variable.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_xpath.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_xpath.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/utf8 2 | HTTP 200 3 | [Asserts] 4 | xpath ?? equals 1 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_xpath.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/invalid_xpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/invalid_xpath.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/invalid_xpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | { "name": 3 | HTTP 200 4 | 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/json.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/json.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_list_expecting_element.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_list_expecting_element.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | { 3 | "name": ["c", x 4 | } 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_list_expecting_element.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/json_list_expecting_element.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_list_trailing_comma.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_list_trailing_comma.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | { 3 | "name": ["c", "d", ] 4 | } 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_list_trailing_comma.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/json_list_trailing_comma.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_object_expecting_element.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_object_expecting_element.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | { "name": x 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_object_expecting_element.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/json_object_expecting_element.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_object_trailing_comma.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_object_trailing_comma.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | { 3 | "toto": { 4 | "a": "b", 5 | "c": "d", 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_object_trailing_comma.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/json_object_trailing_comma.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_unexpected_eof.exit: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_unexpected_eof.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | { "name": 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/json_unexpected_eof.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/json_unexpected_eof.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/jsonpath.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/jsonpath.hurl.ignore: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/json 2 | HTTP/1.1 200 3 | [Asserts] 4 | jsonpath ? equals 1 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/method.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/method.hurl: -------------------------------------------------------------------------------- 1 | GeT http://localhost:8000/hello 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/method.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/method.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/method.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/method.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/missing_quote.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/missing_quote.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/not-found 2 | HTTP 404 3 | [Asserts] 4 | jsonpath "$.error.message" == "not found 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/missing_quote.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/missing_quote.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/missing_quote.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/missing_quote.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/multiline.exit: -------------------------------------------------------------------------------- 1 | 2 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/multiline.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/invalid-multiline 2 | ```foo 3 | bar 4 | baz 5 | ``` 6 | HTTP 200 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/multiline.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/multiline.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/multiline.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/multiline.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/multipart.exit: -------------------------------------------------------------------------------- 1 | 2 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/multipart.hurl: -------------------------------------------------------------------------------- 1 | POST https://example.org/upload 2 | [MultipartFormData] 3 | field1: value1 4 | field3: file,example.zip; {{application/zip 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/multipart.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/multipart.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/multipart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/multipart.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/options_cacert.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/options_cacert.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000 2 | [Options] 3 | cacert: # missing filename ! 4 | 5 | HTTP * 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/options_cacert.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/options_cacert.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/options_cacert.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/options_cacert.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/options_insecure.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/options_insecure.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000 2 | [Options] 3 | insecure: foo 4 | 5 | HTTP * -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/options_insecure.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_error_parser/options_insecure.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/parallel_parsing_error.exit: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/parallel_parsing_error_a.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/parallel_parsing_error_d.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | [Asserts] 4 | header "toto" tata startsWith "hello" 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/predicate.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/predicate.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate_equal_value.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate_equal_value.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | [Asserts] 4 | header "toto" == xx 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate_equal_value.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/predicate_equal_value.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate_startwith_value.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate_startwith_value.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | [Asserts] 4 | header "toto" startsWith 1 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/predicate_startwith_value.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/predicate_startwith_value.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/regex.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/regex.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/assert-regex 2 | 3 | HTTP 200 4 | [Asserts] 5 | regex ?? not exists 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/regex.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/regex.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/regex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/regex.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/section_name.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/section_name.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000?localhost:8000 2 | [Unknown] 3 | aaa: bbb 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/section_name.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/section_name.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/section_name.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/section_name.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/space.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/space.hurl: -------------------------------------------------------------------------------- 1 | GET -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/space.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/space.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/space.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/space.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/status.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/status.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP oa0 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/status.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/status.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/status.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/status.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/template_variable.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/template_variable.hurl: -------------------------------------------------------------------------------- 1 | GET {{}} -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/template_variable.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/template_variable.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/typo_option.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/typo_option.hurl: -------------------------------------------------------------------------------- 1 | HEAD https://localhost:8000/hello 2 | [Options] 3 | very_verbose: true 4 | HTTP 200 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/typo_option.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/typo_option.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/typo_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/typo_option.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/unicode.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/unicode.hurl: -------------------------------------------------------------------------------- 1 | # \ud800 is not a valid code point 2 | POST https://localhost:8000/hello 3 | { 4 | "foo": "\ud800\ud800" 5 | } 6 | HTTP 200 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/unicode.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/unicode.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/unicode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/unicode.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/version.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/version.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP/11 200 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/version.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/version.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/version.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/version.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/xml.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/xml.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/xml.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_error_parser/xml.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/xml.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_error_parser/xml.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_error_parser/xml_unexpected_eof.err: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/data 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/__init_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/integration/hurl/tests_failed/__init_.py -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_base64.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_base64.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/assert_base64.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_base64.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_base64.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_bytearray.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_bytearray.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/assert_bytearray.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_bytearray.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_bytearray.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_content_encoding.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_content_encoding.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_content_encoding.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_decompress.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_decompress.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/error-assert-decompress 2 | HTTP 200 3 | `Hello World!` 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_decompress.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_decompress.hurl --compressed 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_file.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_file.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/assert_file.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_file.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/error-assert-file") 5 | def error_assert_file(): 6 | return "Hello" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_file.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_header_not_found.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_header_not_found.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/error-assert-header-not-found 2 | HTTP 200 3 | Custom: ??? 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_header_not_found.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_header_not_found.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_header_value.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_header_value.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/assert_header_value.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_header_value.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_header_value.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_http_version.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_http_version.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/error-assert/http-version") 5 | def http_version(): 6 | return "" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_http_version.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --continue-on-error tests_failed/assert_http_version.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_invalid_predicate_type.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_invalid_predicate_type.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_invalid_predicate_type.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_match_utf8.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_match_utf8.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/error-assert/match-utf8 2 | HTTP 200 3 | [Asserts] 4 | body matches ".*" 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_match_utf8.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl --json tests_failed/assert_match_utf8.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_match_utf8.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --json tests_failed/assert_match_utf8.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_newline.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_newline.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/assert_newline.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_newline.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_newline.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_cookie.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_cookie.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/assert_query_cookie.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_cookie.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_query_cookie.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_invalid_regex.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_invalid_regex.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/error-assert-query-invalid-regex 2 | HTTP 200 3 | [Asserts] 4 | regex "[x" exists 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_invalid_regex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_query_invalid_regex.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_invalid_xpath.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_invalid_xpath.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/utf8 2 | HTTP 200 3 | [Asserts] 4 | xpath "//" == 1 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_query_invalid_xpath.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_query_invalid_xpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_secret.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_secret.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/secret-failed 2 | HTTP 200 3 | "Hello Alice" 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_secret.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/secret-failed") 5 | def secret_failed(): 6 | return "Hello Bob" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_status.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_status.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl --json tests_failed/assert_status.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_status.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --json tests_failed/assert_status.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_template_variable_not_found.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_value_error.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_variable.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_variable.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/error-assert-variable") 5 | def error_assert_variable(): 6 | return "" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_variable.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --continue-on-error tests_failed/assert_variable.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_xpath.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_xpath.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/assert_xpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/assert_xpath.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/assert_xpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/aws_sigv4_option.exit: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/bad_option.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/bad_option.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --toto test_ok/hello/hello.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/bad_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --toto test_ok/hello/hello.hurl 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/body_binary.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/body_binary.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --continue-on-error tests_failed/body_binary.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/body_json.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/body_json.hurl: -------------------------------------------------------------------------------- 1 | POST https://unused 2 | { 3 | "success": {{success}} 4 | } 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/body_json.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --variable success=invalid tests_failed/body_json.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/cat.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/integration/hurl/tests_failed/cat.avif -------------------------------------------------------------------------------- /integration/hurl/tests_failed/connect_timeout.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/connect_timeout.hurl: -------------------------------------------------------------------------------- 1 | GET http://10.0.0.0 2 | 3 | 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/connect_timeout.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/connect_timeout.hurl --connect-timeout 1 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/continue_on_error.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/continue_on_error.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --continue-on-error tests_failed/continue_on_error.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/cookies.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/cookies.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/cookies.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/cookies.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/cookies.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/data.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_failed/diff.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/diff.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl --continue-on-error --no-color tests_failed/diff.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/diff.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --continue-on-error --no-color tests_failed/diff.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/entry.err: -------------------------------------------------------------------------------- 1 | warning: No entry have been executed for file tests_failed/entry.hurl 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/entry.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/entry.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl --from-entry 10 --to-entry 1 tests_failed/entry.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/entry.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --from-entry 10 --to-entry 1 tests_failed/entry.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/error_format_long.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/error_format_long_color.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_not_found.err: -------------------------------------------------------------------------------- 1 | error: Cannot access 'does_not_exist.hurl': No such file or directory 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_not_found.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_not_found.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl does_not_exist.hurl 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_not_found.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl does_not_exist.hurl 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_read_access.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_read_access.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/error-file-read-access 2 | file,does_not_exist; 3 | 4 | HTTP 200 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_read_access.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/file_read_access.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_read_access.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/error-file-read-access") 5 | def error_file_read_access(): 6 | return "" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_read_access.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/file_read_access.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_unauthorized.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/file_unauthorized.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/file_unauthorized.hurl --continue-on-error 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/filter.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/filter.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter_decode.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter_decode.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/filter_decode.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter_decode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/filter_decode.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter_in_capture.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter_in_capture.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/filter_in_capture.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/filter_in_capture.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/filter_in_capture.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/glob_file_not_found.err: -------------------------------------------------------------------------------- 1 | error: Cannot access 'does_not_exist/*.hurl': No such file or directory 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/glob_file_not_found.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/glob_file_not_found.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl --glob 'does_not_exist/*.hurl' 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/glob_file_not_found.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --glob 'does_not_exist/*.hurl' 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/hello_gb2312_failed.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/hello_gb2312_failed.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/hello_gb2312_failed.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/hello_gb2312_failed.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/hello_gb2312_failed.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/html_report_injection.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/html_report_injection.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/inline-script 2 | HTTP 200 3 | [Asserts] 4 | `Hello World` 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/http_connection.exit: -------------------------------------------------------------------------------- 1 | 3 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/http_connection.hurl: -------------------------------------------------------------------------------- 1 | GET http://unknown 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/http_connection.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/http_connection.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/http_connection.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/http_connection.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/http_version_not_supported.exit: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_jsonpath.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_jsonpath.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/invalid_jsonpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_jsonpath.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/invalid_jsonpath.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_protocol.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_protocol.hurl: -------------------------------------------------------------------------------- 1 | GET {{url}} 2 | [Options] 3 | variable: url=file:///tmp/foo.txt 4 | HTTP 200 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_protocol.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/invalid_protocol.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_protocol.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/invalid_protocol.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_url.exit: -------------------------------------------------------------------------------- 1 | 3 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_url.hurl: -------------------------------------------------------------------------------- 1 | GET https://??? 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_url.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/invalid_url.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_url.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/invalid_url.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_url_1.exit: -------------------------------------------------------------------------------- 1 | 3 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_url_1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --variable host=localhost:8000 tests_failed/invalid_url_1.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_variable.err: -------------------------------------------------------------------------------- 1 | error: Variable newUuid conflicts with the newUuid function, use a different name. 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_variable.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_variable.hurl: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_xml.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_xml.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/error-invalid-xml 2 | HTTP 200 3 | [Asserts] 4 | xpath "xx" == 1 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_xml.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/invalid_xml.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_xml.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/error-invalid-xml") 5 | def error_invalid_xml(): 6 | return "" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/invalid_xml.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/invalid_xml.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/key_template.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/key_template.hurl: -------------------------------------------------------------------------------- 1 | # Variable not found 2 | GET http://localhost:8000/error-key-template 3 | HTTP 200 4 | {{name}}: value 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/key_template.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/key_template.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/key_template.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/error-key-template") 5 | def error_key_template(): 6 | return "" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/key_template.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/key_template.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/many_glob_not_found.err: -------------------------------------------------------------------------------- 1 | error: Cannot access 'does_not_exist/*.hurl': No such file or directory 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/many_glob_not_found.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/max_filesize.exit: -------------------------------------------------------------------------------- 1 | 3 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/max_filesize.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --continue-on-error --max-filesize 255 tests_failed/max_filesize.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/max_redirect.exit: -------------------------------------------------------------------------------- 1 | 3 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/max_redirect.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/redirect/7 2 | HTTP 200 3 | 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/max_redirect.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --location --max-redirs 5 tests_failed/max_redirect.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/max_redirect_option.exit: -------------------------------------------------------------------------------- 1 | 3 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/max_redirect_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --continue-on-error tests_failed/max_redirect_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multiline.exit: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multiline.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl --no-color tests_failed/multiline.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multiline.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --no-color tests_failed/multiline.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multiline_color.exit: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multiline_color.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl --color tests_failed/multiline.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multiline_color.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --color tests_failed/multiline.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multipart_form_data.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multipart_form_data.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/multipart_form_data.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/multipart_form_data.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/multipart_form_data.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/options_template.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/options_template.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --continue-on-error tests_failed/options_template.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_decompress.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_decompress.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/output_decompress.hurl --compressed 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_directory.exit: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_directory.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | mkdir -p build/tmp 4 | 5 | hurl --output build/tmp tests_ok/hello/hello.hurl 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_file_not_exist.exit: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_file_not_exist.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --output /foo/bar/baz tests_ok/hello/hello.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_unauthorized.exit: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_unauthorized.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | [Options] 3 | output: ../build/output1 4 | output: ../build/output2 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_unauthorized.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/output_unauthorized.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/output_unauthorized.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/output_unauthorized.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/parse_error_tap.exit: -------------------------------------------------------------------------------- 1 | 127 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/parse_error_tap.tap: -------------------------------------------------------------------------------- 1 | I'm not a TAP file! 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/predicate.exit: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/predicate.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/predicate.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/predicate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/predicate.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/proxy_host.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/proxy_host.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --proxy unknown tests_ok/hello/hello.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/proxy_host.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --proxy unknown tests_ok/hello/hello.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/proxy_port.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/proxy_port.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/proxy_port.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --proxy localhost:1111 tests_ok/hello/hello.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/proxy_port.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --proxy localhost:1111 tests_ok/hello/hello.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_header_not_found.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_header_not_found.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/error-query-header-not-found 2 | HTTP 200 3 | Custom: XXX 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_header_not_found.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --json tests_failed/query_header_not_found.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_invalid_json.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_invalid_json.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/error-query-invalid-json 2 | HTTP 200 3 | [Asserts] 4 | jsonpath "$.errors" count == 2 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_invalid_json.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/query_invalid_json.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_invalid_json.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/query_invalid_json.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_invalid_utf8.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_invalid_utf8.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/query_invalid_utf8.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_invalid_utf8.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/query_invalid_utf8.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_match_none.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_match_none.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/query-match-none 2 | HTTP * 3 | [Asserts] 4 | header "Location" matches /^foo$/ 5 | 6 | 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_match_none.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/query_match_none.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/query_match_none.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/query_match_none.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/retry.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/retry.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/not-found 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/retry.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/retry.hurl --retry 5 --retry-interval 100 --verbose 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/retry_option.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/retry_option.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/not-found 2 | [Options] 3 | retry: 2 4 | retry-interval: 0ms 5 | HTTP 200 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/retry_option.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed/retry_option.hurl --verbose 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/retry_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed/retry_option.hurl --verbose 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/runner_errors.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/runner_errors.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --continue-on-error --no-color tests_failed/runner_errors.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/runner_errors_color.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/runner_errors_color.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --continue-on-error --color tests_failed/runner_errors.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/secret_args.err: -------------------------------------------------------------------------------- 1 | error: secret 'foo' can't be reassigned 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/secret_args.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/secret_args.hurl: -------------------------------------------------------------------------------- 1 | # Nothing to say... 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/secret_args.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --secret foo=a --secret foo=b tests_failed/secret_args.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/secret_errors.exit: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/streaming.exit: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/streaming.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl --max-time 5 tests_failed/streaming.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/streaming.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --max-time 5 tests_failed/streaming.hurl 4 | 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/template_variable_not_found.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/template_variable_not_found.hurl: -------------------------------------------------------------------------------- 1 | GET {{url}} 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/template_variable_not_found.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_failed/template_variable_not_found.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed/template_variable_not_renderable.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/timeout.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_failed/timeout.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/timeout 2 | 3 | 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed_not_linted/parallel_io.exit: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed_not_linted/tab.exit: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed_not_linted/tab.hurl: -------------------------------------------------------------------------------- 1 | # Include tabs 2 | GET http://localhost:8000/hello 3 | HTTP 200 4 | `Hello World` 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed_not_linted/tab.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_failed_not_linted/tab.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_failed_not_linted/tab.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_failed_not_linted/tab.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/__init_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/integration/hurl/tests_ok/__init_.py -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_body.bin: -------------------------------------------------------------------------------- 1 | line1 2 | line2 3 | line3 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_body.out: -------------------------------------------------------------------------------- 1 | line1 2 | line2 3 | line3 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_body.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/assert/assert_body.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_header.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/assert-header' 2 | curl 'http://localhost:8000/assert-header' 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_header.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --json --verbose tests_ok/assert/assert_header.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_json.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/assert/assert_json.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_json.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/assert/assert_json.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_match.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/assert-match' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_match.out: -------------------------------------------------------------------------------- 1 | { 2 | "date1": "2014-01-01", 3 | "date2": "x2014-01-01", 4 | "path1": "aa/bb", 5 | "path2": "aa\\bb" 6 | } -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_match.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/assert/assert_match.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_match.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/assert/assert_match.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_redirects.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/assert/assert_redirects.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_regex.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/assert-regex' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_regex.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_regex.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/assert/assert_regex.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_regex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/assert/assert_regex.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_status_code.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/assert/assert_status_code.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_xpath.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/assert/assert_xpath.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/assert/assert_xpath.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/assert/assert_xpath.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/basic_authentication/basic_authentication.curl: -------------------------------------------------------------------------------- 1 | curl --user 'bob@email.com:secret' 'http://localhost:8000/basic-authentication' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/basic_authentication/basic_authentication.out: -------------------------------------------------------------------------------- 1 | You are authenticated -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bench/bench.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bench/bench.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --ipv4 tests_ok/bench/bench.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bench/bench.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --ipv4 tests_ok/bench/bench.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bytes/bytes.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bytes/bytes.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/bytes' 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bytes/bytes.out: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bytes/bytes.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/bytes/bytes.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bytes/bytes.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/bytes/bytes.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bytes/bytes_empty.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/bytes/bytes_empty.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/bytes/bytes_empty.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/bytes/bytes_empty.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/captures/captures.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/captures/captures.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/captures/captures.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/captures/captures.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/captures/captures_to_json.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --json tests_ok/captures/captures.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/charset/charset.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/charset/charset.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/charset/charset.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/charset/charset.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/color/color.err: -------------------------------------------------------------------------------- 1 | warning: No entry have been executed for file tests_ok/color/color.hurl 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/color/color.hurl: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/color/color.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --color --verbose tests_ok/color/color.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/color/color.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --color --verbose tests_ok/color/color.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/completion/completion_bash.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | # Test only in bash 4 | exit 255 -------------------------------------------------------------------------------- /integration/hurl/tests_ok/compressed/compressed.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/compressed/compressed.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --compressed tests_ok/compressed/compressed.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/compressed/compressed_option.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/compressed/compressed_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/compressed/compressed_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/compressed/hello.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/connect_to/connect_to.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/connect_to/connect_to.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/connect-to") 5 | def connect_to(): 6 | return "Hello World!" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/connect_to/connect_to_option.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/connect_to/connect_to_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/connect_to/connect_to_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/content_type/content_type.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/content_type/content_type.hurl 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/cookie/cookie_file.cookies: -------------------------------------------------------------------------------- 1 | localhost TRUE / FALSE 0 cookie1 valueA 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/cookie/cookie_file.curl: -------------------------------------------------------------------------------- 1 | curl --cookie tests_ok/cookie/cookie_file.cookies 'http://localhost:8000/cookie_file' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/cookie/cookie_file.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/cookie_file 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/cookie/cookie_storage.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/cookie/cookie_storage.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/cookie/cookie_storage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/cookie/cookie_storage.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/cookie/cookies.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --variable name=Bruce tests_ok/cookie/cookies.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/delay/delay_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/delay/delay_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/empty/empty.hurl: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/empty/empty.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/empty/empty.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/empty/empty.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/empty/empty.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/empty/empty_sections.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/empty/empty_sections.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/empty/empty_sections.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/empty/empty_sections.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/empty/empty_sections.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/encoding/encoding.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --output - tests_ok/encoding/encoding.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/entry/entry.out: -------------------------------------------------------------------------------- 1 | Reached entry 2 2 | Reached entry 3 3 | Reached entry 4 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/entry/entry.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --from-entry 2 --to-entry 4 --no-output tests_ok/entry/entry.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/env_var/env_var.profile: -------------------------------------------------------------------------------- 1 | HURL_name=Bob 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/env_var/env_var.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | export HURL_name=Bob 5 | hurl tests_ok/env_var/env_var.hurl 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/expect/expect.curl: -------------------------------------------------------------------------------- 1 | curl --header 'Expect: 100-continue' --header 'Content-Type:' --data 'data' 'http://localhost:8000/expect' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/expect/expect.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/expect 2 | Expect: 100-continue 3 | `data` 4 | HTTP 200 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/expect/expect.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/expect/expect.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/expect/expect.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/expect/expect.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/filter/filter.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/filter/filter.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/filter/filter.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/filter/filter.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/float/float.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/float/float.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/float/float.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/float/float.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/follow_redirect/follow_redirect.out: -------------------------------------------------------------------------------- 1 | Followed redirect POST! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/follow_redirect/follow_redirect.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --location tests_ok/follow_redirect/follow_redirect.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/follow_redirect/follow_redirect_option.out: -------------------------------------------------------------------------------- 1 | Followed redirect Basic Auth! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/follow_redirect/follow_redirect_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/follow_redirect/follow_redirect_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/form_params/form_params.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/form_params/form_params.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/function/function.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/function 2 | [Query] 3 | uuid: {{newUuid}} 4 | now: {{newDate}} 5 | HTTP 200 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/function/function.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/function/function.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/function/function.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/function/function.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/gb2312/gb2312.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/gb2312/gb2312.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/gb2312/gb2312.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/gb2312/gb2312.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ok/gb2312/gb2312.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/get_large/get_large.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/get_large' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/get_large/get_large.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/get_large/get_large.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/get_large/get_large.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/get_large/get_large.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/graphql/graphql.out: -------------------------------------------------------------------------------- 1 | {"data":{"person":{"name":"Darth Vader"}}} -------------------------------------------------------------------------------- /integration/hurl/tests_ok/graphql/graphql.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/graphql/graphql.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/graphql/graphql.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/graphql/graphql.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/head/head.curl: -------------------------------------------------------------------------------- 1 | curl --head 'http://localhost:8000/head' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/head/head.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/head/head.hurl --verbose 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/head/head.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/head") 5 | def head(): 6 | return "Hello Head" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/head/head.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/head/head.hurl --verbose 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/header/headers.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/header/headers.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/header/headers.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/header/headers.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/hello/data.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/hello/hello.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/hello/hello.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --verbose tests_ok/hello/hello.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/hello/hello.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/hello/hello.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/hello/hello_gb2312.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/hello/hello_gb2312.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/hello/hello_gb2312.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/hello/hello_gb2312.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/help/help.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --help 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/help/help.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | # In CI, --help is wrapped on a 100 columns wide terminal. 5 | hurl --help 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/html/html.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_10.curl: -------------------------------------------------------------------------------- 1 | curl --http1.0 'http://localhost:8000/http_version/10' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_10.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/http_version/10 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_10.out: -------------------------------------------------------------------------------- 1 | HTTP/1.0 -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_10.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --http1.0 tests_ok/http_version/http_version_10.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_11.curl: -------------------------------------------------------------------------------- 1 | curl --http1.1 'http://localhost:8000/http_version/11' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_11.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/http_version/11 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_11.out: -------------------------------------------------------------------------------- 1 | HTTP/1.1 -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_11.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --http1.1 tests_ok/http_version/http_version_11.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/http_version/http_version_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/http_version/http_version_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/ignore_asserts/ignore_asserts.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/ignore_asserts 2 | HTTP 666 3 | [Asserts] 4 | body == "Whatever" 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/ignore_asserts/ignore_asserts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --ignore-asserts tests_ok/ignore_asserts/ignore_asserts.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/include/include.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/include' 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/include/include.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/include 2 | HTTP 200 3 | `Hello` 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/include/include.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --include tests_ok/include/include.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/include/include.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --include tests_ok/include/include.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/include/include_color.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --include --color tests_ok/include/include.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/input_dir/input_dir.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --test tests_ok/input_dir/root 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/input_dir/input_dir.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --test tests_ok/input_dir/root 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/input_dir/root/a/a.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/input_dir/root/a/b/b.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/input_dir/root/a/b/b.not_hurl: -------------------------------------------------------------------------------- 1 | Not a hurl file. 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/input_dir/root/c/c.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/input_dir/root/d.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/insecure/insecure_option.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/hello' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/insecure/insecure_option.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/insecure/insecure_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/insecure/insecure_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/ip_query/ip_query.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/ip_query/ip_query.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/ip_query/ip_query.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/ip_query/ip_query.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/json_output/json_output.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --json tests_ok/json_output/json_output.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/jsonpath/jsonpath_store.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/jsonpath/jsonpath_store.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/junit/test.1.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/junit/test.3.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/junit/test.4.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello\tWorld!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/key_template/data.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/key_template/key_template.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/key_template/key_template.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/limit_rate/limit_rate.curl: -------------------------------------------------------------------------------- 1 | curl --limit-rate 2000000 'http://localhost:8000/dummy_bytes' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/limit_rate/limit_rate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --no-output --limit-rate 2000000 tests_ok/limit_rate/limit_rate.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/limit_rate/limit_rate_option.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/dummy_bytes' 2 | curl --limit-rate 2000000 'http://localhost:8000/dummy_bytes' 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/limit_rate/limit_rate_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --no-output tests_ok/limit_rate/limit_rate_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/max_redirect/max_redirect_infinite.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/redirect-infinite/100 2 | HTTP 200 3 | 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/max_redirect/max_redirect_infinite.out: -------------------------------------------------------------------------------- 1 | Done! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/max_redirect/max_redirect_infinite_option.out: -------------------------------------------------------------------------------- 1 | Done! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/method/method.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/method/method.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/method/method.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/method/method.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/multilines/multilines.out: -------------------------------------------------------------------------------- 1 | {"query":"{\n hero {\n name\n # Queries can have comments!\n friends {\n name\n }\n }\n}"} -------------------------------------------------------------------------------- /integration/hurl/tests_ok/multilines/multilines.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/multilines/multilines.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/multipart/data.html: -------------------------------------------------------------------------------- 1 |
Hello World!
-------------------------------------------------------------------------------- /integration/hurl/tests_ok/multipart/data.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/multipart/multipart_form_data.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/multipart/multipart_form_data.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/multiple/multiple.out: -------------------------------------------------------------------------------- 1 | Hello World!Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/multiple/multiple.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/hello/hello.hurl tests_ok/hello/hello.hurl 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/netrc/netrc.curl: -------------------------------------------------------------------------------- 1 | curl --netrc-file 'tests_ok/netrc/netrc_file.netrc' 'http://localhost:8000/basic-authentication' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/netrc/netrc.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/basic-authentication 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/netrc/netrc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --netrc-file tests_ok/netrc/netrc_file.netrc tests_ok/netrc/netrc.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/netrc/netrc_file.netrc: -------------------------------------------------------------------------------- 1 | machine localhost 2 | login bob@email.com 3 | password secret 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/netrc/netrc_option.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/netrc/netrc_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/netrc/netrc_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/netrc/netrc_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/no_entry/no_entry.curl: -------------------------------------------------------------------------------- 1 | # all the entries 2 | # have been commented -------------------------------------------------------------------------------- /integration/hurl/tests_ok/no_entry/no_entry.hurl: -------------------------------------------------------------------------------- 1 | # all the entries 2 | # have been commented 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/no_entry/no_entry.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/no_entry/no_entry.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/no_entry/no_entry.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/no_entry/no_entry.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/no_output/no_output.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --no-output tests_ok/no_output/no_output.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/non_utf8/non_utf8.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/non-utf8 2 | HTTP 200 3 | 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/non_utf8/non_utf8.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/non_utf8/non_utf8.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/non_utf8/non_utf8.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/non_utf8/non_utf8.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/options_template/options_template.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/options_template/options_template.hurl 5 | 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/output/output.out: -------------------------------------------------------------------------------- 1 | Response endpoint2 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/output/output_existing.out: -------------------------------------------------------------------------------- 1 | Response endpoint2 2 | Response endpoint2 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/output/output_option.out: -------------------------------------------------------------------------------- 1 | Response endpoint1 2 | Response endpoint2 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/output/output_parallel.out: -------------------------------------------------------------------------------- 1 | Response endpoint2 2 | Response endpoint2 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/override_header/override_header.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/override-header 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parallel/parallel_a.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/parallel/hello?name=A 2 | HTTP 200 3 | `Hello A from a parallel world!\n` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parallel/parallel_all.exit: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parallel/parallel_b.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/parallel/hello?name=B 2 | HTTP 200 3 | `Hello B from a parallel world!\n` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parallel/parallel_c.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/parallel/hello?name=C 2 | HTTP 200 3 | `Hello C from a parallel world!\n` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parallel/parallel_d.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/parallel/hello?name=D 2 | HTTP 200 3 | `Hello D from a parallel world!\n` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parallel/parallel_e.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/parallel/hello?name=E 2 | HTTP 200 3 | `Hello E from a parallel world!\n` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parallel/parallel_f.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/parallel/hello?name=F 2 | HTTP 200 3 | `Hello F from a parallel world!\n` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parallel/parallel_g.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/parallel/hello?name=G 2 | HTTP 200 3 | `Hello G from a parallel world!\n` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/parse_cache/parse_cache.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --no-output tests_ok/parse_cache/parse_cache.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/patch/patch.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/patch/patch.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/patch/patch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/patch/patch.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/path_as_is/path_as_is.curl: -------------------------------------------------------------------------------- 1 | curl --path-as-is http://localhost:8000/path-as-is/../resource -------------------------------------------------------------------------------- /integration/hurl/tests_ok/path_as_is/path_as_is.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --path-as-is tests_ok/path_as_is/path_as_is.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/path_as_is/path_as_is_option.curl: -------------------------------------------------------------------------------- 1 | curl http://localhost:8000/any/../hello 2 | curl --path-as-is http://localhost:8000/path-as-is/../resource -------------------------------------------------------------------------------- /integration/hurl/tests_ok/path_as_is/path_as_is_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/path_as_is/path_as_is_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/data.bin: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_base64.hurl: -------------------------------------------------------------------------------- 1 | POST http://localhost:8000/post-base64 2 | base64,SGVsbG8gV29ybGQh; # Hello World! 3 | HTTP 200 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_base64.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/post/post_base64.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_base64.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/post/post_base64.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_bytes.curl: -------------------------------------------------------------------------------- 1 | curl --header 'Content-Type: application/octet-stream' --data $'\x01\x02\x03' 'http://localhost:8000/post-bytes' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_bytes.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/post/post_bytes.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_bytes.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/post/post_bytes.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --variable filename=data.bin tests_ok/post/post_file.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_file_with space: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_multilines.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/post/post_multilines.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_multilines.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/post/post_multilines.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_xml.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/post/post_xml.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/post/post_xml.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/post/post_xml.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/predicates/predicates_number.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/predicates/predicates_number.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/predicates/predicates_string.out: -------------------------------------------------------------------------------- 1 | ✈ -------------------------------------------------------------------------------- /integration/hurl/tests_ok/predicates/predicates_string.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/predicates/predicates_string.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/proxy/proxy.curl: -------------------------------------------------------------------------------- 1 | curl --proxy 'localhost:3128' 'http://127.0.0.1:8000/proxy' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/proxy/proxy_option.curl: -------------------------------------------------------------------------------- 1 | curl --proxy 'localhost:3128' 'http://127.0.0.1:8000/proxy' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/proxy/proxy_option.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/proxy/proxy_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/proxy/proxy_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/proxy/proxy_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/put/put.curl: -------------------------------------------------------------------------------- 1 | curl --request PUT 'http://localhost:8000/put' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/put/put.hurl: -------------------------------------------------------------------------------- 1 | PUT http://localhost:8000/put 2 | HTTP 200 3 | [Asserts] 4 | body == "" 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/put/put.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/integration/hurl/tests_ok/put/put.out -------------------------------------------------------------------------------- /integration/hurl/tests_ok/put/put.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/put/put.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/put/put.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/put", methods=["PUT"]) 5 | def put(): 6 | return "" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/put/put.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/put/put.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/querystring/querystring_params.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/querystring/querystring_params.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/reason/reason.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/reason-french' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/reason/reason.out: -------------------------------------------------------------------------------- 1 | Bonjour -------------------------------------------------------------------------------- /integration/hurl/tests_ok/reason/reason.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --verbose tests_ok/reason/reason.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/reason/reason.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/reason-french") 5 | def reason_french(): 6 | return "Bonjour", "200 Succès" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/reason/reason.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/reason/reason.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/redirect/redirect.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/redirect/redirect.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/redirect/redirect.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/redirect/redirect.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/repeat/repeat_a.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/repeat/hello?name=A 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/repeat/repeat_b.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/repeat/hello?name=B 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/repeat/repeat_c.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/repeat/hello?name=C 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/report_json/test.1.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/report_json/test.3.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/request_content_length/request_content_length.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/resolve/resolve.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/resolve/resolve.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/resolve") 5 | def resolve(): 6 | return "Hello World!" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/resolve/resolve_option.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/resolve/resolve_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/resolve/resolve_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/retry/retry.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --retry 10 --retry-interval 100 --verbose --json tests_ok/retry/retry.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/retry/retry_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose --json tests_ok/retry/retry_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/retry/retry_until_200.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/retry/until-200 2 | [Options] 3 | retry: 4 4 | HTTP 200 5 | `OK` 6 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/retry/retry_until_200.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/retry/retry_until_200.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/retry/retry_until_200.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/retry/retry_until_200.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/skip/skip.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --verbose tests_ok/skip/skip.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/skip/skip.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/skip/skip.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/stdin/stdin.out: -------------------------------------------------------------------------------- 1 | Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/stdin/stdin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | echo "GET http://localhost:8000/hello" | hurl --repeat 10 5 | 6 | 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/stdout/stdout.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/stdout/text 2 | [Options] 3 | output: - 4 | HTTP 200 5 | `Hello` 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/stdout/stdout.out: -------------------------------------------------------------------------------- 1 | HelloHello -------------------------------------------------------------------------------- /integration/hurl/tests_ok/stdout/stdout.py: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | from app import app 3 | 4 | 5 | @app.route("/stdout/text") 6 | def stdout_text(): 7 | return "Hello" 8 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/stdout/stdout.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose --output - tests_ok/stdout/stdout.hurl 5 | 6 | 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/stdout/stdout_parallel.out: -------------------------------------------------------------------------------- 1 | HelloHello -------------------------------------------------------------------------------- /integration/hurl/tests_ok/stdout/stdout_parallel.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --parallel tests_ok/stdout/stdout.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/tap/test.1.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/tap/test.3.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/test/test.1.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/test/test.3.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/test/test.4.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | `Hello\tWorld!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/test/test.exit: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /integration/hurl/tests_ok/test/test_repeat.hurl: -------------------------------------------------------------------------------- 1 | GET https://unpkg.com/vue@3.4.27/dist/vue.global.prod.js 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/test/test_repeat.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --test --repeat 100 tests_ok/test/test_repeat.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/url/url.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/~user' 2 | curl 'http://localhost:8000/%7Euser' 3 | curl 'http://localhost:8000/!$&()*+,;=:@[]' -------------------------------------------------------------------------------- /integration/hurl/tests_ok/url/url.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ok/url/url.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/url/url.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/url/url.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/user_agent/user_agent.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --user-agent "Mozilla/5.0 A" tests_ok/user_agent/user_agent.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/utf8/utf8.curl: -------------------------------------------------------------------------------- 1 | curl 'http://localhost:8000/utf8' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/utf8/utf8.out: -------------------------------------------------------------------------------- 1 | café -------------------------------------------------------------------------------- /integration/hurl/tests_ok/utf8/utf8.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --very-verbose tests_ok/utf8/utf8.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/utf8/utf8.py: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | from app import app 3 | 4 | 5 | @app.route("/utf8") 6 | def utf8(): 7 | return "café" 8 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/utf8/utf8.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --very-verbose tests_ok/utf8/utf8.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/variables/variables1.env: -------------------------------------------------------------------------------- 1 | # Variables for hurl 2 | galaxy=Milky Way 3 | 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/verbose/verbose.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/verbose 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/verbose/verbose.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --verbose tests_ok/verbose/verbose.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/verbose/verbose.py: -------------------------------------------------------------------------------- 1 | from app import app 2 | 3 | 4 | @app.route("/verbose") 5 | def verbose(): 6 | return "Hello World!" 7 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/verbose/verbose.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --verbose tests_ok/verbose/verbose.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/verbose/verbose_option.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurl/tests_ok/verbose/verbose_option.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ok/verbose/verbose_option.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/version/version.out.pattern: -------------------------------------------------------------------------------- 1 | hurl <<<.*?>>> 2 | Features (libcurl): <<<.*?>>> 3 | Features (built-in): <<<.*?>>> 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/version/version.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --version 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok/version/version.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --version 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok_not_linted/bom.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_ok_not_linted/bom.hurl --verbose 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok_not_linted/bom.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ok_not_linted/bom.hurl --verbose 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok_not_linted/cookies.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_ok_not_linted/cookies.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok_not_linted/cookies.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ok_not_linted/cookies.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ok_not_linted/empty_section.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ok_not_linted/empty_section.hurl --verbose 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert.curl: -------------------------------------------------------------------------------- 1 | curl --cacert tests_ssl/certs/ca/cert.pem 'https://localhost:8002/hello' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --cacert tests_ssl/certs/ca/cert.pem tests_ssl/cacert.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert_no_revoke.curl: -------------------------------------------------------------------------------- 1 | curl --cacert tests_ssl/certs/ca/cert.pem 'https://localhost:8002/hello' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert_no_revoke.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert_no_revoke_to_json.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert_selfsigned.curl: -------------------------------------------------------------------------------- 1 | curl --cacert tests_ssl/certs/server/cert.selfsigned.pem 'https://localhost:8001/hello' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert_selfsigned.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert_selfsigned.hurl: -------------------------------------------------------------------------------- 1 | GET https://localhost:8001/hello 2 | HTTP 200 3 | `Hello World!` 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert_to_json.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/cacert_to_json.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl --cacert tests_ssl/certs/ca/cert.pem --json tests_ssl/cacert.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/certs/ca/cert.srl: -------------------------------------------------------------------------------- 1 | 3E23BB8721F8108536C272C96434D615D18C6915 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/client_authentication.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/client_authentication.hurl: -------------------------------------------------------------------------------- 1 | GET https://localhost:8003/hello 2 | HTTP 200 3 | 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/client_authentication_password.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/client_authentication_password.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ssl/client_authentication_password.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_client_authentication_password.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_client_authentication_password.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ssl/error_client_authentication_password.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_options_pinnedpubkey.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_options_pinnedpubkey.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ssl/error_options_pinnedpubkey.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_pinned_pub_key.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_pinned_pub_key.hurl: -------------------------------------------------------------------------------- 1 | GET https://localhost:8001/hello 2 | HTTP 200 3 | `Hello World!` -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_self_signed_certificate.exit: -------------------------------------------------------------------------------- 1 | 3 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_self_signed_certificate.hurl: -------------------------------------------------------------------------------- 1 | GET https://localhost:8001/hello 2 | HTTP 200 3 | `Hello World!` 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/error_self_signed_certificate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ssl/error_self_signed_certificate.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/insecure.curl: -------------------------------------------------------------------------------- 1 | curl --insecure 'https://localhost:8001/hello' 2 | 3 | 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/insecure.exit: -------------------------------------------------------------------------------- 1 | 0 2 | 3 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/insecure.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl --insecure --verbose tests_ssl/insecure.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/insecure.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl --insecure --verbose tests_ssl/insecure.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/keepalive.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ssl/keepalive.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/letsencrypt.curl: -------------------------------------------------------------------------------- 1 | curl 'https://hurl.dev' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/letsencrypt.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurl tests_ssl/letsencrypt.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/letsencrypt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurl tests_ssl/letsencrypt.hurl 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/live.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Orange-OpenSource/hurl/059cd4c8941360eb690b6ed779ddb63455ca2e1d/integration/hurl/tests_ssl/live.err -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/live.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/live.hurl: -------------------------------------------------------------------------------- 1 | GET https://google.com 2 | GET https://github.com 3 | GET https://gitlab.com 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/live.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_ssl/live.hurl 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/live.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ssl/live.hurl 4 | 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/options.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurl tests_ssl/options.hurl --verbose 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/options.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurl tests_ssl/options.hurl --verbose 4 | -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/pinned_pub_key.exit: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /integration/hurl/tests_ssl/pinned_pub_key.hurl: -------------------------------------------------------------------------------- 1 | GET https://localhost:8001/hello 2 | HTTP 200 3 | `Hello World!` -------------------------------------------------------------------------------- /integration/hurl/tests_unix_socket/unix_socket.curl: -------------------------------------------------------------------------------- 1 | curl --unix-socket 'build/unix_socket.sock' 'http://example/hello' 2 | -------------------------------------------------------------------------------- /integration/hurl/tests_unix_socket/unix_socket.exit: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /integration/hurl/tests_unix_socket/unix_socket.hurl: -------------------------------------------------------------------------------- 1 | GET http://example/hello 2 | HTTP 200 3 | [Asserts] 4 | `Hello World!` 5 | -------------------------------------------------------------------------------- /integration/hurl/tests_unix_socket/unix_socket.out: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/empty.html: -------------------------------------------------------------------------------- 1 |

2 | 
3 | 
4 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/empty.hurl: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/empty.json: -------------------------------------------------------------------------------- 1 | {"entries":[]} 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/empty.lint.hurl: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/function.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | [Query] 3 | uuid: {{newUuid}} 4 | now: {{newDate}} 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/function.lint.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | [Query] 3 | uuid: {{newUuid}} 4 | now: {{newDate}} 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/no_entry.hurl: -------------------------------------------------------------------------------- 1 | # all the entries 2 | # have been commented 3 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/no_entry.json: -------------------------------------------------------------------------------- 1 | {"entries":[]} 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/no_entry.lint.hurl: -------------------------------------------------------------------------------- 1 | # all the entries 2 | # have been commented 3 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/trailing_space.hurl: -------------------------------------------------------------------------------- 1 | # The following line contains a trailing space 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/trailing_space.json: -------------------------------------------------------------------------------- 1 | {"entries":[]} 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_export/trailing_space.lint.hurl: -------------------------------------------------------------------------------- 1 | # The following line contains a trailing space 2 | 3 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/check.exit: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/check.out: -------------------------------------------------------------------------------- 1 | would reformat: tests_failed/check_error_unformatted.hurl 2 | 1 file would be reformatted 3 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/check_error_parse.hurl: -------------------------------------------------------------------------------- 1 | GET 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/check_error_unformatted.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/check_ok.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/in_place.exit: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/in_place.hurl: -------------------------------------------------------------------------------- 1 | GET 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/in_place.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurlfmt --in-place tests_failed/in_place.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/in_place.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurlfmt --in-place tests_failed/in_place.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/latin1.err: -------------------------------------------------------------------------------- 1 | error: Input file tests_failed/latin1.hurl can not be read - invalid utf-8 sequence of 1 bytes from index 59 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/latin1.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/latin1.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurlfmt tests_failed/latin1.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/latin1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurlfmt tests_failed/latin1.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/parse_ko.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/parse_ko.hurl: -------------------------------------------------------------------------------- 1 | xxx 2 | xxx 3 | xxx 4 | 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/parse_ko.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurlfmt tests_failed/parse_ko.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/parse_ko.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurlfmt tests_failed/parse_ko.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/parse_ko_color.exit: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /integration/hurlfmt/tests_failed/parse_ko_color.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurlfmt --color tests_failed/parse_ko.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/check.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/check.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/check.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurlfmt --check tests_ok/check.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/check.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurlfmt --check tests_ok/check.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/data.bin: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/format.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | [Cookies] 3 | cookie1: value1 4 | [QueryStringParams] 5 | param1:value1 6 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/format.out: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | [QueryStringParams] 3 | param1: value1 4 | [Cookies] 5 | cookie1: value1 6 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/format.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurlfmt tests_ok/format.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/format.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurlfmt tests_ok/format.hurl 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/help.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | hurlfmt --help 4 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/help.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | # In CI, --help is wrapped on a 120 columns wide terminal. 4 | hurlfmt --help 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/html_standalone.hurl: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | HTTP 200 3 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/html_standalone.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | hurlfmt --out html --standalone tests_ok/html_standalone.hurl 4 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/hurlfmt.out: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/hurlfmt.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | echo 'GET http://localhost:8000/hello' | hurlfmt --color 4 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/hurlfmt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | echo 'GET http://localhost:8000/hello' | hurlfmt --color 4 | 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/hurlfmt_multiple_input.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurlfmt tests_ok/hello.hurl tests_ok/hello.hurl 5 | 6 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/import_curl.ps1: -------------------------------------------------------------------------------- 1 | Set-StrictMode -Version latest 2 | $ErrorActionPreference = 'Stop' 3 | 4 | hurlfmt --in curl tests_ok/import_curl.in 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/import_curl.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -Eeuo pipefail 3 | 4 | hurlfmt --in curl tests_ok/import_curl.in 5 | -------------------------------------------------------------------------------- /integration/hurlfmt/tests_ok/in_place.out: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/hello 2 | -------------------------------------------------------------------------------- /packages/hurl/tests/cookies.txt: -------------------------------------------------------------------------------- 1 | localhost FALSE / FALSE 0 cookie2 valueA 2 | -------------------------------------------------------------------------------- /packages/hurl/tests/data.bin: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /packages/hurl/tests/hello.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /packages/hurl_core/README.md: -------------------------------------------------------------------------------- 1 | hurl_core 2 | =============== 3 | 4 | The hurl_core crate provides the common functionalities used by both hurl and hurlfmt. 5 | 6 | -------------------------------------------------------------------------------- /packages/hurl_core/tests/json/asterisk.json: -------------------------------------------------------------------------------- 1 | { "*": {} } -------------------------------------------------------------------------------- /packages/hurl_core/tests/json/g_clef.json: -------------------------------------------------------------------------------- 1 | { 2 | "encoding1": "\uD834\uDD1E" 3 | } -------------------------------------------------------------------------------- /packages/hurl_core/tests/json/hello.json: -------------------------------------------------------------------------------- 1 | "Hello {{Name}}!" -------------------------------------------------------------------------------- /packages/hurl_core/tests/json/variable.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{name}}", 3 | "password": "secret", 4 | "age": {{age}}, 5 | "strict": {{strict}} 6 | } -------------------------------------------------------------------------------- /ruff.toml: -------------------------------------------------------------------------------- 1 | lint.extend-select = ["I"] 2 | --------------------------------------------------------------------------------