Analyze Site (Benchmark)

The Analyze Site tab is accessed from Performance | Testing | Analyze Site.

 

The following procedure describes how to benchmark Web Applications.

 

 

Instructions on how to complete a procedure

To Benchmark Web Applications:

Go to Performance | Testing and select the Test URL Tab.

To test a script, follow these steps:

  1. Click Test URL and type the full path of the script. To select a previously tested URL, click Show History. By default, URLs are tested using GET variables defined in the query string.

  2. Click "Add variables to URL" to add the variable Name and Value to test URLs using specific SESSION or COOKIE variables. Add the User Name and Password to test URLs that are restricted by HTTP Authentication.

  3. To delete any variable from the list, click next the variable (To add specific SESSION variables to the test, make sure that your PHP is configured correctly to work with sessions. For example: if you use 'files' as your session.save_handler, confirm that the session.save_path is a valid path. If you use 'user' as your session.save_handler, you must prepend the file containing the user-level session storage functions).

  4. To determine the Duration of test, specify the time in seconds (per script) in the Duration of test box.

  5. Click Run.

 

Test Results

The Test Results screen depicts the Dynamic Content Caching Results, the Code Acceleration Results, and the File Compression Results.

When running the Analyze Site test, you can choose to run the Performance test separately from the Compression test:

To Analyze a Site:

Go to: Performance | Testing and select the Analyze Site tab.

The following options are presented in the tab:

Performance Test

 

 

Instructions on how to complete a procedure

To run a performance test:

  1. Select the number of scripts to test and press Next.

  2. The following screen lists the scripts selected. To change the number of the scripts to be tested, click "Previous". To continue, click "Next"

  3. The Site Analysis Report appears indicating the Performance Gain and Popularity Rank of the scripts.

 

N/A Test Results

The following procedure describes how to investigate N/A test results. N/A test results can be caused by various reasons.

 

 

Instructions on how to complete a procedure

To check the cause of a N/A test result:

Place the cursor on top of the N/A and the cause of the problem appears in a Tooltip.
N/A can be caused when a script cannot be accessed or if the access time to the script is greater than the test duration (3 sec). If this is the case, test the script separately using the Test URL option.

After analyzing the test results you may wish to modify the caching status of the scripts and re-run the test.

To re-run the test:

Click "Edit" next to the script you wish to modify, change the caching conditions and save the new settings. If the message appears, the test results are incorrect since the changes you made did not take effect. In this case, restart the server and simulate a typical user session to get valid results.

 

Back to top

Compression Test

The Compression test analyzes download time improvement of the popular scripts as the result of Compression.

 

 

Instructions on how to complete a procedure

To run a compression test:

  1. Click "Run Compression Test".

  2. Choose the number of scripts to test and click "Next".

  3. To ensure accurate results for the scripts, add query strings in the Script Path entries. For example: /site/example.php?var1=value1&var2=value2).

  4. Click "Run" to run the test.

The Site Analysis Report screen details the results for the compression test. The report shows the original script size, along with the compressed size and the compression improvement rate. The actual compression functionality is not affected.

Note:

If one or more scripts failed the test, an indicative message appears on the screen. The Compression Test failed since Platform Performance cannot resolve the URL from some script paths or the URL cannot be accessed. Note that scripts defined on a virtual host or a symbolic link can cause the test to fail.

Back to top

Show Last Test Reports

The last Test Results summary is displayed in the Testing environment.

 

 

Instructions on how to complete a procedure

To display last Test Reports, click "Show Last Performance Test Report" or "Show Last Compression Test Report".

The displayed Test Report will be updated as soon as you run another test.

Note:

Test results can also be sent by e-mail and stored outside Zend Platform

Back to top

 

 

Related Links

Related Links:
Performance

Test Download

Test URL

Testing