Skip to content

Commit 1595817

Browse files
author
Susan Wright
committed
MAGETWO-40172: Run benchmarks for sprint 5 in milestone 11.
- Updated the performance toolkit benchmark file due to changes in jmeter fragments.
1 parent adc0786 commit 1595817

File tree

1 file changed

+88
-0
lines changed

1 file changed

+88
-0
lines changed

setup/performance-toolkit/benchmark.jmx

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,6 +1618,94 @@ if (orders > 0) {
16181618
<boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
16191619
</BeanShellSampler>
16201620
<hashTree/>
1621+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Ajax Load Login Form" enabled="true">
1622+
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
1623+
<collectionProp name="Arguments.arguments">
1624+
<elementProp name="blocks" elementType="HTTPArgument">
1625+
<boolProp name="HTTPArgument.always_encode">true</boolProp>
1626+
<stringProp name="Argument.value">["customer_form_login"]</stringProp>
1627+
<stringProp name="Argument.metadata">=</stringProp>
1628+
<boolProp name="HTTPArgument.use_equals">true</boolProp>
1629+
<stringProp name="Argument.name">blocks</stringProp>
1630+
</elementProp>
1631+
<elementProp name="handles" elementType="HTTPArgument">
1632+
<boolProp name="HTTPArgument.always_encode">true</boolProp>
1633+
<stringProp name="Argument.value">["default","customer_account_login"]</stringProp>
1634+
<stringProp name="Argument.metadata">=</stringProp>
1635+
<boolProp name="HTTPArgument.use_equals">true</boolProp>
1636+
<stringProp name="Argument.name">handles</stringProp>
1637+
</elementProp>
1638+
<elementProp name="originalRequest" elementType="HTTPArgument">
1639+
<boolProp name="HTTPArgument.always_encode">true</boolProp>
1640+
<stringProp name="Argument.value">{"route":"customer","controller":"account","action":"login","uri":"/customer/account/login/"}</stringProp>
1641+
<stringProp name="Argument.metadata">=</stringProp>
1642+
<boolProp name="HTTPArgument.use_equals">true</boolProp>
1643+
<stringProp name="Argument.name">originalRequest</stringProp>
1644+
</elementProp>
1645+
<elementProp name="ajax" elementType="HTTPArgument">
1646+
<boolProp name="HTTPArgument.always_encode">true</boolProp>
1647+
<stringProp name="Argument.value">true</stringProp>
1648+
<stringProp name="Argument.metadata">=</stringProp>
1649+
<boolProp name="HTTPArgument.use_equals">true</boolProp>
1650+
<stringProp name="Argument.name">ajax</stringProp>
1651+
</elementProp>
1652+
<elementProp name="isAjax" elementType="HTTPArgument">
1653+
<boolProp name="HTTPArgument.always_encode">true</boolProp>
1654+
<stringProp name="Argument.value">true</stringProp>
1655+
<stringProp name="Argument.metadata">=</stringProp>
1656+
<boolProp name="HTTPArgument.use_equals">true</boolProp>
1657+
<stringProp name="Argument.name">isAjax</stringProp>
1658+
</elementProp>
1659+
</collectionProp>
1660+
</elementProp>
1661+
<stringProp name="HTTPSampler.domain"/>
1662+
<stringProp name="HTTPSampler.port"/>
1663+
<stringProp name="HTTPSampler.connect_timeout"/>
1664+
<stringProp name="HTTPSampler.response_timeout"/>
1665+
<stringProp name="HTTPSampler.protocol"/>
1666+
<stringProp name="HTTPSampler.contentEncoding"/>
1667+
<stringProp name="HTTPSampler.path">${base_path}page_cache/block/render/</stringProp>
1668+
<stringProp name="HTTPSampler.method">GET</stringProp>
1669+
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1670+
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1671+
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1672+
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1673+
<boolProp name="HTTPSampler.monitor">false</boolProp>
1674+
<stringProp name="HTTPSampler.embedded_url_re"/>
1675+
</HTTPSamplerProxy>
1676+
<hashTree>
1677+
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1678+
<collectionProp name="Asserion.test_strings">
1679+
<stringProp name="940598773">"customer_form_login"</stringProp>
1680+
<stringProp name="1951684663">Registered Customers</stringProp>
1681+
<stringProp name="474011748">form_key</stringProp>
1682+
</collectionProp>
1683+
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1684+
<boolProp name="Assertion.assume_success">false</boolProp>
1685+
<intProp name="Assertion.test_type">2</intProp>
1686+
</ResponseAssertion>
1687+
<hashTree/>
1688+
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
1689+
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
1690+
<stringProp name="RegexExtractor.refname">form_key</stringProp>
1691+
<stringProp name="RegexExtractor.regex">&lt;input name=\\"form_key\\" type=\\"hidden\\" value=\\"([^'"]+)\\" \\/&gt;</stringProp>
1692+
<stringProp name="RegexExtractor.template">$1$</stringProp>
1693+
<stringProp name="RegexExtractor.default"/>
1694+
<stringProp name="RegexExtractor.match_number">1</stringProp>
1695+
</RegexExtractor>
1696+
<hashTree/>
1697+
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
1698+
<collectionProp name="Asserion.test_strings">
1699+
<stringProp name="2845929">^.+$</stringProp>
1700+
</collectionProp>
1701+
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1702+
<boolProp name="Assertion.assume_success">false</boolProp>
1703+
<intProp name="Assertion.test_type">1</intProp>
1704+
<stringProp name="Assertion.scope">variable</stringProp>
1705+
<stringProp name="Scope.variable">form_key</stringProp>
1706+
</ResponseAssertion>
1707+
<hashTree/>
1708+
</hashTree>
16211709
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - WarmUp Add To Cart" enabled="true">
16221710
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
16231711
<collectionProp name="Arguments.arguments">

0 commit comments

Comments
 (0)