From b9b410cc7f8f6e35a3995886e8aadd8f16a2241b Mon Sep 17 00:00:00 2001 From: jonathanvaughn Date: Tue, 13 Jan 2015 14:19:38 -0600 Subject: [PATCH 1/2] Improving documentation for jMeter performance tests --- dev/tools/performance-toolkit/README.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dev/tools/performance-toolkit/README.txt b/dev/tools/performance-toolkit/README.txt index f4bf6427b5f14..1316b3bff3ec4 100644 --- a/dev/tools/performance-toolkit/README.txt +++ b/dev/tools/performance-toolkit/README.txt @@ -4,16 +4,24 @@ Performance Toolkit Installation ----------- jMeter: --- go to http://jmeter.apache.org/download_jmeter.cgi and download jMeter in Source section (pay you attention that Java 6 or later is required) +-- go to http://jmeter.apache.org/download_jmeter.cgi and download jMeter in Binary section (pay you attention that Java 6 or later is required) -- unzip archive Plugins (only if you want to use additional reports (like graphs)): -- go to http://jmeter-plugins.org/downloads/all/ and download JMeterPlugins-Standard and JMeterPlugins-Extras -- unzip them to appropriate ext directory of your jMeter instance. +-- additional reports can now be enabled via GUI (right click them, then click Enable) or editing the jMeter JMX XML (set 'enabled="true"'). Usage ----------- +Before running the jMeter tests for the first time, you will need to first use generate.php to generate the test data. + +If you do not wish to use performance metrics gathered from the server(s) (such as CPU / IO load), or do not wish to configure the jMeter metric gathering software on your server(s), you can disable that either via the GUI (right click on "Performance Metrics Collector" and click Disable) or by editing the jMeter JMX XML from: + +to: + +Attempting to run with Performance Metrics Collector enabled without appropriately configuring it will result in a timeout error connecting to the collector and the test not running. 1. Run via console Scenario can accept 5 parameters that are described bellow in format : @@ -24,6 +32,9 @@ Scenario can accept 5 parameters that are described bellow in format Ramp period (seconds). Period the request will be distributed within. Number of orders in the period specified in the current allocation. If is specified, the parameter will be recalculated. Path where reports will be saved. Reports will be saved in current working directory by default. + Admin backend path. Default is backend. + Admin backend user. Default is admin. + Admin backend password. Default is 123123q. All parameters must be passed to command line with "J" prefix: "-J=" From d192d09899a94bc3533ad9527a57e2be942125f6 Mon Sep 17 00:00:00 2001 From: jonathanvaughn Date: Tue, 13 Jan 2015 14:31:05 -0600 Subject: [PATCH 2/2] Improving documentation for jMeter performance tests --- dev/tools/performance-toolkit/README.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev/tools/performance-toolkit/README.txt b/dev/tools/performance-toolkit/README.txt index 1316b3bff3ec4..0a94b4e4b38c8 100644 --- a/dev/tools/performance-toolkit/README.txt +++ b/dev/tools/performance-toolkit/README.txt @@ -24,7 +24,7 @@ to: Attempting to run with Performance Metrics Collector enabled without appropriately configuring it will result in a timeout error connecting to the collector and the test not running. 1. Run via console -Scenario can accept 5 parameters that are described bellow in format : +Scenario can accept parameters that are described bellow in format : URL component 'host' of application being tested (URL or IP). Base path for tested site. @@ -35,6 +35,15 @@ Scenario can accept 5 parameters that are described bellow in format Admin backend path. Default is backend. Admin backend user. Default is admin. Admin backend password. Default is 123123q. + Percentage of users that will only reach the add to cart stage. Default is 62. + Percentage of users that will only reach the view catalog stage. Default is 30. + Percentage of users that will reach the guest checkout stage. Default is 4. + Percentage of users that will reach the (logged-in) customer checkout stage. Default is 4. + Number of loops to run. Default is 1. + jMeter agent port. Default is 3450. + DB Server IP (for jMeter Performance Metrics). Default is 10.62.51.150. + Web Server 1 IP (for jMeter Performance Metrics). Default is 10.62.51.185. + Web Server 2 IP (for jMeter Performance Metrics). Default is 10.62.51.186. All parameters must be passed to command line with "J" prefix: "-J="