Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit b2564f4

Browse files
committed
MAGETWO-72212: [PAT] Split into fragments new benchmark.jmx
1 parent 9db4501 commit b2564f4

File tree

2 files changed

+24366
-6449
lines changed

2 files changed

+24366
-6449
lines changed

setup/performance-toolkit/README.md

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## Overview
44

5-
The Performance Toolkit enables you to test the performance of your Magento installations and the impact of your customizations. It allows you to generate sample data for testing performance and torun Apache JMeter scenarios, which imitate users activity. As a result, you get a set of metrics, that you can use to judge how changes affect performance, and the overall load capacity of your server(s).
5+
The Performance Toolkit enables you to test the performance of your Magento installations and the impact of your customizations. It allows you to generate sample data for testing performance and to run Apache JMeter scenarios, which imitate users activity. As a result, you get a set of metrics, that you can use to judge how changes affect performance, and the overall load capacity of your server(s).
66

77
## Installation
88

99
### Apache JMeter
1010

11-
- Go tothe [Download Apache JMeter](http://jmeter.apache.org/download_jmeter.cgi) page and download JMeter in the *Binaries* section. Note that Java 8 or later is required.
11+
- Go to the [Download Apache JMeter](http://jmeter.apache.org/download_jmeter.cgi) page and download JMeter in the *Binaries* section. Note that Java 8 or later is required.
1212
- Unzip the archive.
1313

1414
### JSON Plugins
@@ -58,7 +58,7 @@ The following parameters can be passed to the `benchmark.jmx` scenario:
5858
| numberOfThreads | 48 | Total number of all threads. |
5959
| frontEndPoolPercentage | 90 | Percentage of Frontend Pool. |
6060
| adminPoolPercentage | 10 | Percentage of Admin Pool. |
61-
| browseCatalogPercentage | 30 | Percentage of threads in Frontend Pool that emulate catalog browsing activities. |
61+
| browseCatalogByGuestPercentage | 30 | Percentage of threads in Frontend Pool that emulate catalog browsing activities. |
6262
| siteSearchPercentage | 30 | Percentage of threads in Frontend Pool that emulate catalog search activities. |
6363
| checkoutByGuestPercentage | 4 | Percentage of threads in Frontend Pool that emulate checkout by guest. |
6464
| checkoutByCustomerPercentage | 4 | Percentage of threads in Frontend Pool that emulate checkout by customer. |
@@ -68,15 +68,16 @@ The following parameters can be passed to the `benchmark.jmx` scenario:
6868
| productCompareDelay | 0 | Delay (s) between iterations of product comparison. |
6969
| promotionRulesPercentage | 10 | Percentage of threads in Admin Pool that emulate creation of promotion rules. |
7070
| adminPromotionsManagementDelay | 0 | Delay (s) between creation of promotion rules. |
71-
| merchandizingPercentage | 50 | Percentage of threads in Admin Pool that emulate merchandizing activities. |
72-
| adminProductManagementPercentage | 90 | Percentage of threads in Merchandizing Pool that emulate product management activities. |
73-
| adminCategoryManagementPercentage | 10 | Percentage of threads in Merchandizing Pool that emulate category management activities. |
71+
| merchandisingPercentage | 50 | Percentage of threads in Admin Pool that emulate merchandising activities. |
72+
| adminProductManagementPercentage | 90 | Percentage of threads in Merchandising Pool that emulate product management activities. |
73+
| adminCategoryManagementPercentage | 10 | Percentage of threads in Merchandising Pool that emulate category management activities. |
7474
| adminProductEditingPercentage | 60 | Percentage of threads in Product Management Pool that emulate product editing. |
7575
| adminProductCreationPercentage | 40 | Percentage of threads in Product Management Pool that emulate creation of products. |
7676
| adminCategoryManagementDelay | 0 | Delay (s) between iterations of category management activities. |
7777
| apiProcessOrdersPercentage | 30 | Percentage of threads in Admin Pool that emulate orders processing activities. |
78-
| adminProcessReturnsPercentage | 10 | Percentage of threads in Admin Pool that emulate creation/processing of returns. |
79-
| csrPoolPercentage | 0 | Percentage of CSR Pool. |
78+
| apiProcessOrders | 5 | Number of orders for process in Admin API - Process Orders |
79+
| adminEditOrderPercentage | 10 | Percentage of threads in Admin Pool that emulate order edit |
80+
| csrPoolUsers | 0 | Users of CSR Pool. |
8081
| csrBrowseCustomersPercentage | 10 | Percentage of threads in CSR Pool that emulate customers browsing activities. |
8182
| csrCreateOrderPercentage | 70 | Percentage of threads in CSR Pool that emulate creation of orders. |
8283
| csrCreateProcessReturnsPercentage | 20 | Percentage of threads in CSR Pool that emulate creation/processing of returns. |
@@ -193,32 +194,26 @@ For more details, read [Summary Report](http://jmeter.apache.org/usermanual/comp
193194
| Checkout By Customer | Checkout By Customer | 4 |
194195

195196
Site Search thread group contains 3 variations:
196-
- Quick Search (65%)
197-
- Quick Search With Filtering (35%)
198-
- Advanced Search (5%)
197+
- Quick Search (60%)
198+
- Quick Search With Filtering (30%)
199+
- Advanced Search (10%)
199200

200201
- **Admin Pool** (10%)
201202

202203
| Thread Group Name | Label Suffix | % of Pool |
203204
| ----------------------------------------- | ------------ | --------- |
204-
| *Merchandizing Pool* (see below) | - | 50 |
205+
| *Merchandising Pool* (see below) | - | 50 |
205206
| Admin Promotion Rules | - | 10 |
206207
| Admin API - Process Orders | - | 30 |
207-
| Admin Create/Process Returns | - | 10 |
208+
| Admin Edit Order | - | 10 |
208209

209-
*Merchandizing Pool* (50% of Admin Pool)
210+
*Merchandising Pool* (50% of Admin Pool)
210211

211212
| Thread Group Name | Label Suffix | % of Pool |
212213
| ----------------------------------------- | ------------ | --------- |
213-
| *Product Management Pool* (see below) | - | 90 |
214-
| Admin Category Management (Merchandizing) | - | 10 |
215-
216-
*Product Management Pool* (90% of Merchandizing Pool)
217-
218-
| Thread Group Name | Label Suffix | % of Pool |
219-
| ----------------------------------------- | ------------ | --------- |
220-
| Admin Edit Product (Merchandizing) | - | 60 |
221-
| Admin Create Product (Merchandizing) | - | 40 |
214+
| Admin Category Management (Merchandising) | - | 10 |
215+
| Admin Edit Product (Merchandising) | - | 55 |
216+
| Admin Create Product (Merchandising) | - | 35 |
222217

223218
- **CSR Pool** (0%)
224219

@@ -236,9 +231,9 @@ For example, the value of {numberOfThreads} parameter is 100 and we want to get
236231

237232
N = 100 * 90 * 4 / 10000 = 4
238233

239-
The *Merchandizing Pool* and the *Product Management Pool* should be taken into account when the number of product or category management threads needs to be calculated. For example, the number of threads in *Admin Create Product (Merchandizing)* group is calculated as follows:
234+
The *Merchandising Pool* and the *Product Management Pool* should be taken into account when the number of product or category management threads needs to be calculated. For example, the number of threads in *Admin Create Product (Merchandising)* group is calculated as follows:
240235

241-
N = {numberOfThreads} * {adminPoolPercentage} * {merchandizingPercentage} * {adminProductManagementPercentage} * {adminProductCreationPercentage} / 100 / 100 / 100 / 100
236+
N = {numberOfThreads} * {adminPoolPercentage} * {merchandisingPercentage} * {adminProductManagementPercentage} * {adminProductCreationPercentage} / 100 / 100 / 100 / 100
242237

243238
If {numberOfThreads} equals to 100:
244239

0 commit comments

Comments
 (0)