Test Result Upload Automation
How to continuously test web apps and APIs with Hurl and GitLab CI/CD

How to continuously test web apps and APIs with Hurl and GitLab CI/CD

12/14/2022 · Michael Friedrich

What this post added

This post introduces Hurl, an open-source tool for testing web apps and APIs via HTTP requests, and demonstrates its integration into GitLab CI/CD pipelines. It covers installation, basic usage with plain text configurations, asserting HTTP responses (status, headers, body), and handling JSON/XML responses using JSONPath and XPath. The post details two primary methods for CI/CD integration: using the official Hurl container image with an entrypoint override, and building a custom container image for enhanced security and control. It also provides examples of creating reusable CI/CD job templates for efficient and dynamic testing.

Read the original post ↗