You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.4 KiB
28 lines
1.4 KiB
*** Settings ***
|
|
Library RequestsLibrary
|
|
Library Collections
|
|
Library urllib3
|
|
|
|
*** Test Cases ***
|
|
operate_get_customer_bill_list
|
|
Create Session yytops ${yytops} headers=${operationpsc_header}
|
|
${response} Get On Session yytops /trading-center/admin/get/bill-list
|
|
log ${response.json()}
|
|
Should Be Equal As Numbers 200 ${response.status_code}
|
|
Should Be Equal As Strings successful ${response.json()["message"]}
|
|
|
|
operate_get_customer_bill_list_search
|
|
Create Session yytops ${yytops} headers=${operationpsc_header}
|
|
${param} Set Variable customerEnterpriseName=${printing_packaging_factory_name}
|
|
${response} Get On Session yytops /trading-center/admin/get/bill-list params=${param}
|
|
log ${response.json()}
|
|
Should Be Equal As Numbers 200 ${response.status_code}
|
|
Should Be Equal As Strings successful ${response.json()["message"]}
|
|
|
|
operate_get_customer_detail
|
|
Create Session yytops ${yytops} headers=${operationpsc_header}
|
|
${param} Set Variable customerEnterpriseId=${printing_packaging_factory_id}&month=${current_date_month}
|
|
${response} Get On Session yytops /trading-center/admin/get/bill-detail params=${param}
|
|
log ${response.json()}
|
|
Should Be Equal As Numbers 200 ${response.status_code}
|
|
Should Be Equal As Strings successful ${response.json()["message"]}
|