Installing and configuring jmeter.
安装和配置jmeter。
In Listing 1, I use Ant's taskdef task to define the jmeter task. I name it jmeter so that I can use it elsewhere in the Ant script.
在清单1中,我使用Ant的taskdef任务定义jmeter任务,我将其命名为jmeter,这样我可以在该ant脚本的其他地方使用它。
Integrate JMeter tests within a CI environment.
在CI环境中集成JMeter测试。
JMeter records statistics about each request it makes.
JMeter会记录它发出的每个请求的统计数据。
You've already seen how to display JMeter test reports using Ant.
您已经看到了如何使用Ant显示JMeter测试报告。
Server performance characterization: Load testing with Apache JMeter
服务器性能描述:用ApacheJMeter 进行负载测试
Use Apache JMeter to test the concurrency when the application is running on the server.
当应用程序在服务器上运行时,使用ApacheJMeter测试并发性。
JMeter provides a GUI-based application to design and execute a variety of reusable test plans.
JMeter提供一个基于GUI的应用程序,用于设计和执行多种可重用的测试计划。
The following five JMeter test plan components were used to prepare the performance test scripts.
下面五个JMeter测试计划组件用于准备性能测试脚本。
The selected JMeter components supported a common structure for all the performance test scripts.
所选择的JMeter组件针对所有的性能测试脚本提供了一个公共的结构。
JMeter also provides a less detailed XSL stylesheet file that summarizes the load tests' results.
JMeter也提供了一个不太详细的xsl样式表文件,用于总结负载测试的结果。
JMeter also supports the capture of test results in XML format for post-test statistical analysis.
JMeter还支持以xml格式捕捉测试结果,用于测试后的统计分析。
After you have met all the prerequisites, you can start it from the bin subdirectory in the JMeter directory.
满足所有先决条件以后,您可以从JMeter目录中的bin子目录中启动它。
Start the JMeter application by selecting the JMeter.bat file in the JMeter install location's bin directory.
通过选择JMeter安装位置的bin目录下的JMeter .bat文件来启动JMeter应用程序。
As the connection pool from JMeter is established, the server provides much more consistent workload response.
当从JMeter建立连接池时,服务器会提供更加一致的工作负载响应时间。
All the graphs in this article were generated with JMeter as the load generator, also know as the "test harness."
本文中的所有图形都是使用JMeter作为负载生成器(也称“测试用具”)的情况下生成的。
You can use this technique in a production environment to distinguish artificial JMeter requests from real users.
您可以在生产环境中使用此项技术来区分模拟JMeter请求与实际用户。
A business user may find it difficult to work with the technical specifications for the various JMeter components.
商业用户可能发现难以使用各种JMeter组件的技术规范。
The JMeter test plan was configured to deliver requests at an average rate of 16 requests per second per virtual machine.
JMeter测试计划配置为平均每秒每台虚拟机发送16个请求。
Once the required JMeter components were identified and a general test plan design conceived, the test scripts had to be built.
一旦已经确定所需的JMeter组件并且已经构思好一个通用的测试计划设计,就必须构建测试脚本了。
The baseline performance shows an average response time of 37.6 milliseconds (see lower right-hand corner of the JMeter frame).
基准性能表明平均响应时间为37.6毫秒(请看jmeter帧的右下角)。
Apache JMeter is an open source project you can use to simulate a heavy load on a server (see Resources for more information on JMeter).
ApacheJMeter是一个开放源码项目,您可以用来在服务器上模拟重负载(有关JMeter的更多信息,请参阅参考资料)。
Without going into too much detail regarding how we configured JMeter, here are the main config items that are used to conduct the test.
无需深入了解有关如何配置JMeter的太多细节,下面是用于执行该测试的主要配置项?
The JMeter application can measure elapsed time between the transmission of an IFX-encoded request and the receipt of an IFX-encoded reply.
JMeter应用程序可以测量在传输IFX 编码的请求和接收 IFX 编码的应答之间的耗用时间。
JMeter test plans were devised to emulate a variety of concurrent user loads, from a single user through to a maximum of 80 concurrent users.
JMeter测试计划被设计用于模拟多种并发用户负载,从单一用户到最大为80个并发用户。
With a simple sample application, the method was proven to function without any concurrency exceptions using Apache JMeter to test the access.
用一个简单的样例应用程序证明该方法可在没有任何并发性异常的情况下使用ApacheJMeter测试存取。
As mentioned before, the free Apache JMeter v2.3.4 load test application will be more than suitable to test the concurrency in the sample application.
正如前面提到的,免费ApacheJMeterv2.3.4负载测试应用程序更适合在样例应用程序中测试并发性。
By running the tests through an automated build such as an Ant build, you can configure the JMeter tests to run without opening the JMeter application.
通过自动构建(比如ant构建)运行测试,您可以配置JMeter测试来运行,而无需打开JMeter应用程序。
The JMeter test project is also part of the project interchange and will be used when you test the concurrency in the local server later in the article.
JMeterTestProject也是项目交换的一部分,在本文后面在本地服务器上测试并发性时将会用到。
Fortunately, an Ant task has been written to do this very thing for JMeter: it executes load tests while providing a way to pass in optional parameters and properties.
幸运的是,已经有人编写了一个Ant任务来为JMeter做这件事:它执行负载测试,同时提供了一种传入可选参数和属性的方式。
应用推荐