Download link here

Transcript
To begin the test plan, simply select Run>Start from within the
JMeter menu bar. You will be prompted to save the test plan, if you
haven’t already done so. During a successful run of your test plan, you
may click on the Aggregate Report listener element (figure 8), or any
other listener types you may have added, to view your dynamically
updated test results. Figure 9, for example, demonstrates some of the
graphing functions of JMeter’s Graph Results listener element.
Figure 8. Aggregate Report listener view
Figure 7. Configuring the “another” HTTP Request element
Now we need to add a timer to pause each request for a
random period of time. Right click on the Thread Group and
then select Add>Timer>Gaussian Random Time.
For the last element, we will add listeners by right clicking
on the Thread Group element, then selecting
Add>Listener>Aggregate Report. This particular listener lists, in
tabular form, the response time, request count, min, max,
average, error rate, and approximate number of request
processes in seconds (e.g. Throughput), as well as, throughput
in terms of Kilobytes per second. You may add additional
listeners, such as Graph Results, View Results in Table, and
View Results Tree, depending on your requirements.
Figure 9. Graph Results listener view
Conclusion
In this article, we employed both ab and JMeter to “stress test”
a locally hosted site via simple load scenarios. The amount of time
a server takes to respond to clients’ requests across different load
levels, is one of the most important metrics for evaluating web
performance. Through the manipulation of load test variables, such
as the number of concurrent requests, and with reference to toolspecific data visualization processes, we are better able to ascertain
the extent to which these variables impact a server’s maximum
sustainable load. Such information is critical for proper website
management, planning and eventual performance tuning.
MT
About The Authors
Jin Lin and Emmanuel Stein are partners in the consulting firm MacVerse, Corp,
which offers implementation, system administration, and development services
geared towards the enterprise market. You may reach them at
[email protected]
WWW.MACTTECH.COM