Skip to content

Elephant is a high‑performance, flow‑driven load testing engine, support HTTP, gRPC etc. can confidently simulate tens of thousands of concurrent users

License

Notifications You must be signed in to change notification settings

linfeip/elephant

Repository files navigation

简介

基于Java VirtualThread 实现高性能, 分布式, 支持HTTP, Grpc等主流请求协议 支持流程化配置压测, 单机可以支持启动上万Robot数量, 一个机器人在一个协程中驱动, 相比Jmeter这种线程驱动压测会轻量很多, 由于HTTP, Grpc等都是网络IO请求, 协程驱动会更加有优势.

  • 支持流程化编排
  • 提供WEB可视化界面
  • 支持变量表达式模版
  • 动态解析Proto执行Grpc

Preview

http://47.99.126.118:8080/

运行

clone项目, 运行, 打开http://localhost:8080 就可以看到压测前端界面了

界面

主配置

示例图片

gRPC

gRPC

HTTP

HTTP

动态解析

可以把上一个HTTP请求的响应JSON结果, 使用SpringEL模版语言解析到#{resp.xxx}动态解析到下一个入参中, 如图:

spel.png

压测指标

Metrics

About

Elephant is a high‑performance, flow‑driven load testing engine, support HTTP, gRPC etc. can confidently simulate tens of thousands of concurrent users

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published