From 758373068064b519ce9be3103ede232fc7b2e056 Mon Sep 17 00:00:00 2001 From: Stanislav Lopukhov Date: Mon, 20 Nov 2017 11:31:52 +0200 Subject: [PATCH] MAGETWO-83328: Run Nightly PAT on 2.2 --- setup/performance-toolkit/benchmark.jmx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/performance-toolkit/benchmark.jmx b/setup/performance-toolkit/benchmark.jmx index d228bf2cfef35..655b19760b958 100644 --- a/setup/performance-toolkit/benchmark.jmx +++ b/setup/performance-toolkit/benchmark.jmx @@ -8006,14 +8006,15 @@ try { //Number of products for one thread productClusterLength = productCount / threadsNumber; - //Index of the current product from the cluster - i = productClusterLength * currentThreadNum + iterator; if (iterator >= productClusterLength) { vars.put("threadIterator_" + currentThreadNum.toString(), "0"); iterator = 0; } + //Index of the current product from the cluster + i = productClusterLength * currentThreadNum + iterator; + //ids of simple and configurable products to edit vars.put("simple_product_id", props.get("simple_products_list").get(i).get("id")); vars.put("configurable_product_id", props.get("configurable_products_list").get(i).get("id"));