*** Settings *** Library RequestsLibrary Library Collections Library urllib3 *** Variables *** &{operationpsc_header} Content-Type=application/json;charset=UTF-8 X-APP-ID=503258978847965324 Authorization=${gettoken_operate_psc} ${pscops} https://api-ops-psc-test.qniao.cn ${yytops} https://api-ops-yyt-test.qniao.cn *** Test Cases *** operate_get_credit_list Create Session yytops ${yytops} headers=${operationpsc_header} ${response} Get On Session yytops /cloud-print-user-center/admin/credit/application/get/application-order-list Log ${response.status_code} log ${response.json()} Should Be Equal As Numbers 200 ${response.status_code} Should Be Equal As Strings successful ${response.json()["message"]} operate_get_credit_search Create Session yytops ${yytops} headers=${operationpsc_header} ${param} Set Variable timeBegin=2021-09-29 00:00:00&timeEnd=2021-09-29 23:59:59&enterpriseType=2&status=1&enterpriseName=测试&legalpersonName=测试 ${response} Get On Session yytops /cloud-print-user-center/admin/credit/application/get/application-order-list params=${param} Log ${response.status_code} log ${response.json()} Should Be Equal As Numbers 200 ${response.status_code} Should Be Equal As Strings successful ${response.json()["message"]}