siege官方文档(译)(一) 深圳

WHAT IS siege?

Siege is an open source regression test and benchmark utility.

Siege是一款开源回归测试和基准测试工具。

It can stress test a single URL with a user defined number of simulated users, or it can read many URLs into memory and stress them simultaneously.

它可以模拟多个用户同时对单个URL进行压力测试,或者可以将很多URL读入内存并同时对它们进行压力测试。

The program reports the total number of hits recorded, bytes transferred, response time, concurrency, and return status.

该程序报告记录的点击总数,传输的字节数,响应时间,并发性和返回状态。

Siege supports HTTP/1.0 and 1.1 protocols, the GET and POST directives,cookies, transaction logging, and basic authentication.

Siege支持HTTP / 1.0和1.1协议,GET和POST请求方法,cookies,事务日志记录和基本验证。

Its features are configurable on a per user basis.

它的特点是对于每一个用户是可配置的。

Most features are configurable with command line options which
also include default values to minimize the complexity of the
program's invocation.

大多数功能都可以通过命令行选项进行配置,命令行选项还包括默认值以最大限度地减少程序调用的复杂性。

Siege allows you to stress a web server with n number of users t number of times, where n and t are defined by the user.

Siege允许您用n个用户来对web服务器进行加压t次,其中n和t由用户定义。

It records the duration time of the test as well as the duration of each single transaction.

它记录(压力)测试的持续时间,以及单个事物的持续时间。

It reports the number of transactions, elapsed time, bytes transferred,response time, transaction rate, concurrency and the number oftimes the server responded OK, that is status code 200.

它报告事务总数,已用时间,传输的字节数,响应时间,每秒事务(通过)率,并发性以及服务器响应的次数,即状态码200。

Siege was designed and implemented by Jeffrey Fulmer in his position as Webmaster for Armstrong World Industries.

Siege由Jeffrey Fulmer担任Armstrong World Industries网站站长的时,设计和实施的

It was modeled in part after Lincoln Stein's torture.pl and it's data reporting is almost identical.

它是部分建模的,在Lincoln Stein's torture.pl之后,以及它的数据报告几乎完全相同。

But torture.pl does not allow one to stress many URLs simultaneously; out of that need siege was born....

但是torture.pl不允许同时对多个URL进行压力测试,出于那种需要,siege诞生了....

When a HTTP server is being hit by the program, it is said to be "under siege."

当一个HTTP服务器被请求时,可以说http服务器它是“被围攻的”。

原文地址:https://www.cnblogs.com/snailrunning/p/8541192.html