HTTP(S) 压测, 测试/除错, & restAPI 工具大全

运维 · systemofdown · 于 3年前 发布 · 1566 次阅读


HTTP(S) Benchmark Tools

  • ab – 单线程, 效率低 开发语言 C
  • ali – Generate HTTP load and plot the results in real-time, 开发语言 (golang)
  • apib – most of the features of ApacheBench (ab), also designed as a more modern replacement, 开发语言 C
  • autocannon – fast HTTP/1.1 benchmarking tool written in Node.js
  • baloo – Expressive end-to-end HTTP API testing made easy, written in Go (golang)
  • baton – HTTP load testing, written in Go (golang)
  • bombardier – Fast crossplatform HTTP benchmarking tool, written in Go (golang)
  • cassowary – is a modern HTTP(S), intuitive & cross-platform load testing tool, written in Go (golang)
  • curl-loader – performance loading of various application services and traffic generation, written in C
  • drill – Drill is a HTTP load testing application inspired by Ansible syntax, written in Rust
  • fasthttploader – benchmark (kinda ab) with autoadjustment and charts based on fasthttp library, written in Go (golang)
  • fbender – A load-testing command line tool for generic network protocols (HTTP, DNS, DHCP, …), written in Go (golang)
  • fortio – load testing library and command line tool and web UI. Allows to specify a set query-per-second load and record latency histograms and other useful stats, written in Go (golang)
  • gatling – High performance load testing framework based on Scala, Akka and Netty, written in Scala
  • go-wrk – a HTTP benchmarking tool based in spirit on the excellent wrk tool (wg/wrk), written in Go (golang)
  • goad – Goad is an AWS Lambda powered, highly distributed, load testing tool, written in Go (golang)
  • gobench – HTTP/HTTPS load testing and benchmarking tool, written in Go (golang)
  • gohttpbenchab-like benchmark tool run on multi-core cpu, written in Go (golang)
  • goloris – Slowloris for NGINX DoS attack, written in Go (golang)
  • h2load - benchmarking tool for HTTP/2 and HTTP/1.1. It supports SSL/TLS and clear text for all supported protocols, written in C/C++
  • hey – HTTP(S) load generator, ApacheBench (ab) replacement, formerly known as rakyll/boom, written in Go (golang)
  • htstress – multithreading high-load bechmarking services (>5K rps), written in C/Linux
  • httperf – difficult configuration, slow and single threaded, written in C
  • httping - Ping with HTTP requests, see, written in C
  • inundator – A simple and high-throughput HTTP flood program, written in C/Linux
  • jmeter – Apache JMeter™, pure application designed to load test performance both on static and dynamic resources, written in Java
  • k6 - A modern load testing tool scriptable in ES6 JS with support for HTTP/1.1, HTTP/2.0 and WebSocket, written in Go (golang)
  • locust – easy-to-use, distributed load testing tool with real-time web UI. Simulates a swarm of concurrent users, the behavior of each of them is defined by your python code. Written in Python
  • lor-axe – A multi-threaded, low-bandwidth HTTP Slowloris DoS tool that handles connections and sockets in parallel, written in Rust
  • mgun – A modern tool for load testing HTTP servers, written in Go (golang)
  • oha – HTTP load generator, inspired by rakyll/hey with tui animation, written in Rust
  • pounce – event-driven with a similar interface as wrk but with the ambition to potentially achieve lower latency and higher throughout, written in C
  • siege – slow and single threaded, written in C
  • slapper – Simple load testing tool with real-time updated histogram of request timings, written in Go (golang)
  • __slow_cooker__ – A load tester focused on lifecycle issues and long-running tests, service with a predictable load and concurrency level for a long period of time, written in Go (golang)
  • slowhttptest – Application Layer DoS attack simulator, written in C++
  • sniper – powerful & high-performance http load tester, written in Go (golang)
  • thrash – HTTP Micro Benchmarker, written in Go (golang)
  • tsung – Simulate stress users in order to test the scalability and performance of IP based client/server applications HTTP, WebDAV, SOAP, PostgreSQL, MySQL, LDAP and Jabber/XMPP servers, written in Erlang
  • vegeta – HTTP load testing tool and library, written in Go (golang)
  • weighttp – multithreaded, but slower than htstress without keepalive, written in C
  • welle – ab (Apache Benchmark) like tool, written in Rust
  • wrk – multithreaded, but doesn't offer concurrent connections and a keepalive switch, written in C/Lua
  • wrk2 – constant throughput, correct latency recording variant of wrk, written in C/Lua

      Concurrent connections are enabled with:
        -c, --connections <N>  Connections to keep open
      And keepalive (which is default) can be disabled using:
        -H "Connection: close"
  • yandex-tank – Load and performance benchmark tool, written in Python/C|C++|Asm (phantom)

Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)

  • bat – Go implement CLI, cURL-like tool for humans, written in Go (golang)
  • curl – Powerful features command-line tool for transferring data specified with URL syntax, written in C
  • curlconverter – convert curl commands to python, javascript, php
  • hoppscotch - API request builder
  • httpie – client, user-friendly curl replacement with intuitive UI, JSON support, syntax highlighting, wget-like downloads, extensions, written in Python
    • curlie – If you like the interface of HTTPie but miss the features of curl, curlie is what you are searching for. Curlie is a drop-in replacement for httpie that use curl to perform operations, written in Go (golang)
    • ht – Yet another HTTPie clone, written in Rust
  • httpstat - It's like curl -v, with colours
  • insomnia - simple, beautiful, and free Desktop REST API client (Mac, Windows, and Linux)
  • jaggr – JSON Aggregation CLI, Jaggr can be used to integrate vegeta with jplot, written in Go (golang)
  • jq – is a lightweight and flexible command-line JSON processor, written in C


  • BlazeMeter – offers a cross-enterprise test automation framework for the entire technical team (developers, devops, ops and QA) throughout the product development lifecycle. Run continuous or ‘on demand’ testing for APIs, mobile apps and websites. Run from the cloud, on-premise or as a hybrid solution. Use with JMeter & Selenium WebDriver & integrate with your existing CI, CD & APM tools.
  • NewRelic – software analytics tool suite used by developers, ops, and software companies to understand how your applications are performing in development and production
  • NGINX Amplify – Visually identify performance bottlenecks, overloaded servers, or potential DDoS attacks. Improve and optimize NGINX performance with intelligent advice and recommendations. Get alerts when something is wrong with the delivery of your application. Plan capacity and performance for web applications. Keep track of systems running NGINX 1
共收到 0 条回复
添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册