Enhancing Httprunner Test Cases with Custom Functions (debugtalk.xx) – Part Four

httprunner version: 4.3.5 HttpRunner v4 introduces a new plugin mechanism, currently supporting custom function implementations in both Python and Go languages. For Go code, it must be compiled into a debugtalk.bin file. The plugin file debugtalk.xx must be placed in the project root directory. Next, we will discuss how to implement any complex business logic … Read more

Enhancing Httprunner Test Cases with Parameter Extraction (Extract) – Part Three

Enhancing Httprunner Test Cases with Parameter Extraction (Extract) - Part Three

Enhancing Httprunner Test Cases with Parameter Extraction (Extract) httprunner version: 4.3.5 In practical business scenarios, there are often cases where parameters are interrelated, meaning that the current interface request parameters come from the response results of previous interfaces. For example, in a scenario where a user logs in using a phone number, the request parameters … Read more

Enhancing Httprunner Test Cases: Declaration and Reference of Variables (Part 2)

Enhancing Httprunner Test Cases: Declaration and Reference of Variables (Part 2)

Enhancing Httprunner Test Cases: Declaration and Reference of Variables 1. Variables In HttpRunner, there is support for the declaration (variables) and reference (or{var}) mechanism. Variables can be defined using the variables keyword in both config and step, and can be referenced in test steps using or{var}. The difference is: Variables defined in config are global … Read more

Introduction to the HttpRunner API Testing Framework (Part 1)

Introduction to the HttpRunner API Testing Framework (Part 1)

Introduction to the HttpRunner API Testing Framework 1. Overview of HttpRunner HttpRunner is an open-source API testing tool that supports various network protocols such as HTTP(S), HTTP2, WebSocket, and RPC. It encompasses types of testing including interface testing, performance testing, and digital experience monitoring. It is user-friendly, powerful, and features a rich plugin mechanism with … Read more

HttpRunner (hrp) Installation and Usage Guide

HttpRunner (hrp) Installation and Usage Guide

HttpRunner (hrp) Installation and Usage Guide Table of Contents • 1. Introduction • 2. Installation on Windows • 3. Installation on macOS • 4. Basic Usage • 5. Detailed Parameters of hrp Command 1. Introduction HttpRunner is an open-source API testing tool that supports various network protocols such as HTTP(S), HTTP2, WebSocket, and RPC.<span>hrp</span> is … Read more

HttpRunner: Open Source API Automation Framework

HttpRunner: Open Source API Automation Framework

HttpRunner is an open-source API automation testing framework designed to simplify API testing and performance testing. It supports writing test cases in YAML/JSON format, featuring high usability and strong extensibility, making it very suitable for testing engineers and developers. Below, we will introduce this testing framework from the following aspects: First, let’s intuitively experience the … Read more