freespace 发表于 2013-1-14 07:12:55

A JMeter test plan for Drupal


<div style="line-height: 21px; font-size: 14px; vertical-align: baseline; background-color: transparent; padding: 0px; margin: 0px;" class="content">Refer to:http://www.metaltoad.com/blog/jmeter-test-plan-drupal
Last week, I wrote about graphing JMeter results with Matplotlib. Let's take a closer look at the actual Drupal test plan.
This plan was adapted from Jacob Singh's test and has five different thread groups:

[*]Anonymous browsing
[*]Authenticated browsing
[*]Editing a node
[*]Search
[*]Login and view user page
Download the test plan: DrupalStress.jmx
Since some of these samplers need a variety of URLs to test, we have two input files:
urls:Not surprisingly, this contains a list of URLs for the browsing threads. A simple list can be generated with the following query:
<div style="margin-top: 0.25em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-color: #f8f8f8; display: block; color: #222222; line-height: 1.3; padding: 0.5em; border: 1px solid #dddddd;" class="geshifilter"><div style="font-size: 12px; vertical-align: baseline; background-color: transparent; padding: 0px; margin: 0px;" class="sql geshifilter-sql">SELECT CONCAT('/node/', nid) FROM node WHERE STATUS = 1ORDER BY changed LIMIT 1000;
页: [1]
查看完整版本: A JMeter test plan for Drupal