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.
34 lines
1.8 KiB
34 lines
1.8 KiB
*** Settings ***
|
|
Library DateTime
|
|
Library Collections
|
|
Library RequestsLibrary
|
|
Library DatabaseLibrary
|
|
|
|
*** Test Cases ***
|
|
baseUrl
|
|
#工厂版baseurl
|
|
${opsztb} Set Variable https://api-ops-ztb-test.qniao.cn #ztb后台系统ops域名
|
|
${opspsc} Set Variable https://api-ops-psc-test.qniao.cn #ztb后台PSC域名
|
|
${uecClient} Set Variable https://api-client-uec-test.qniao.cn #uec客户端域名
|
|
${ztbClient} Set Variable https://api-client-ztb-test.qniao.cn #ztb客户端域名
|
|
Set Global Variable ${opsztb}
|
|
Set Global Variable ${opspsc}
|
|
Set Global Variable ${uecClient}
|
|
Set Global Variable ${ztbClient}
|
|
#登录header
|
|
${ops_header} Set Variable {'content-type':'application/json','X-APP-ID':'470236309865238555','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'} #后台系统header
|
|
${ops_login_header} Set Variable {'content-type':'application/x-www-form-urlencoded','X-APP-ID':'470236309865238555'} #后台系统登录header
|
|
${client_login_header} Set Variable {'content-type':'application/json','X-APP-ID':'503258978847953926'} #客户端登录header
|
|
Set Global Variable ${ops_header}
|
|
Set Global Variable ${ops_login_header}
|
|
Set Global Variable ${client_login_header}
|
|
#登录账号
|
|
${account} Set Variable 15014242835 #客户端登录账号
|
|
${username} Set Variable laiyonglan@qniao.cn #后台系统登录账号
|
|
Set Global Variable ${account}
|
|
Set Global Variable ${username}
|
|
#登录密码
|
|
${captcha} Set Variable 888888 #客户端登录验证码
|
|
${password} Set Variable qn123456 #后台系统登录密码
|
|
Set Global Variable ${captcha}
|
|
Set Global Variable ${password}
|