# httprunner | HttpRunner | Knowledge Base | Instagit

HttpRunner 是一款开源的 API/UI 测试框架，简单易用，功能强大，具有丰富的插件化机制和高度的可扩展能力。

GitHub Stars: 4.3k

Repository: https://github.com/httprunner/httprunner

---

## Articles

### [How the HttpRunner Validation System Asserts HTTP Response Content](/httprunner/httprunner/how-does-the-validation-system-work-for-asserting-http-response-content)

Learn how HttpRunner validates HTTP response content using its assertion system. Extract values with JMESPath or regex, compare expectations, and get detailed pass/fail results.

- Tags: internals
- Published: 2026-03-03

### [How HttpRunner Loads Test Cases from YAML/JSON Files: Internal Mechanisms Explained](/httprunner/httprunner/how-does-the-test-case-loading-from-yaml-json-files-work-internally)

Discover how HttpRunner loads test cases from YAML/JSON files. Learn about the internal three-layer pipeline that transforms declarations into executable test objects.

- Tags: internals
- Published: 2026-03-03

### [HttpRunner Plugin Loading Architecture for Go and Python Plugins: A Complete Guide](/httprunner/httprunner/what-is-the-plugin-loading-architecture-for-go-and-python-plugins)

Explore the HttpRunner plugin loading architecture for Go and Python. Learn about the four-stage pipeline locate build initialize attach and discover how funplugin abstracts runtime differences for efficient plugin management.

- Tags: architecture
- Published: 2026-03-03

### [How to Configure SSL Verification and TLS Settings in HttpRunner](/httprunner/httprunner/how-to-configure-ssl-verification-and-tls-settings)

Master SSL verification and TLS settings in HttpRunner v5. Learn to configure certificate verification at test-case, step, or runner levels for secure API testing. Optimize your HttpRunner setup today.

- Tags: how-to-guide
- Published: 2026-03-03

### [How Variable Substitution and Parameterization Work in HttpRunner Test Cases](/httprunner/httprunner/how-does-variable-substitution-and-parameterization-work-in-test-cases)

Master variable substitution and parameterization in HttpRunner. Learn how to dynamically inject data into your API tests for efficient, data-driven testing. Automate your workflows now.

- Tags: how-to-guide
- Published: 2026-03-03

### [How to Implement Android/iOS/Harmony Device Automation with HttpRunner](/httprunner/httprunner/how-to-implement-android-ios-harmony-device-automation-with-httprunner)

Automate Android, iOS, and HarmonyOS devices with HttpRunner v5s UIXT module. Use a unified IDriver interface for seamless cross-platform mobile testing.

- Tags: how-to-guide
- Published: 2026-03-03

### [UIXT Architecture for Cross-Platform UI Automation: A Deep Dive into HttpRunner's Layered Design](/httprunner/httprunner/what-is-the-uixt-architecture-for-cross-platform-ui-automation)

Explore HttpRunner's UIXT architecture for cross-platform UI automation. Learn how its layered design enables single-codebase automation for Android iOS HarmonyOS and Web via a unified IDriver interface.

- Tags: deep-dive
- Published: 2026-03-03

### [How HttpRunner Converts JSON/YAML to GoTest: Architecture and Current Limitations](/httprunner/httprunner/how-does-the-conversion-from-json-yaml-to-gotest-format-work)

Explore the HttpRunner architecture for converting JSON/YAML to GoTest and understand its current limitations. Learn how test cases are transformed.

- Tags: architecture
- Published: 2026-03-03

### [How to Generate HTML Reports from Test Execution Results in HttpRunner](/httprunner/httprunner/how-to-generate-html-reports-from-test-execution-results)

Easily generate HTML reports from HttpRunner test execution results using the hrp report CLI command or Go API. Convert summary JSON and logs into a comprehensive HTML report.

- Tags: how-to-guide
- Published: 2026-03-03

### [HttpRunner Test Case Timeout and Interrupt Signal Handling Mechanism](/httprunner/httprunner/what-is-the-test-case-timeout-and-interrupt-signal-handling-mechanism)

Learn how HttpRunner handles test case timeouts and interrupt signals with its dual-channel mechanism. Gracefully terminate test executions using case timeout timers and OS signals.

- Tags: internals
- Published: 2026-03-03

### [How HttpRunner Handles File Uploads in Test Cases: A Complete Guide](/httprunner/httprunner/how-does-httprunner-handle-file-uploads-in-test-cases)

Learn how HttpRunner handles file uploads in test cases using multipart encoder and content type functions. Master multipart form data requests for effective API testing.

- Tags: how-to-guide
- Published: 2026-03-03

### [Cookie Handling Mechanism in HttpRunner: A Complete Technical Guide](/httprunner/httprunner/what-is-the-cookie-handling-mechanism-in-httprunners-http-client)

Explore HttpRunner's cookie handling mechanism. Learn how it expertly manages cookies for requests and responses, ensuring seamless HTTP testing with its bidirectional mapping system.

- Tags: deep-dive
- Published: 2026-03-03

### [How to Extract and Reuse Variables Between Test Steps in HttpRunner](/httprunner/httprunner/how-to-extract-and-reuse-variables-between-test-steps-using-the-extract-mechanism)

Learn how to extract and reuse variables between test steps in HttpRunner using the extract mechanism. Capture response data with JMESPath or regex for dynamic testing.

- Tags: how-to-guide
- Published: 2026-03-03

### [How Setup and Teardown Hooks Work in HttpRunner Test Execution](/httprunner/httprunner/how-does-the-setup-and-teardown-hooks-system-work-in-test-execution)

Learn how HttpRunner setup and teardown hooks execute before and after test steps. Enhance preprocessing and cleanup without altering core test logic for efficient test automation.

- Tags: internals
- Published: 2026-03-03

### [MCP Server Integration for LLM-Powered UI Automation in HttpRunner](/httprunner/httprunner/what-is-the-mcp-server-integration-for-llm-powered-ui-automation)

Explore HttpRunner v5's MCP server integration for LLM powered UI automation. Leverage callable tools via JSON-RPC for real web and mobile interactions. Automate faster.

- Tags: deep-dive
- Published: 2026-03-03

### [How to Configure HTTP/2 Support in HttpRunner Test Cases](/httprunner/httprunner/how-to-configure-http2-support-in-httprunner-test-cases)

Learn how to configure HTTP/2 support in HttpRunner test cases. HttpRunner v5 simplifies HTTP/2 integration by enabling efficient, multiplexed connections for faster testing.

- Tags: how-to-guide
- Published: 2026-03-03

### [How HttpRunner’s Think Time (Throttle) Feature Simulates Real User Behavior](/httprunner/httprunner/how-does-the-think-time-throttle-feature-simulate-real-user-behavior)

Learn how HttpRunner's think time feature simulates real user behavior. Inject delays between API calls for realistic load tests. Understand global and per-step pause strategies.

- Tags: deep-dive
- Published: 2026-03-03

### [HttpRunner Rendezvous Mechanism for Load Testing Synchronization: A Complete Guide](/httprunner/httprunner/what-is-the-rendezvous-mechanism-for-load-testing-synchronization)

Master HttpRunner's rendezvous mechanism for precise load testing synchronization. Simulate coordinated bursts by pausing and releasing virtual users together. Learn more!

- Tags: deep-dive
- Published: 2026-03-03

### [WebSocket Testing Step Implementation in HttpRunner: How StepWebSocket Manages Full-Duplex Connections](/httprunner/httprunner/how-does-the-websocket-testing-step-implementation-work)

Learn how HttpRunner's StepWebSocket manages full-duplex connections with session persistence, variable substitution, and validation for WebSocket testing.

- Tags: how-to-guide
- Published: 2026-03-03

### [How HttpRunner Converts Test Cases from Postman, HAR, cURL, and Other Formats](/httprunner/httprunner/how-does-httprunner-convert-test-cases-from-postman-har-curl-and-other-formats)

Learn how HttpRunner efficiently converts Postman, HAR, cURL, and other test cases into native hrp TestCaseDef structures for streamlined API testing. Import and execute with ease.

- Tags: how-to-guide
- Published: 2026-03-03

### [How to Implement Custom Go and Python Plugins Using the Funplugin System in HttpRunner](/httprunner/httprunner/how-to-implement-custom-go-and-python-plugins-using-the-funplugin-system)

Learn to implement custom Go and Python plugins in HttpRunner using the funplugin system. Extend your test automation with custom functions invoked directly from testcases.

- Tags: how-to-guide
- Published: 2026-03-03

### [How HttpRunner's Step-Based Test Execution Architecture Works: A Deep Dive into HRPRunner, CaseRunner, and SessionRunner](/httprunner/httprunner/how-does-the-step-based-test-execution-architecture-work-in-httprunner)

Discover HttpRunner's step-based test execution architecture. Learn how HRPRunner, CaseRunner, and SessionRunner orchestrate ordered test steps for parsing, parameterization, loops, and variable propagation. Optimize your API t...

- Tags: architecture
- Published: 2026-03-03

