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.
18 lines
676 B
18 lines
676 B
*** Settings ***
|
|
Library RequestsLibrary
|
|
Library DateTime
|
|
Library urllib3
|
|
|
|
*** Test Cases ***
|
|
login
|
|
|
|
Automatic withdrawal
|
|
#自动提现
|
|
Disable Warnings
|
|
${headers} Create Dictionary Content-Type=application/x-www-form-urlencoded
|
|
${datatime} Get Current Date result_format=%Y-%m-%d
|
|
log ${datatime}
|
|
Create Session xxl-job http://xxl-job-admin-test.qniao.cn ${headers}
|
|
${data} Create Dictionary id=2 executorParam={'datatime':'${datatime}','period':'0'} addressList=
|
|
${reps} Post On Session xxl-job xxl-job-admin/jobinfo/trigger data=${data}
|
|
#log ${reps.json()}
|