From 501e50803ae72eee7de9a42ab700ca2c82af412d Mon Sep 17 00:00:00 2001 From: Ben Nugent Date: Tue, 7 Apr 2015 14:07:05 -0400 Subject: [PATCH] change to HttpClient4 from Java client; fix regex issues --- dev/tools/performance-toolkit/benchmark.jmx | 97 +++++---------------- 1 file changed, 24 insertions(+), 73 deletions(-) diff --git a/dev/tools/performance-toolkit/benchmark.jmx b/dev/tools/performance-toolkit/benchmark.jmx index 7d3d7aef7fa0a..d1372bbdec2e4 100644 --- a/dev/tools/performance-toolkit/benchmark.jmx +++ b/dev/tools/performance-toolkit/benchmark.jmx @@ -1,11 +1,5 @@ - - + @@ -122,9 +116,10 @@ - - + http + utf-8 + HttpClient4 4 @@ -249,7 +244,6 @@ if (!slash.equals(path.substring(path.length() -1)) || !slash.equals(path.substr false true false - Java false Site - Get Category 1 @@ -322,7 +316,6 @@ props.put("category_name", vars.get("category_name"));false true false - Java false @@ -340,7 +333,7 @@ props.put("category_name", vars.get("category_name")); false simple_products_url_keys - <a class="product-item-link" href="http://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}">Simple + <a class="product-item-link"\s*href="http://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}"> $2$ -1 @@ -369,7 +362,6 @@ props.put("category_name", vars.get("category_name"));false true false - Java false @@ -477,7 +469,6 @@ productList.add(productMap); false true false - Java false @@ -495,7 +486,7 @@ productList.add(productMap); false configurable_products_url_keys - <a class="product-item-link" href="http://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}">Configurable + <a class="product-item-link"\s*href="http://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}">\s*Configurable $2$ -1 @@ -524,7 +515,6 @@ productList.add(productMap); false true false - Java false @@ -674,7 +664,6 @@ productList.add(productMap); false true false - Java false @@ -755,7 +744,6 @@ productList.add(productMap); false true false - Java false @@ -786,7 +774,6 @@ productList.add(productMap); false true false - Java false @@ -856,7 +843,6 @@ vars.put("searchData", new String(Base64Encoder.encode(searchData)));< false true false - Java false @@ -996,7 +982,6 @@ if (orders > 0) { false true false - Java false @@ -1074,7 +1059,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1110,7 +1094,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1146,7 +1129,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1183,7 +1165,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1220,7 +1201,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1314,7 +1294,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1350,7 +1329,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1386,7 +1364,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1404,7 +1381,7 @@ vars.put("category_name", props.get("category_name")); false simple_product_1_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -1479,7 +1456,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1524,7 +1500,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1542,7 +1517,7 @@ vars.put("category_name", props.get("category_name")); false simple_product_2_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -1617,7 +1592,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1662,7 +1636,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1680,7 +1653,7 @@ vars.put("category_name", props.get("category_name")); false configurable_product_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -1762,7 +1735,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1864,7 +1836,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1900,7 +1871,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1936,7 +1906,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -1954,7 +1923,7 @@ vars.put("category_name", props.get("category_name")); false simple_product_1_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -2029,7 +1998,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2074,7 +2042,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2092,7 +2059,7 @@ vars.put("category_name", props.get("category_name")); false simple_product_2_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -2167,7 +2134,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2212,7 +2178,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2230,7 +2195,7 @@ vars.put("category_name", props.get("category_name")); false configurable_product_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -2312,7 +2277,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2357,7 +2321,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2444,7 +2407,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2630,7 +2592,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2697,7 +2658,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2771,7 +2731,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2837,7 +2796,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2873,7 +2831,6 @@ vars.put("category_name", props.get("category_name"));false true false - Java false @@ -2983,7 +2940,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3019,7 +2975,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3055,7 +3010,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3073,7 +3027,7 @@ if (emailsCount < 1) { false simple_product_1_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -3148,7 +3102,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3193,7 +3146,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3211,7 +3163,7 @@ if (emailsCount < 1) { false simple_product_2_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -3286,7 +3238,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3331,7 +3282,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3349,7 +3299,7 @@ if (emailsCount < 1) { false configurable_product_form_action - <form action="([^'"]+)" method="post" id="product_addtocart_form"> + <form action="([^'"]+)"\s*method="post"\s*id="product_addtocart_form"> $1$ 1 @@ -3431,7 +3381,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3476,7 +3425,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3570,7 +3518,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3728,7 +3675,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3800,7 +3746,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3865,7 +3810,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3931,7 +3875,6 @@ if (emailsCount < 1) { false true false - Java false @@ -3967,7 +3910,6 @@ if (emailsCount < 1) { false true false - Java false @@ -4054,6 +3996,9 @@ props.remove("customer_emails_list"); false 0 true + true + true + true ${report_save_path}/view-results-tree.log @@ -4086,6 +4031,9 @@ props.remove("customer_emails_list"); false 0 true + true + true + true ${report_save_path}/detailed-urls-report.log @@ -4118,6 +4066,9 @@ props.remove("customer_emails_list"); false 0 true + true + true + true ${report_save_path}/summary-report.log