|
291 | 291 | <hashTree>
|
292 | 292 | <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert logged-in" enabled="true">
|
293 | 293 | <collectionProp name="Asserion.test_strings">
|
294 |
| - <stringProp name="1847038912"><title>Dashboard / Magento Admin</title></stringProp> |
| 294 | + <stringProp name="-515240035"><title>Magento Admin</title></stringProp> |
295 | 295 | </collectionProp>
|
296 | 296 | <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
297 | 297 | <boolProp name="Assertion.assume_success">false</boolProp>
|
|
892 | 892 | <stringProp name="ConstantTimer.delay">${sleep_between_steps}</stringProp>
|
893 | 893 | </ConstantTimer>
|
894 | 894 | <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"> |
896 | 896 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
|
897 | 897 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
|
898 | 898 | <collectionProp name="Arguments.arguments">
|
899 | 899 | <elementProp name="" elementType="HTTPArgument">
|
900 | 900 | <boolProp name="HTTPArgument.always_encode">false</boolProp>
|
901 |
| - <stringProp name="Argument.value">{"shippingAddress":{"company":"","fax":"","city":"Culver City","firstname":"Name","lastname":"Lastname"
 |
902 |
| -,"street":{"0":"10441 Jefferson Blvd, ste 200","1":""},"telephone":"1-310-945-0345","postcode":"90232"
 |
903 |
| -,"region_id":"12","country_id":"US","region":"","save_in_address_book":"1","email":"test@example.com"
 |
904 |
| -,"same_as_billing":1},"billingAddress":{"company":"","fax":"","city":"Culver City","firstname":"Name"
 |
905 |
| -,"lastname":"Lastname","street":{"0":"10441 Jefferson Blvd, ste 200","1":""},"telephone":"1-310-945-0345"
 |
906 |
| -,"postcode":"90232","region_id":"12","country_id":"US","region":"","save_in_address_book":"1","email"
 |
907 |
| -:"test@example.com","same_as_billing":1},"additionalData":{"extensionAttributes":{}}}</stringProp> |
| 901 | + <stringProp name="Argument.value">{"addressInformation":{"shipping_address":{"countryId":"US","regionId":"12","regionCode":"CA","region"
 |
| 902 | +:"California","street":["10441 Jefferson Blvd","ste 200"],"company":"","telephone":"1-310-945-0345","fax"
 |
| 903 | +:"","postcode":"90232","city":"Culver City","firstname":"Firstname","lastname":"Lastname","saveInAddressBook"
 |
| 904 | +:true},"shipping_method_code":"flatrate","shipping_carrier_code":"flatrate"}}</stringProp> |
908 | 905 | <stringProp name="Argument.metadata">=</stringProp>
|
909 | 906 | </elementProp>
|
910 | 907 | </collectionProp>
|
|
915 | 912 | <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
916 | 913 | <stringProp name="HTTPSampler.protocol">http</stringProp>
|
917 | 914 | <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> |
919 | 916 | <stringProp name="HTTPSampler.method">POST</stringProp>
|
920 | 917 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
921 | 918 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
948 | 945 | <hashTree/>
|
949 | 946 | <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
|
950 | 947 | <collectionProp name="Asserion.test_strings">
|
951 |
| - <stringProp name="-768590464">{"shipping_methods":</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">{"cartId":"${cart_id}","paymentMethod":{"method":"checkmo","po_number":null,"cc_owner"
 |
970 |
| -:null,"cc_number":null,"cc_type":null,"cc_exp_year":null,"cc_exp_month":null,"additional_data":null}
 |
971 |
| -,"shippingCarrierCode":"flatrate","shippingMethodCode":"flatrate"}</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">{"grand_total":</stringProp> |
| 948 | + <stringProp name="-1494218646">{"payment_methods":</stringProp> |
1016 | 949 | </collectionProp>
|
1017 | 950 | <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
1018 | 951 | <boolProp name="Assertion.assume_success">false</boolProp>
|
|
1024 | 957 | <stringProp name="ConstantTimer.delay">${sleep_between_steps}</stringProp>
|
1025 | 958 | </ConstantTimer>
|
1026 | 959 | <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"> |
1028 | 961 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
|
1029 | 962 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
|
1030 | 963 | <collectionProp name="Arguments.arguments">
|
1031 | 964 | <elementProp name="" elementType="HTTPArgument">
|
1032 | 965 | <boolProp name="HTTPArgument.always_encode">false</boolProp>
|
1033 |
| - <stringProp name="Argument.value"></stringProp> |
| 966 | + <stringProp name="Argument.value">{"cartId":"${cart_id}","paymentMethod":{"method":"checkmo","po_number":null,"cc_owner":null,"cc_number":null
 |
| 967 | +,"cc_type":null,"cc_exp_year":null,"cc_exp_month":null,"additional_data":null},"billingAddress":{"countryId"
 |
| 968 | +:"US","regionId":"12","regionCode":"CA","region":"California","street":["10441 Jefferson Blvd","ste 200"
 |
| 969 | +],"company":"","telephone":"1-310-945-0345","fax":"","postcode":"90232","city":"Culver City","firstname"
 |
| 970 | +:"Firstname","lastname":"Lastname","saveInAddressBook":true}}</stringProp> |
1034 | 971 | <stringProp name="Argument.metadata">=</stringProp>
|
1035 | 972 | </elementProp>
|
1036 | 973 | </collectionProp>
|
|
1041 | 978 | <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
1042 | 979 | <stringProp name="HTTPSampler.protocol">http</stringProp>
|
1043 | 980 | <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> |
1046 | 983 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
1047 | 984 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
1048 | 985 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
1143 | 1080 | <hashTree>
|
1144 | 1081 | <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
|
1145 | 1082 | <collectionProp name="Asserion.test_strings">
|
1146 |
| - <stringProp name="890055751">You are signed out.</stringProp> |
| 1083 | + <stringProp name="1723813687">You are signed out.</stringProp> |
1147 | 1084 | </collectionProp>
|
1148 | 1085 | <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
1149 | 1086 | <boolProp name="Assertion.assume_success">false</boolProp>
|
|
0 commit comments