# httprunner/httprunner

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

Repository: https://github.com/httprunner/httprunner
Canonical: https://ross.abutalabs.com/products/httprunner
Homepage: https://httprunner.com
Language: Go
License: Apache-2.0
License Family: permissive
Topics: testing, adb, ui-testing, wda, ui-tars, uiautomator2, webdriveragent, agent-tars, mcphost, mcp-server
Last push: 2025-12-11T16:50:50+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 56, release rhythm 8, longevity 100
- inputs: {"age_days": 3368, "days_push": 265, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4295, forks 1284 (observed 2026-08-28T04:08:41.511462+00:00)

## What it is
HttpRunner (hrp) is an open-source, Go-based all-in-one testing framework for API testing (HTTP/HTTP2/WebSocket/RPC), load testing, and multi-platform UI automation (Android/iOS/Harmony/Browser) with LLM-powered natural language scenarios. Test cases are defined in YAML/JSON/go test/pytest formats, with plugin extensibility, HAR/Postman/Swagger/curl conversion, and single-binary cross-platform distribution.

## Use cases
- run automated API regression tests from YAML or recorded HAR files
- load test HTTP endpoints with thousands of concurrent virtual users
- automate UI testing on Android and iOS devices
- generate test cases from Postman, Swagger, or curl
- integrate API testing into CI/CD pipelines
- convert test cases between JSON, YAML, and pytest formats
- drive mobile app UI tests using OCR and computer vision
- write test scenarios in natural language with LLM assistance

## When to choose
- you want one tool covering API testing, load testing, and UI automation with a unified testcase format
- your team prefers declarative YAML/JSON testcases that non-programmers can maintain
- you need a single static binary with no runtime dependencies for easy CI/CD deployment
- you need cross-platform UI automation (Android/iOS/Harmony/Browser) from one API
- you want to reuse the same scripts for functional, performance, and monitoring tests

## When to avoid
- you need a GUI-driven test builder rather than a CLI and code/YAML workflow
- your team is committed to a pure Python or Java testing stack (v5 is Go-only; Python moved to a separate repo)
- you only need simple ad-hoc API debugging, where Postman or curl is lighter
- you require deep ecosystem integrations specific to pytest or JMeter plugins

## Facets
- artifact type: framework
- maturity: active
- function: testing, e2e-testing, benchmarking, http-client, websocket, rpc, mcp, computer-vision, ocr, llm-inference, cli, plugin-system
- domain: testing, developer-tools, apis, mobile-development, web-development, performance
- platform: go, cross-platform, windows, browser, cli
- tags: api-testing, ui-automation, load-testing, load-testing-tool, testcase-format, har-recording, uiautomator2, webdriveragent, vision-driven-testing, llm-driven-testing, boomer, ci-cd-friendly, yaml-testcases, binary-distribution, automation, macos, linux, android, ios

## Member repositories
- httprunner/httprunner (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:41.511462+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:52.405673+00:00, confidence not recorded.
  - readme: https://github.com/httprunner/httprunner (fetched 2026-08-28T04:08:41.511462+00:00, sha caa9b1ce6b0a)
  - homepage: https://httprunner.com (fetched 2026-08-29T09:11:10.768608+00:00, sha c35cfe209e7c)
  - site_page: https://httprunner.com/docs (fetched 2026-08-29T09:11:10.771361+00:00, sha 8d7138b576d5)
  - site_page: https://httprunner.com/docs/cases/dji-ibg (fetched 2026-08-29T09:11:10.773611+00:00, sha 908499fd7bf9)
  - site_page: https://httprunner.com/docs/cases/youmi (fetched 2026-08-29T09:11:10.776625+00:00, sha 677137c426be)
  - site_page: https://httprunner.com/docs/cases/umcare (fetched 2026-08-29T09:11:10.779085+00:00, sha 2b1c601bd44c)
  - site_page: https://httprunner.com/docs/cases/mihoyo (fetched 2026-08-29T09:11:10.781344+00:00, sha 870bf05bfe76)
  - site_page: https://httprunner.com/docs/services/dem (fetched 2026-08-29T09:11:10.783459+00:00, sha 5914bb209e3f)
  - site_page: https://httprunner.com/docs/services (fetched 2026-08-29T09:11:10.785442+00:00, sha 42f1283a27d5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
