PHP Script Stress Test

Up to 500 users accessing a PHP script perpetually


In this stress test up to 500 users perpetually access the phpinfo.php script from the web server without a click delay/think time (i.e. the users reload the page immediately after the last request is finished).

This chart shows the "Spectrum of Click Times" which shows the results of this Ramp Test. The three axis are:

  • Vertical: percentage of users
  • Horizontal: user wait time
  • Depth: Number of users

With more and more users accessing the server the request times deteriorate, the bar’s maximum is moving from left to right with increasing depth.

We can see that with more than 150 users the wait time to load the page per user is between 2 and 5 seconds (see the red line in the chart).

Test Results

Maximum Pageviews ~326.000 pageviews per hour
Maximum Server Bandwidth ~30.000 kBit/s

 

wst9a eng

 

Test Setup

Test Type RAMP (number of users increases during the test time)
Number of Users 500
Click Delay 0 sec
Tested Web Server DELL Dimension, 1.5 Ghz Intel P4, 400 MB RAM, Windows 2003 Small Business Server, Apache 1.3.33 (WAMP 1.4.3) (out-of-the-box installations)
Test Client DELL Poweredge 750, 2.8 GHz Intel XEON (Hyperthreading), 2 GB RAM, Windows 2003 Server, (out-of-the-box installation) (running Webserver Stress Tool)