Skip to content

Commit 7eed3e5

Browse files
author
Olexii Korshenko
committed
MAGETWO-39372: Build stabilization
- fixed PAT build
1 parent c88a406 commit 7eed3e5

File tree

1 file changed

+17
-80
lines changed

1 file changed

+17
-80
lines changed

dev/tests/performance/benchmark.jmx

Lines changed: 17 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
<hashTree>
292292
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert logged-in" enabled="true">
293293
<collectionProp name="Asserion.test_strings">
294-
<stringProp name="1847038912">&lt;title&gt;Dashboard / Magento Admin&lt;/title&gt;</stringProp>
294+
<stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
295295
</collectionProp>
296296
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
297297
<boolProp name="Assertion.assume_success">false</boolProp>
@@ -892,19 +892,16 @@
892892
<stringProp name="ConstantTimer.delay">${sleep_between_steps}</stringProp>
893893
</ConstantTimer>
894894
<hashTree/>
895-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout billing/shipping addresses" enabled="true">
895+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout shipping information" enabled="true">
896896
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
897897
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
898898
<collectionProp name="Arguments.arguments">
899899
<elementProp name="" elementType="HTTPArgument">
900900
<boolProp name="HTTPArgument.always_encode">false</boolProp>
901-
<stringProp name="Argument.value">{&quot;shippingAddress&quot;:{&quot;company&quot;:&quot;&quot;,&quot;fax&quot;:&quot;&quot;,&quot;city&quot;:&quot;Culver City&quot;,&quot;firstname&quot;:&quot;Name&quot;,&quot;lastname&quot;:&quot;Lastname&quot;&#xd;
902-
,&quot;street&quot;:{&quot;0&quot;:&quot;10441 Jefferson Blvd, ste 200&quot;,&quot;1&quot;:&quot;&quot;},&quot;telephone&quot;:&quot;1-310-945-0345&quot;,&quot;postcode&quot;:&quot;90232&quot;&#xd;
903-
,&quot;region_id&quot;:&quot;12&quot;,&quot;country_id&quot;:&quot;US&quot;,&quot;region&quot;:&quot;&quot;,&quot;save_in_address_book&quot;:&quot;1&quot;,&quot;email&quot;:&quot;test@example.com&quot;&#xd;
904-
,&quot;same_as_billing&quot;:1},&quot;billingAddress&quot;:{&quot;company&quot;:&quot;&quot;,&quot;fax&quot;:&quot;&quot;,&quot;city&quot;:&quot;Culver City&quot;,&quot;firstname&quot;:&quot;Name&quot;&#xd;
905-
,&quot;lastname&quot;:&quot;Lastname&quot;,&quot;street&quot;:{&quot;0&quot;:&quot;10441 Jefferson Blvd, ste 200&quot;,&quot;1&quot;:&quot;&quot;},&quot;telephone&quot;:&quot;1-310-945-0345&quot;&#xd;
906-
,&quot;postcode&quot;:&quot;90232&quot;,&quot;region_id&quot;:&quot;12&quot;,&quot;country_id&quot;:&quot;US&quot;,&quot;region&quot;:&quot;&quot;,&quot;save_in_address_book&quot;:&quot;1&quot;,&quot;email&quot;&#xd;
907-
:&quot;test@example.com&quot;,&quot;same_as_billing&quot;:1},&quot;additionalData&quot;:{&quot;extensionAttributes&quot;:{}}}</stringProp>
901+
<stringProp name="Argument.value">{&quot;addressInformation&quot;:{&quot;shipping_address&quot;:{&quot;countryId&quot;:&quot;US&quot;,&quot;regionId&quot;:&quot;12&quot;,&quot;regionCode&quot;:&quot;CA&quot;,&quot;region&quot;&#xd;
902+
:&quot;California&quot;,&quot;street&quot;:[&quot;10441 Jefferson Blvd&quot;,&quot;ste 200&quot;],&quot;company&quot;:&quot;&quot;,&quot;telephone&quot;:&quot;1-310-945-0345&quot;,&quot;fax&quot;&#xd;
903+
:&quot;&quot;,&quot;postcode&quot;:&quot;90232&quot;,&quot;city&quot;:&quot;Culver City&quot;,&quot;firstname&quot;:&quot;Firstname&quot;,&quot;lastname&quot;:&quot;Lastname&quot;,&quot;saveInAddressBook&quot;&#xd;
904+
:true},&quot;shipping_method_code&quot;:&quot;flatrate&quot;,&quot;shipping_carrier_code&quot;:&quot;flatrate&quot;}}</stringProp>
908905
<stringProp name="Argument.metadata">=</stringProp>
909906
</elementProp>
910907
</collectionProp>
@@ -915,7 +912,7 @@
915912
<stringProp name="HTTPSampler.response_timeout"></stringProp>
916913
<stringProp name="HTTPSampler.protocol">http</stringProp>
917914
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
918-
<stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/addresses</stringProp>
915+
<stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/shipping-information</stringProp>
919916
<stringProp name="HTTPSampler.method">POST</stringProp>
920917
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
921918
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -948,71 +945,7 @@
948945
<hashTree/>
949946
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
950947
<collectionProp name="Asserion.test_strings">
951-
<stringProp name="-768590464">{&quot;shipping_methods&quot;:</stringProp>
952-
</collectionProp>
953-
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
954-
<boolProp name="Assertion.assume_success">false</boolProp>
955-
<intProp name="Assertion.test_type">2</intProp>
956-
</ResponseAssertion>
957-
<hashTree/>
958-
</hashTree>
959-
<ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
960-
<stringProp name="ConstantTimer.delay">${sleep_between_steps}</stringProp>
961-
</ConstantTimer>
962-
<hashTree/>
963-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout shipping/payment method" enabled="true">
964-
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
965-
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
966-
<collectionProp name="Arguments.arguments">
967-
<elementProp name="" elementType="HTTPArgument">
968-
<boolProp name="HTTPArgument.always_encode">false</boolProp>
969-
<stringProp name="Argument.value">{&quot;cartId&quot;:&quot;${cart_id}&quot;,&quot;paymentMethod&quot;:{&quot;method&quot;:&quot;checkmo&quot;,&quot;po_number&quot;:null,&quot;cc_owner&quot;&#xd;
970-
:null,&quot;cc_number&quot;:null,&quot;cc_type&quot;:null,&quot;cc_exp_year&quot;:null,&quot;cc_exp_month&quot;:null,&quot;additional_data&quot;:null}&#xd;
971-
,&quot;shippingCarrierCode&quot;:&quot;flatrate&quot;,&quot;shippingMethodCode&quot;:&quot;flatrate&quot;}</stringProp>
972-
<stringProp name="Argument.metadata">=</stringProp>
973-
</elementProp>
974-
</collectionProp>
975-
</elementProp>
976-
<stringProp name="HTTPSampler.domain"></stringProp>
977-
<stringProp name="HTTPSampler.port"></stringProp>
978-
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
979-
<stringProp name="HTTPSampler.response_timeout"></stringProp>
980-
<stringProp name="HTTPSampler.protocol">http</stringProp>
981-
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
982-
<stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/collect-totals</stringProp>
983-
<stringProp name="HTTPSampler.method">PUT</stringProp>
984-
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
985-
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
986-
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
987-
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
988-
<boolProp name="HTTPSampler.monitor">false</boolProp>
989-
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
990-
</HTTPSamplerProxy>
991-
<hashTree>
992-
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
993-
<collectionProp name="HeaderManager.headers">
994-
<elementProp name="" elementType="Header">
995-
<stringProp name="Header.name">Referer</stringProp>
996-
<stringProp name="Header.value">http://mage2.com/checkout/onepage/</stringProp>
997-
</elementProp>
998-
<elementProp name="" elementType="Header">
999-
<stringProp name="Header.name">Content-Type</stringProp>
1000-
<stringProp name="Header.value">application/json; charset=UTF-8 </stringProp>
1001-
</elementProp>
1002-
<elementProp name="" elementType="Header">
1003-
<stringProp name="Header.name">Accept</stringProp>
1004-
<stringProp name="Header.value">application/json</stringProp>
1005-
</elementProp>
1006-
<elementProp name="" elementType="Header">
1007-
<stringProp name="Header.name">X-Requested-With</stringProp>
1008-
<stringProp name="Header.value">XMLHttpRequest</stringProp>
1009-
</elementProp>
1010-
</collectionProp>
1011-
</HeaderManager>
1012-
<hashTree/>
1013-
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1014-
<collectionProp name="Asserion.test_strings">
1015-
<stringProp name="629313218">{&quot;grand_total&quot;:</stringProp>
948+
<stringProp name="-1494218646">{&quot;payment_methods&quot;:</stringProp>
1016949
</collectionProp>
1017950
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1018951
<boolProp name="Assertion.assume_success">false</boolProp>
@@ -1024,13 +957,17 @@
1024957
<stringProp name="ConstantTimer.delay">${sleep_between_steps}</stringProp>
1025958
</ConstantTimer>
1026959
<hashTree/>
1027-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout place order" enabled="true">
960+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout payment information" enabled="true">
1028961
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1029962
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1030963
<collectionProp name="Arguments.arguments">
1031964
<elementProp name="" elementType="HTTPArgument">
1032965
<boolProp name="HTTPArgument.always_encode">false</boolProp>
1033-
<stringProp name="Argument.value"></stringProp>
966+
<stringProp name="Argument.value">{&quot;cartId&quot;:&quot;${cart_id}&quot;,&quot;paymentMethod&quot;:{&quot;method&quot;:&quot;checkmo&quot;,&quot;po_number&quot;:null,&quot;cc_owner&quot;:null,&quot;cc_number&quot;:null&#xd;
967+
,&quot;cc_type&quot;:null,&quot;cc_exp_year&quot;:null,&quot;cc_exp_month&quot;:null,&quot;additional_data&quot;:null},&quot;billingAddress&quot;:{&quot;countryId&quot;&#xd;
968+
:&quot;US&quot;,&quot;regionId&quot;:&quot;12&quot;,&quot;regionCode&quot;:&quot;CA&quot;,&quot;region&quot;:&quot;California&quot;,&quot;street&quot;:[&quot;10441 Jefferson Blvd&quot;,&quot;ste 200&quot;&#xd;
969+
],&quot;company&quot;:&quot;&quot;,&quot;telephone&quot;:&quot;1-310-945-0345&quot;,&quot;fax&quot;:&quot;&quot;,&quot;postcode&quot;:&quot;90232&quot;,&quot;city&quot;:&quot;Culver City&quot;,&quot;firstname&quot;&#xd;
970+
:&quot;Firstname&quot;,&quot;lastname&quot;:&quot;Lastname&quot;,&quot;saveInAddressBook&quot;:true}}</stringProp>
1034971
<stringProp name="Argument.metadata">=</stringProp>
1035972
</elementProp>
1036973
</collectionProp>
@@ -1041,8 +978,8 @@
1041978
<stringProp name="HTTPSampler.response_timeout"></stringProp>
1042979
<stringProp name="HTTPSampler.protocol">http</stringProp>
1043980
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
1044-
<stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/order</stringProp>
1045-
<stringProp name="HTTPSampler.method">PUT</stringProp>
981+
<stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/payment-information</stringProp>
982+
<stringProp name="HTTPSampler.method">POST</stringProp>
1046983
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1047984
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1048985
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
@@ -1143,7 +1080,7 @@
11431080
<hashTree>
11441081
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
11451082
<collectionProp name="Asserion.test_strings">
1146-
<stringProp name="890055751">You are signed out.</stringProp>
1083+
<stringProp name="1723813687">You are signed out.</stringProp>
11471084
</collectionProp>
11481085
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
11491086
<boolProp name="Assertion.assume_success">false</boolProp>

0 commit comments

Comments
 (0)