gatling官方文档翻译

第一篇

http://gatling.io/docs/2.2.1/index.html

Gatling is a highly capable load testing tool. It is designed for ease of use, maintainability and high performance.

Out of the box, Gatling comes with excellent support of the HTTP protocol that makes it a tool of choice for load testing any HTTP server. As the core engine is actually protocol agnostic, it is perfectly possible to implement support for other protocols. For example, Gatling currently also ships JMS support.

The Quickstart has an overview of the most important concepts, walking you through the setup of a simple scenario for load testing an HTTP server.

Having scenarios that are defined in code and are resource efficient are the two requirements that motivated us to create Gatling. Based on an expressive DSL, the scenarios are self explanatory. They are easy to maintain and can be kept in a version control system.

Gatling’s architecture is asynchronous as long as the underlying protocol, such as HTTP, can be implemented in a non blocking way. This kind of architecture lets us implement virtual users as messages instead of dedicated threads, making them very resource cheap. Thus, running thousands of concurrent virtual users is not an issue.

Migrating from a Previous Version of Gatling
If you’re migrating from Gatling 2.1 to Gatling 2.2, please check the dedicated migration guide.
Otherwise, please follow the previous migration guides.
User’s guide
What’s New
Migration Guides
Quickstart
Advanced Tutorial
General
Session
HTTP
JMS
Realtime monitoring
Extensions
Cookbook
Information for Gatling Developers
Project Information

gatling是一个的高性能压力测试工具。它设计的初衷是易用性、可维护性和高性能。gatling开箱即用的,并且很好的支持HTTP协议,使其成为你测试任何HTTP服务器负载的工具选择之一。作为核心引擎实际上是协议无关,这是完全有可能实现并支持其他协议。例如,gatling目前还对JMS支持。

快速入门是对于最重要的概念有一个回顾,通过设置一个简单的场景的来对一个HTTP服务器完成负载测试。
在代码中定义测试场景和资源利用率两方面的需求,激励我们创造gatling。基于可表述的DSL语言,所以场景易于叙述和理解的。他们很容易维护,并且可以保存在一个版本控制系统。

gatling的架构和底层协议均采用异步方式设计。比如HTTP、可以利用一个非阻塞的方式来实现。这种架构可以让我们实现虚拟用户的消息而不是专用的线程,让他们成为非常廉价资源。因此,运行数千并发虚拟用户不是什么问题。

从之前的版本中合并gatling

如果你从gatling2.1迁移到2.2gatling,请检查专用的合并指南。否则,请安装的合并指南。

用户手册

  • 新事物
  • 合并手册
  • 快速入门
  • 高级教程
  • 通用
  • 消息
  • Http
  • JMS
  • 实时监测
  • 扩展
  • cookbook
  • gatling 开发者信息
  • 项目信息