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.
16 lines
733 B
16 lines
733 B
*** Settings ***
|
|
Library RequestsLibrary
|
|
Library Collections
|
|
Library urllib3
|
|
|
|
*** Variables ***
|
|
&{cloudfactory_customer_header} Content-Type=application/json;charset=UTF-8 X-APP-ID=503258978847965388 Authorization=${getlogintoken_customer}
|
|
${yytclient} https://api-client-yyt-test.qniao.cn
|
|
|
|
*** Test Cases ***
|
|
customer_get_machines_list
|
|
Create Session yytclient ${yytclient} headers=${cloudfactory_customer_header}
|
|
${response} Get On Session yytclient /capacity-market/get/my-machines-list
|
|
log ${response.json()}
|
|
Should Be Equal As Numbers 200 ${response.status_code}
|
|
Should Be Equal As Strings successful ${response.json()["message"]}
|