*** Settings *** Library RequestsLibrary Library Collections Library urllib3 *** Test Cases *** customer_enterprise_shipping_address_list Disable Warnings Create Session uecclient ${uecclient} headers=${cloudfactory_customer_header} ${response} Get On Session uecclient /uec/get/enterprise-shipping-address-list/by-userId log ${response.json()} Should Be Equal As Numbers 200 ${response.status_code} Should Be Equal As Strings successful ${response.json()["message"]} customer_enterprise_save_shipping_address Disable Warnings Create Session uecclient ${uecclient} headers=${cloudfactory_customer_header} ${body} Set Variable {"isDefault":${customer_enterprise_shipping_address_isDefault},"receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":${customer_enterprise_shipping_address_receiverMobile},"detail":"${customer_enterprise_shipping_address_detail}","provinceId":${customer_enterprise_shipping_address_provinceid},"cityId":${customer_enterprise_shipping_address_cityid},"districtId":${customer_enterprise_shipping_address_districtid},"streetId":${customer_enterprise_shipping_address_streetid},"provinceName":"${customer_enterprise_shipping_address_provincename}","cityName":"${customer_enterprise_shipping_address_cityname}","districtName":"${customer_enterprise_shipping_address_districtname}","streetName":"${customer_enterprise_shipping_address_streetname}"} ${response} POST On Session uecclient /uec/save/enterprise-shipping-address ${body.encode("utf-8")} log ${response.json()} Should Be Equal As Numbers 200 ${response.status_code} Should Be Equal As Strings successful ${response.json()["message"]} ${customer_enterprise_shipping_address_id} Get From Dictionary ${response.json()} data Set Global Variable ${customer_enterprise_shipping_address_id}