You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev/tools/performance-toolkit/README.txt
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,46 @@ Performance Toolkit
4
4
Installation
5
5
-----------
6
6
jMeter:
7
-
-- 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)
7
+
-- 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)
8
8
-- unzip archive
9
9
10
10
Plugins (only if you want to use additional reports (like graphs)):
11
11
-- go to http://jmeter-plugins.org/downloads/all/ and download JMeterPlugins-Standard and JMeterPlugins-Extras
12
12
-- unzip them to appropriate ext directory of your jMeter instance.
13
+
-- additional reports can now be enabled via GUI (right click them, then click Enable) or editing the jMeter JMX XML (set 'enabled="true"').
13
14
14
15
15
16
Usage
16
17
-----------
18
+
Before running the jMeter tests for the first time, you will need to first use generate.php to generate the test data.
19
+
20
+
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:
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.
17
25
18
26
1. Run via console
19
-
Scenario can accept 5 parameters that are described bellow in format <parameter_name:default_value>:
27
+
Scenario can accept parameters that are described bellow in format <parameter_name:default_value>:
20
28
21
29
<host:''> URL component 'host' of application being tested (URL or IP).
22
30
<base_path:'/'> Base path for tested site.
23
31
<users:100> Number of concurrent users. Recommended amount is 100. Minimal amount is 10.
24
32
<ramp_period:300> Ramp period (seconds). Period the request will be distributed within.
25
33
<orders:0> Number of orders in the period specified in the current allocation. If <orders> is specified, the <users> parameter will be recalculated.
26
34
<report_save_path:./> Path where reports will be saved. Reports will be saved in current working directory by default.
35
+
<admin_path:backend/> Admin backend path. Default is backend.
36
+
<admin_user:admin/> Admin backend user. Default is admin.
37
+
<admin_password:123123q/> Admin backend password. Default is 123123q.
38
+
<view_product_add_to_cart_percent:62/> Percentage of users that will only reach the add to cart stage. Default is 62.
39
+
<view_catalog_percent:30/> Percentage of users that will only reach the view catalog stage. Default is 30.
40
+
<guest_checkout_percent:4/> Percentage of users that will reach the guest checkout stage. Default is 4.
41
+
<customer_checkout_percent:4/> Percentage of users that will reach the (logged-in) customer checkout stage. Default is 4.
42
+
<loops:1/> Number of loops to run. Default is 1.
43
+
<jmeter_agent_port:3450/> jMeter agent port. Default is 3450.
44
+
<db_server_ip:10.62.51.150/> DB Server IP (for jMeter Performance Metrics). Default is 10.62.51.150.
45
+
<web_server_1_ip:10.62.51.185/> Web Server 1 IP (for jMeter Performance Metrics). Default is 10.62.51.185.
46
+
<web_server_2_ip:10.62.51.186/> Web Server 2 IP (for jMeter Performance Metrics). Default is 10.62.51.186.
27
47
28
48
All parameters must be passed to command line with "J" prefix: "-J<parameter_name>=<parameter_value>"
0 commit comments