Returns current local or UTC time with an optional increment.
${current_time}
${current_time} = 2021-12-08 15:46:56.849
Converts between supported `date formats`.
${current_time}
result_format=%Y-%m-%d
${current_date}
${current_date} = 2021-12-08
Makes a variable available globally in all tests and suites.
${current_date}
${current_date} = 2021-12-08
Converts between supported `date formats`.
${current_time}
result_format=%Y-%m
${current_date_month}
${current_date_month} = 2021-12
Makes a variable available globally in all tests and suites.
${current_date_month}
${current_date_month} = 2021-12
Converts between supported `date formats`.
${current_time}
result_format=%Y-%m-%d %H:%M:%S
${current_date_second}
${current_date_second} = 2021-12-08 15:46:56
Makes a variable available globally in all tests and suites.
${current_date_second}
${current_date_second} = 2021-12-08 15:46:56
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/000_base.xls
Uses the cell name to return the data from that cell.
url
B1
${uecops}
${uecops} = https://api-ops-uec-test.qniao.cn
Uses the cell name to return the data from that cell.
url
B2
${yytops}
${yytops} = https://api-ops-yyt-test.qniao.cn
Uses the cell name to return the data from that cell.
url
B3
${pscops}
${pscops} = https://api-ops-psc-test.qniao.cn
Uses the cell name to return the data from that cell.
url
B4
${pscclient}
${pscclient} = https://api-client-psc-test.qniao.cn
Uses the cell name to return the data from that cell.
url
B5
${yytclient}
${yytclient} = https://api-client-yyt-test.qniao.cn
Uses the cell name to return the data from that cell.
url
B6
${uecclient}
${uecclient} = https://api-client-uec-test.qniao.cn
Makes a variable available globally in all tests and suites.
${uecops}
${uecops} = https://api-ops-uec-test.qniao.cn
Makes a variable available globally in all tests and suites.
${yytops}
${yytops} = https://api-ops-yyt-test.qniao.cn
Makes a variable available globally in all tests and suites.
${pscops}
${pscops} = https://api-ops-psc-test.qniao.cn
Makes a variable available globally in all tests and suites.
${pscclient}
${pscclient} = https://api-client-psc-test.qniao.cn
Makes a variable available globally in all tests and suites.
${yytclient}
${yytclient} = https://api-client-yyt-test.qniao.cn
Makes a variable available globally in all tests and suites.
${uecclient}
${uecclient} = https://api-client-uec-test.qniao.cn
Uses the cell name to return the data from that cell.
header
B1
${cloud_factory_customer_header}
${cloud_factory_customer_header} = {'Content-Type':'application/json;charset=UTF-8','X-APP-ID':'503258978847965388'}
Uses the cell name to return the data from that cell.
header
B2
${cloud_factory_supplier_header}
${cloud_factory_supplier_header} = {'Content-Type':'application/json;charset=UTF-8','X-APP-ID':'503258978847956666'}
Uses the cell name to return the data from that cell.
header
B3
${cloud_factory_supplierfocus_header}
${cloud_factory_supplierfocus_header} = {'Content-Type':'application/json;charset=UTF-8','X-APP-ID':'503258978847953922'}
Uses the cell name to return the data from that cell.
header
B4
${operation_backend_header}
${operation_backend_header} = {'Content-Type':'application/x-www-form-urlencoded','X-APP-ID':'503258978847952999'}
Uses the cell name to return the data from that cell.
header
B5
${operation_psc_header}
${operation_psc_header} = {'Content-Type':'application/x-www-form-urlencoded','X-APP-ID':'503258978847965324'}
Makes a variable available globally in all tests and suites.
${cloud_factory_customer_header}
${cloud_factory_customer_header} = {'Content-Type':'application/json;charset=UTF-8','X-APP-ID':'503258978847965388'}
Makes a variable available globally in all tests and suites.
${cloud_factory_supplier_header}
${cloud_factory_supplier_header} = {'Content-Type':'application/json;charset=UTF-8','X-APP-ID':'503258978847956666'}
Makes a variable available globally in all tests and suites.
${cloud_factory_supplierfocus_header}
${cloud_factory_supplierfocus_header} = {'Content-Type':'application/json;charset=UTF-8','X-APP-ID':'503258978847953922'}
Makes a variable available globally in all tests and suites.
${operation_backend_header}
${operation_backend_header} = {'Content-Type':'application/x-www-form-urlencoded','X-APP-ID':'503258978847952999'}
Makes a variable available globally in all tests and suites.
${operation_psc_header}
${operation_psc_header} = {'Content-Type':'application/x-www-form-urlencoded','X-APP-ID':'503258978847965324'}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/001_login.xls
Uses the cell name to return the data from that cell.
customer_phone
A2
${accounttype_customer}
${accounttype_customer} = 2
Uses the cell name to return the data from that cell.
customer_phone
B2
${account_customer}
${account_customer} = 13012345678
Uses the cell name to return the data from that cell.
customer_phone
C2
${captcha_customer}
${captcha_customer} = 888888
Makes a variable available globally in all tests and suites.
${accounttype_customer}
${accounttype_customer} = 2
Makes a variable available globally in all tests and suites.
${account_customer}
${account_customer} = 13012345678
Makes a variable available globally in all tests and suites.
${captcha_customer}
${captcha_customer} = 888888
Uses the cell name to return the data from that cell.
supplier_phone
A2
${accounttype_supplier}
${accounttype_supplier} = 2
Uses the cell name to return the data from that cell.
supplier_phone
B2
${account_supplier}
${account_supplier} = 13123456789
Uses the cell name to return the data from that cell.
supplier_phone
C2
${captcha_supplier}
${captcha_supplier} = 888888
Makes a variable available globally in all tests and suites.
${accounttype_supplier}
${accounttype_supplier} = 2
Makes a variable available globally in all tests and suites.
${account_supplier}
${account_supplier} = 13123456789
Makes a variable available globally in all tests and suites.
${captcha_supplier}
${captcha_supplier} = 888888
Uses the cell name to return the data from that cell.
supplier_focus_phone
A2
${accounttype_supplierfocus}
${accounttype_supplierfocus} = 2
Uses the cell name to return the data from that cell.
supplier_focus_phone
B2
${account_supplierfocus}
${account_supplierfocus} = 13500003333
Uses the cell name to return the data from that cell.
supplier_focus_phone
C2
${captcha_supplierfocus}
${captcha_supplierfocus} = 888888
Makes a variable available globally in all tests and suites.
${accounttype_supplierfocus}
${accounttype_supplierfocus} = 2
Makes a variable available globally in all tests and suites.
${account_supplierfocus}
${account_supplierfocus} = 13500003333
Makes a variable available globally in all tests and suites.
${captcha_supplierfocus}
${captcha_supplierfocus} = 888888
Uses the cell name to return the data from that cell.
operate_mail
A2
${username_operate}
${username_operate} = liangjinman@qniao.cn
Uses the cell name to return the data from that cell.
operate_mail
B2
${password_operate}
${password_operate} = qn123456
Makes a variable available globally in all tests and suites.
${username_operate}
${username_operate} = liangjinman@qniao.cn
Makes a variable available globally in all tests and suites.
${password_operate}
${password_operate} = qn123456
Uses the cell name to return the data from that cell.
operate_psc_mail
A2
${username_operatepsc}
${username_operatepsc} = liangjinman@qniao.cn
Uses the cell name to return the data from that cell.
operate_psc_mail
B2
${password_operatepsc}
${password_operatepsc} = qn123456
Makes a variable available globally in all tests and suites.
${username_operatepsc}
${username_operatepsc} = liangjinman@qniao.cn
Makes a variable available globally in all tests and suites.
${password_operatepsc}
${password_operatepsc} = qn123456
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/002_user_register.xls
Uses the cell name to return the data from that cell.
customerclue_customer
A2
${customer_companyname}
${customer_companyname} = autotest_companyname_customer
Uses the cell name to return the data from that cell.
customerclue_customer
B2
${customer_enterprisetype}
${customer_enterprisetype} = 2
Uses the cell name to return the data from that cell.
customerclue_customer
C2
${customer_job}
${customer_job} = autotest_job_customer
Uses the cell name to return the data from that cell.
customerclue_customer
D2
${customer_name}
${customer_name} = autotest_name_customer
Makes a variable available globally in all tests and suites.
${customer_companyname}
${customer_companyname} = autotest_companyname_customer
Makes a variable available globally in all tests and suites.
${customer_enterprisetype}
${customer_enterprisetype} = 2
Makes a variable available globally in all tests and suites.
${customer_job}
${customer_job} = autotest_job_customer
Makes a variable available globally in all tests and suites.
${customer_name}
${customer_name} = autotest_name_customer
Uses the cell name to return the data from that cell.
uploadpictures_customer
A2
${customer_businesslicense}
${customer_businesslicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
uploadpictures_customer
B2
${customer_idcardback}
${customer_idcardback} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
uploadpictures_customer
C2
${customer_idcardfront}
${customer_idcardfront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
uploadpictures_customer
D2
${customerclue_type}
${customerclue_type} = 1
Makes a variable available globally in all tests and suites.
${customer_businesslicense}
${customer_businesslicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${customer_idcardback}
${customer_idcardback} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${customer_idcardfront}
${customer_idcardfront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${customerclue_type}
${customerclue_type} = 1
Uses the cell name to return the data from that cell.
customerclue_supplier
A2
${supplier_companyname}
${supplier_companyname} = autotest_companyname_supplier
Uses the cell name to return the data from that cell.
customerclue_supplier
B2
${supplier_enterprisetype}
${supplier_enterprisetype} = 5
Uses the cell name to return the data from that cell.
customerclue_supplier
C2
${supplier_job}
${supplier_job} = autotest_job_supplier
Uses the cell name to return the data from that cell.
customerclue_supplier
D2
${supplier_name}
${supplier_name} = autotest_name_supplier
Makes a variable available globally in all tests and suites.
${supplier_companyname}
${supplier_companyname} = autotest_companyname_supplier
Makes a variable available globally in all tests and suites.
${supplier_enterprisetype}
${supplier_enterprisetype} = 5
Makes a variable available globally in all tests and suites.
${supplier_job}
${supplier_job} = autotest_job_supplier
Makes a variable available globally in all tests and suites.
${supplier_name}
${supplier_name} = autotest_name_supplier
Uses the cell name to return the data from that cell.
uploadpictures_supplier
A2
${supplier_businesslicense}
${supplier_businesslicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
uploadpictures_supplier
B2
${supplier_idcardback}
${supplier_idcardback} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
uploadpictures_supplier
C2
${supplier_idcardfront}
${supplier_idcardfront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
uploadpictures_supplier
D2
${customerclue_type}
${customerclue_type} = 1
Makes a variable available globally in all tests and suites.
${supplier_businesslicense}
${supplier_businesslicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_idcardback}
${supplier_idcardback} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_idcardfront}
${supplier_idcardfront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${customerclue_type}
${customerclue_type} = 1
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/003_open_account_customer.xls
Uses the cell name to return the data from that cell.
open_account
A2
${printing_packaging_factory_name}
${printing_packaging_factory_name} = autotest_printing_packaging_factory_name
Uses the cell name to return the data from that cell.
open_account
B2
${printing_packaging_factory_type}
${printing_packaging_factory_type} = 2
Uses the cell name to return the data from that cell.
open_account
C2
${printing_packaging_factory_shortname}
${printing_packaging_factory_shortname} = autotest_shortname
Uses the cell name to return the data from that cell.
open_account
D2
${printing_packaging_factory_uniformsocialcreditcode}
${printing_packaging_factory_uniformsocialcreditcode} = autotest_91440101MA59F2J10M
Uses the cell name to return the data from that cell.
open_account
E2
${printing_packaging_factory_locdetail}
${printing_packaging_factory_locdetail} = autotest_printing_packaging_factory_locdetail
Uses the cell name to return the data from that cell.
open_account
F2
${printing_packaging_factory_legalpersonname}
${printing_packaging_factory_legalpersonname} = autotest_legalperson
Uses the cell name to return the data from that cell.
open_account
G2
${printing_packaging_factory_legalpersonidcardno}
${printing_packaging_factory_legalpersonidcardno} = autotest_legalpersonidcardno
Uses the cell name to return the data from that cell.
open_account
H2
${printing_packaging_factory_locprovinceid}
${printing_packaging_factory_locprovinceid} = 440000
Uses the cell name to return the data from that cell.
open_account
I2
${printing_packaging_factory_loccityid}
${printing_packaging_factory_loccityid} = 440100
Uses the cell name to return the data from that cell.
open_account
J2
${printing_packaging_factory_locdistrictid}
${printing_packaging_factory_locdistrictid} = 440106
Uses the cell name to return the data from that cell.
open_account
K2
${printing_packaging_factory_locstreetid}
${printing_packaging_factory_locstreetid} = 440106003
Uses the cell name to return the data from that cell.
open_account
L2
${printing_packaging_factory_locprovincename}
${printing_packaging_factory_locprovincename} = 广东省
Uses the cell name to return the data from that cell.
open_account
M2
${printing_packaging_factory_loccityname}
${printing_packaging_factory_loccityname} = 广州市
Uses the cell name to return the data from that cell.
open_account
N2
${printing_packaging_factory_locdistrictname}
${printing_packaging_factory_locdistrictname} = 天河区
Uses the cell name to return the data from that cell.
open_account
O2
${printing_packaging_factory_locstreetname}
${printing_packaging_factory_locstreetname} = 车陂街道
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_name}
${printing_packaging_factory_name} = autotest_printing_packaging_factory_name
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_type}
${printing_packaging_factory_type} = 2
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shortname}
${printing_packaging_factory_shortname} = autotest_shortname
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_uniformsocialcreditcode}
${printing_packaging_factory_uniformsocialcreditcode} = autotest_91440101MA59F2J10M
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_locdetail}
${printing_packaging_factory_locdetail} = autotest_printing_packaging_factory_locdetail
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_legalpersonname}
${printing_packaging_factory_legalpersonname} = autotest_legalperson
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_legalpersonidcardno}
${printing_packaging_factory_legalpersonidcardno} = autotest_legalpersonidcardno
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_locprovinceid}
${printing_packaging_factory_locprovinceid} = 440000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_loccityid}
${printing_packaging_factory_loccityid} = 440100
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_locdistrictid}
${printing_packaging_factory_locdistrictid} = 440106
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_locstreetid}
${printing_packaging_factory_locstreetid} = 440106003
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_locprovincename}
${printing_packaging_factory_locprovincename} = 广东省
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_loccityname}
${printing_packaging_factory_loccityname} = 广州市
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_locdistrictname}
${printing_packaging_factory_locdistrictname} = 天河区
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_locstreetname}
${printing_packaging_factory_locstreetname} = 车陂街道
Uses the cell name to return the data from that cell.
base_info
A2
${printing_packaging_factory_base_info_name}
${printing_packaging_factory_base_info_name} = autotest_printing_packaging_factory_name
Uses the cell name to return the data from that cell.
base_info
B2
${printing_packaging_factory_base_info_type}
${printing_packaging_factory_base_info_type} = 2
Uses the cell name to return the data from that cell.
base_info
C2
${printing_packaging_factory_base_info_shortname}
${printing_packaging_factory_base_info_shortname} = autotest_shortname
Uses the cell name to return the data from that cell.
base_info
D2
${printing_packaging_factory_base_info_uniformsocialcreditcode}
${printing_packaging_factory_base_info_uniformsocialcreditcode} = autotest_91440101MA59F2J10M
Uses the cell name to return the data from that cell.
base_info
E2
${printing_packaging_factory_base_info_locdetail}
${printing_packaging_factory_base_info_locdetail} = autotest_printing_packaging_factory_locdetail
Uses the cell name to return the data from that cell.
base_info
F2
${printing_packaging_factory_base_info_legalpersonname}
${printing_packaging_factory_base_info_legalpersonname} = autotest_legalperson
Uses the cell name to return the data from that cell.
base_info
G2
${printing_packaging_factory_base_info_legalpersonidcardno}
${printing_packaging_factory_base_info_legalpersonidcardno} = autotest_legalpersonidcardno
Uses the cell name to return the data from that cell.
base_info
H2
${printing_packaging_factory_base_info_locprovinceid}
${printing_packaging_factory_base_info_locprovinceid} = 440000
Uses the cell name to return the data from that cell.
base_info
I2
${printing_packaging_factory_base_info_loccityid}
${printing_packaging_factory_base_info_loccityid} = 440100
Uses the cell name to return the data from that cell.
base_info
J2
${printing_packaging_factory_base_info_locdistrictid}
${printing_packaging_factory_base_info_locdistrictid} = 440106
Uses the cell name to return the data from that cell.
base_info
K2
${printing_packaging_factory_base_info_locstreetid}
${printing_packaging_factory_base_info_locstreetid} = 440106003
Uses the cell name to return the data from that cell.
base_info
L2
${printing_packaging_factory_base_info_locprovincename}
${printing_packaging_factory_base_info_locprovincename} = 广东省
Uses the cell name to return the data from that cell.
base_info
M2
${printing_packaging_factory_base_info_loccityname}
${printing_packaging_factory_base_info_loccityname} = 广州市
Uses the cell name to return the data from that cell.
base_info
N2
${printing_packaging_factory_base_info_locdistrictname}
${printing_packaging_factory_base_info_locdistrictname} = 天河区
Uses the cell name to return the data from that cell.
base_info
O2
${printing_packaging_factory_base_info_locstreetname}
${printing_packaging_factory_base_info_locstreetname} = 车陂街道
Uses the cell name to return the data from that cell.
base_info
P2
${printing_packaging_factory_base_info_legalpersonmobile}
${printing_packaging_factory_base_info_legalpersonmobile} = 13800138000
Uses the cell name to return the data from that cell.
base_info
Q2
${printing_packaging_factory_base_info_businessLicense}
${printing_packaging_factory_base_info_businessLicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
base_info
R2
${printing_packaging_factory_base_info_legalPersonIdCardBack}
${printing_packaging_factory_base_info_legalPersonIdCardBack} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
base_info
S2
${printing_packaging_factory_base_info_legalPersonIdCardFront}
${printing_packaging_factory_base_info_legalPersonIdCardFront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_name}
${printing_packaging_factory_base_info_name} = autotest_printing_packaging_factory_name
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_type}
${printing_packaging_factory_base_info_type} = 2
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_shortname}
${printing_packaging_factory_base_info_shortname} = autotest_shortname
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_uniformsocialcreditcode}
${printing_packaging_factory_base_info_uniformsocialcreditcode} = autotest_91440101MA59F2J10M
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_locdetail}
${printing_packaging_factory_base_info_locdetail} = autotest_printing_packaging_factory_locdetail
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_legalpersonname}
${printing_packaging_factory_base_info_legalpersonname} = autotest_legalperson
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_legalpersonidcardno}
${printing_packaging_factory_base_info_legalpersonidcardno} = autotest_legalpersonidcardno
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_locprovinceid}
${printing_packaging_factory_base_info_locprovinceid} = 440000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_loccityid}
${printing_packaging_factory_base_info_loccityid} = 440100
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_locdistrictid}
${printing_packaging_factory_base_info_locdistrictid} = 440106
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_locstreetid}
${printing_packaging_factory_base_info_locstreetid} = 440106003
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_locprovincename}
${printing_packaging_factory_base_info_locprovincename} = 广东省
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_loccityname}
${printing_packaging_factory_base_info_loccityname} = 广州市
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_locdistrictname}
${printing_packaging_factory_base_info_locdistrictname} = 天河区
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_locstreetname}
${printing_packaging_factory_base_info_locstreetname} = 车陂街道
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_legalpersonmobile}
${printing_packaging_factory_base_info_legalpersonmobile} = 13800138000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_businessLicense}
${printing_packaging_factory_base_info_businessLicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_legalPersonIdCardBack}
${printing_packaging_factory_base_info_legalPersonIdCardBack} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_base_info_legalPersonIdCardFront}
${printing_packaging_factory_base_info_legalPersonIdCardFront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
factory_info
A2
${printing_packaging_factory_factory_locdetail}
${printing_packaging_factory_factory_locdetail} = autotest_printing_packaging_factory_locdetail
Uses the cell name to return the data from that cell.
factory_info
B2
${printing_packaging_factory_factory_locprovinceid}
${printing_packaging_factory_factory_locprovinceid} = 440000
Uses the cell name to return the data from that cell.
factory_info
C2
${printing_packaging_factory_factory_loccityid}
${printing_packaging_factory_factory_loccityid} = 440100
Uses the cell name to return the data from that cell.
factory_info
D2
${printing_packaging_factory_factory_locdistrictid}
${printing_packaging_factory_factory_locdistrictid} = 440106
Uses the cell name to return the data from that cell.
factory_info
E2
${printing_packaging_factory_factory_locstreetid}
${printing_packaging_factory_factory_locstreetid} = 440106003
Uses the cell name to return the data from that cell.
factory_info
F2
${printing_packaging_factory_factory_locprovincename}
${printing_packaging_factory_factory_locprovincename} = 广东省
Uses the cell name to return the data from that cell.
factory_info
G2
${printing_packaging_factory_factory_loccityname}
${printing_packaging_factory_factory_loccityname} = 广州市
Uses the cell name to return the data from that cell.
factory_info
H2
${printing_packaging_factory_factory_locdistrictname}
${printing_packaging_factory_factory_locdistrictname} = 天河区
Uses the cell name to return the data from that cell.
factory_info
I2
${printing_packaging_factory_factory_locstreetname}
${printing_packaging_factory_factory_locstreetname} = 车陂街道
Uses the cell name to return the data from that cell.
factory_info
J2
${printing_packaging_factory_factory_factoryphotos}
${printing_packaging_factory_factory_factoryphotos} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
factory_info
K2
${printing_packaging_factory_factory_leasecontract}
${printing_packaging_factory_factory_leasecontract} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
factory_info
L2
${printing_packaging_factory_factory_mainproducts}
${printing_packaging_factory_factory_mainproducts} = autotest_mainproducts
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_locdetail}
${printing_packaging_factory_factory_locdetail} = autotest_printing_packaging_factory_locdetail
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_locprovinceid}
${printing_packaging_factory_factory_locprovinceid} = 440000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_loccityid}
${printing_packaging_factory_factory_loccityid} = 440100
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_locdistrictid}
${printing_packaging_factory_factory_locdistrictid} = 440106
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_locstreetid}
${printing_packaging_factory_factory_locstreetid} = 440106003
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_locprovincename}
${printing_packaging_factory_factory_locprovincename} = 广东省
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_loccityname}
${printing_packaging_factory_factory_loccityname} = 广州市
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_locdistrictname}
${printing_packaging_factory_factory_locdistrictname} = 天河区
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_locstreetname}
${printing_packaging_factory_factory_locstreetname} = 车陂街道
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_factoryphotos}
${printing_packaging_factory_factory_factoryphotos} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_leasecontract}
${printing_packaging_factory_factory_leasecontract} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_factory_mainproducts}
${printing_packaging_factory_factory_mainproducts} = autotest_mainproducts
Uses the cell name to return the data from that cell.
shipping_addresses
A2
${printing_packaging_factory_shipping_addresses_detail}
${printing_packaging_factory_shipping_addresses_detail} = autotest_printing_packaging_factory_locdetail
Uses the cell name to return the data from that cell.
shipping_addresses
B2
${printing_packaging_factory_shipping_addresses_provinceid}
${printing_packaging_factory_shipping_addresses_provinceid} = 440000
Uses the cell name to return the data from that cell.
shipping_addresses
C2
${printing_packaging_factory_shipping_addresses_cityid}
${printing_packaging_factory_shipping_addresses_cityid} = 440100
Uses the cell name to return the data from that cell.
shipping_addresses
D2
${printing_packaging_factory_shipping_addresses_districtid}
${printing_packaging_factory_shipping_addresses_districtid} = 440106
Uses the cell name to return the data from that cell.
shipping_addresses
E2
${printing_packaging_factory_shipping_addresses_streetid}
${printing_packaging_factory_shipping_addresses_streetid} = 440106003
Uses the cell name to return the data from that cell.
shipping_addresses
F2
${printing_packaging_factory_shipping_addresses_provincename}
${printing_packaging_factory_shipping_addresses_provincename} = 广东省
Uses the cell name to return the data from that cell.
shipping_addresses
G2
${printing_packaging_factory_shipping_addresses_cityname}
${printing_packaging_factory_shipping_addresses_cityname} = 广州市
Uses the cell name to return the data from that cell.
shipping_addresses
H2
${printing_packaging_factory_shipping_addresses_districtname}
${printing_packaging_factory_shipping_addresses_districtname} = 天河区
Uses the cell name to return the data from that cell.
shipping_addresses
I2
${printing_packaging_factory_shipping_addresses_streetname}
${printing_packaging_factory_shipping_addresses_streetname} = 车陂街道
Uses the cell name to return the data from that cell.
shipping_addresses
J2
${printing_packaging_factory_shipping_addresses_receiver}
${printing_packaging_factory_shipping_addresses_receiver} = autotest_receiver
Uses the cell name to return the data from that cell.
shipping_addresses
K2
${printing_packaging_factory_shipping_addresses_receivermobile}
${printing_packaging_factory_shipping_addresses_receivermobile} = 13800138000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_detail}
${printing_packaging_factory_shipping_addresses_detail} = autotest_printing_packaging_factory_locdetail
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_provinceid}
${printing_packaging_factory_shipping_addresses_provinceid} = 440000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_cityid}
${printing_packaging_factory_shipping_addresses_cityid} = 440100
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_districtid}
${printing_packaging_factory_shipping_addresses_districtid} = 440106
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_streetid}
${printing_packaging_factory_shipping_addresses_streetid} = 440106003
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_provincename}
${printing_packaging_factory_shipping_addresses_provincename} = 广东省
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_cityname}
${printing_packaging_factory_shipping_addresses_cityname} = 广州市
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_districtname}
${printing_packaging_factory_shipping_addresses_districtname} = 天河区
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_streetname}
${printing_packaging_factory_shipping_addresses_streetname} = 车陂街道
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_receiver}
${printing_packaging_factory_shipping_addresses_receiver} = autotest_receiver
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_shipping_addresses_receivermobile}
${printing_packaging_factory_shipping_addresses_receivermobile} = 13800138000
Uses the cell name to return the data from that cell.
scrap_paper_credit
A2
${printing_packaging_factory_scrappaper_credit_deposit}
${printing_packaging_factory_scrappaper_credit_deposit} = 990000
Uses the cell name to return the data from that cell.
scrap_paper_credit
B2
${printing_packaging_factory_scrappaper_credit_earnest}
${printing_packaging_factory_scrappaper_credit_earnest} = 900000
Uses the cell name to return the data from that cell.
scrap_paper_credit
C2
${printing_packaging_factory_scrappaper_credit_totalUsed}
${printing_packaging_factory_scrappaper_credit_totalUsed} = 90000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_scrappaper_credit_deposit}
${printing_packaging_factory_scrappaper_credit_deposit} = 990000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_scrappaper_credit_earnest}
${printing_packaging_factory_scrappaper_credit_earnest} = 900000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_scrappaper_credit_totalUsed}
${printing_packaging_factory_scrappaper_credit_totalUsed} = 90000
Uses the cell name to return the data from that cell.
private_account
A2
${printing_packaging_factory_private_account_cardholdername}
${printing_packaging_factory_private_account_cardholdername} = autotest_name
Uses the cell name to return the data from that cell.
private_account
B2
${printing_packaging_factory_private_account_bankcardnumber}
${printing_packaging_factory_private_account_bankcardnumber} = autotest_bankcardnumber
Uses the cell name to return the data from that cell.
private_account
C2
${printing_packaging_factory_private_account_openingbank}
${printing_packaging_factory_private_account_openingbank} = autotest_openingbank
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_private_account_cardholdername}
${printing_packaging_factory_private_account_cardholdername} = autotest_name
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_private_account_bankcardnumber}
${printing_packaging_factory_private_account_bankcardnumber} = autotest_bankcardnumber
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_private_account_openingbank}
${printing_packaging_factory_private_account_openingbank} = autotest_openingbank
Uses the cell name to return the data from that cell.
administrator
A2
${printing_packaging_factory_administrator_realname}
${printing_packaging_factory_administrator_realname} = autotest_name_customer
Uses the cell name to return the data from that cell.
administrator
B2
${printing_packaging_factory_administrator_title}
${printing_packaging_factory_administrator_title} = autotest_job_customer
Uses the cell name to return the data from that cell.
administrator
C2
${printing_packaging_factory_administrator_mobile}
${printing_packaging_factory_administrator_mobile} = 13012345678
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_administrator_realname}
${printing_packaging_factory_administrator_realname} = autotest_name_customer
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_administrator_title}
${printing_packaging_factory_administrator_title} = autotest_job_customer
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_administrator_mobile}
${printing_packaging_factory_administrator_mobile} = 13012345678
Uses the cell name to return the data from that cell.
add_employee
A2
${printing_packaging_factory_employee_position}
${printing_packaging_factory_employee_position} = ADMINISTRATOR
Uses the cell name to return the data from that cell.
add_employee
B2
${printing_packaging_factory_employee_realname}
${printing_packaging_factory_employee_realname} = autotest_employee
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_employee_position}
${printing_packaging_factory_employee_position} = ADMINISTRATOR
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_employee_realname}
${printing_packaging_factory_employee_realname} = autotest_employee
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/004_open_account_supplier_paper.xls
Uses the cell name to return the data from that cell.
virtual_supplier
A2
${virtual_supplier_name}
${virtual_supplier_name} = autotest_supplier_paper_name
Uses the cell name to return the data from that cell.
virtual_supplier
B2
${virtual_supplier_shortName}
${virtual_supplier_shortName} = autotest_supplier_shortName
Uses the cell name to return the data from that cell.
virtual_supplier
C2
${virtual_supplier_details}
${virtual_supplier_details} = autotest_supplier_paper_details
Uses the cell name to return the data from that cell.
virtual_supplier
D2
${virtual_supplier_contactname}
${virtual_supplier_contactname} = autotest_supplier_paper_contactname
Uses the cell name to return the data from that cell.
virtual_supplier
E2
${virtual_supplier_contactmoblie}
${virtual_supplier_contactmoblie} = 13800138000
Uses the cell name to return the data from that cell.
virtual_supplier
F2
${virtual_supplier_provinceid}
${virtual_supplier_provinceid} = 440000
Uses the cell name to return the data from that cell.
virtual_supplier
G2
${virtual_supplier_cityid}
${virtual_supplier_cityid} = 440100
Uses the cell name to return the data from that cell.
virtual_supplier
H2
${virtual_supplier_districtid}
${virtual_supplier_districtid} = 440106
Uses the cell name to return the data from that cell.
virtual_supplier
I2
${virtual_supplier_streetid}
${virtual_supplier_streetid} = 440106003
Uses the cell name to return the data from that cell.
virtual_supplier
J2
${virtual_supplier_provincename}
${virtual_supplier_provincename} = 广东省
Uses the cell name to return the data from that cell.
virtual_supplier
K2
${virtual_supplier_cityname}
${virtual_supplier_cityname} = 广州市
Uses the cell name to return the data from that cell.
virtual_supplier
L2
${virtual_supplier_districtname}
${virtual_supplier_districtname} = 天河区
Uses the cell name to return the data from that cell.
virtual_supplier
M2
${virtual_supplier_streetname}
${virtual_supplier_streetname} = 车陂街道
Makes a variable available globally in all tests and suites.
${virtual_supplier_name}
${virtual_supplier_name} = autotest_supplier_paper_name
Makes a variable available globally in all tests and suites.
${virtual_supplier_shortName}
${virtual_supplier_shortName} = autotest_supplier_shortName
Makes a variable available globally in all tests and suites.
${virtual_supplier_details}
${virtual_supplier_details} = autotest_supplier_paper_details
Makes a variable available globally in all tests and suites.
${virtual_supplier_contactname}
${virtual_supplier_contactname} = autotest_supplier_paper_contactname
Makes a variable available globally in all tests and suites.
${virtual_supplier_contactmoblie}
${virtual_supplier_contactmoblie} = 13800138000
Makes a variable available globally in all tests and suites.
${virtual_supplier_provinceid}
${virtual_supplier_provinceid} = 440000
Makes a variable available globally in all tests and suites.
${virtual_supplier_cityid}
${virtual_supplier_cityid} = 440100
Makes a variable available globally in all tests and suites.
${virtual_supplier_districtid}
${virtual_supplier_districtid} = 440106
Makes a variable available globally in all tests and suites.
${virtual_supplier_streetid}
${virtual_supplier_streetid} = 440106003
Makes a variable available globally in all tests and suites.
${virtual_supplier_provincename}
${virtual_supplier_provincename} = 广东省
Makes a variable available globally in all tests and suites.
${virtual_supplier_cityname}
${virtual_supplier_cityname} = 广州市
Makes a variable available globally in all tests and suites.
${virtual_supplier_districtname}
${virtual_supplier_districtname} = 天河区
Makes a variable available globally in all tests and suites.
${virtual_supplier_streetname}
${virtual_supplier_streetname} = 车陂街道
Uses the cell name to return the data from that cell.
open_account
A2
${supplier_paper_name}
${supplier_paper_name} = autotest_supplier_paper_name
Uses the cell name to return the data from that cell.
open_account
B2
${supplier_paper_type}
${supplier_paper_type} = 5
Uses the cell name to return the data from that cell.
open_account
C2
${supplier_paper_uniformSocialCreditCode}
${supplier_paper_uniformSocialCreditCode} = autotest91440101MA59F2J10M
Uses the cell name to return the data from that cell.
open_account
D2
${supplier_paper_legalPersonName}
${supplier_paper_legalPersonName} = autotest_legalperson
Uses the cell name to return the data from that cell.
open_account
E2
${supplier_paper_legalPersonIdCardNo}
${supplier_paper_legalPersonIdCardNo} = autotest_legalpersonidcardno
Uses the cell name to return the data from that cell.
open_account
F2
${supplier_paper_paperSettlementIntervalTypeId}
${supplier_paper_paperSettlementIntervalTypeId} = 1
Uses the cell name to return the data from that cell.
open_account
G2
${supplier_paper_locProvinceId}
${supplier_paper_locProvinceId} = 440000
Uses the cell name to return the data from that cell.
open_account
H2
${supplier_paper_locCityId}
${supplier_paper_locCityId} = 440100
Uses the cell name to return the data from that cell.
open_account
I2
${supplier_paper_locDistrictId}
${supplier_paper_locDistrictId} = 440106
Uses the cell name to return the data from that cell.
open_account
J2
${supplier_paper_locStreetId}
${supplier_paper_locStreetId} = 440106003
Uses the cell name to return the data from that cell.
open_account
K2
${supplier_paper_locDetail}
${supplier_paper_locDetail} = autotest_supplier_paper_details
Uses the cell name to return the data from that cell.
open_account
L2
${supplier_paper_legalPersonIdCardFrontImg}
${supplier_paper_legalPersonIdCardFrontImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
open_account
M2
${supplier_paper_legalPersonIdCardBackImg}
${supplier_paper_legalPersonIdCardBackImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
open_account
N2
${supplier_paper_businessLicenseImg}
${supplier_paper_businessLicenseImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
open_account
O2
${supplier_paper_contactsname}
${supplier_paper_contactsname} = autotest_contactsname
Uses the cell name to return the data from that cell.
open_account
P2
${supplier_paper_mobilePhone}
${supplier_paper_mobilePhone} = autotest_mobilePhone
Uses the cell name to return the data from that cell.
open_account
Q2
${supplier_paper_telephone}
${supplier_paper_telephone} = autotest_telephone
Uses the cell name to return the data from that cell.
open_account
R2
${supplier_paper_email}
${supplier_paper_email} = autotest_email
Uses the cell name to return the data from that cell.
open_account
S2
${supplier_paper_wechatAccount}
${supplier_paper_wechatAccount} = autotest_wechatAccount
Uses the cell name to return the data from that cell.
open_account
T2
${supplier_paper_remark}
${supplier_paper_remark} = autotest_remark
Uses the cell name to return the data from that cell.
open_account
U2
${supplier_paper_bankAccountName}
${supplier_paper_bankAccountName} = autotest_bankAccountName
Uses the cell name to return the data from that cell.
open_account
V2
${supplier_paper_bankAccount}
${supplier_paper_bankAccount} = autotest_bankAccount
Uses the cell name to return the data from that cell.
open_account
W2
${supplier_paper_bankName}
${supplier_paper_bankName} = autotest_bankName
Uses the cell name to return the data from that cell.
open_account
X2
${supplier_paper_accountOpeningBranch}
${supplier_paper_accountOpeningBranch} = autotest_accountOpeningBranch
Uses the cell name to return the data from that cell.
open_account
Y2
${supplier_paper_locationBank}
${supplier_paper_locationBank} = autotest_locationBank
Makes a variable available globally in all tests and suites.
${supplier_paper_name}
${supplier_paper_name} = autotest_supplier_paper_name
Makes a variable available globally in all tests and suites.
${supplier_paper_type}
${supplier_paper_type} = 5
Makes a variable available globally in all tests and suites.
${supplier_paper_uniformSocialCreditCode}
${supplier_paper_uniformSocialCreditCode} = autotest91440101MA59F2J10M
Makes a variable available globally in all tests and suites.
${supplier_paper_legalPersonName}
${supplier_paper_legalPersonName} = autotest_legalperson
Makes a variable available globally in all tests and suites.
${supplier_paper_legalPersonIdCardNo}
${supplier_paper_legalPersonIdCardNo} = autotest_legalpersonidcardno
Makes a variable available globally in all tests and suites.
${supplier_paper_paperSettlementIntervalTypeId}
${supplier_paper_paperSettlementIntervalTypeId} = 1
Makes a variable available globally in all tests and suites.
${supplier_paper_locProvinceId}
${supplier_paper_locProvinceId} = 440000
Makes a variable available globally in all tests and suites.
${supplier_paper_locCityId}
${supplier_paper_locCityId} = 440100
Makes a variable available globally in all tests and suites.
${supplier_paper_locDistrictId}
${supplier_paper_locDistrictId} = 440106
Makes a variable available globally in all tests and suites.
${supplier_paper_locStreetId}
${supplier_paper_locStreetId} = 440106003
Makes a variable available globally in all tests and suites.
${supplier_paper_locDetail}
${supplier_paper_locDetail} = autotest_supplier_paper_details
Makes a variable available globally in all tests and suites.
${supplier_paper_legalPersonIdCardFrontImg}
${supplier_paper_legalPersonIdCardFrontImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_paper_legalPersonIdCardBackImg}
${supplier_paper_legalPersonIdCardBackImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_paper_businessLicenseImg}
${supplier_paper_businessLicenseImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_paper_contactsname}
${supplier_paper_contactsname} = autotest_contactsname
Makes a variable available globally in all tests and suites.
${supplier_paper_mobilePhone}
${supplier_paper_mobilePhone} = autotest_mobilePhone
Makes a variable available globally in all tests and suites.
${supplier_paper_telephone}
${supplier_paper_telephone} = autotest_telephone
Makes a variable available globally in all tests and suites.
${supplier_paper_email}
${supplier_paper_email} = autotest_email
Makes a variable available globally in all tests and suites.
${supplier_paper_wechatAccount}
${supplier_paper_wechatAccount} = autotest_wechatAccount
Makes a variable available globally in all tests and suites.
${supplier_paper_remark}
${supplier_paper_remark} = autotest_remark
Makes a variable available globally in all tests and suites.
${supplier_paper_bankAccountName}
${supplier_paper_bankAccountName} = autotest_bankAccountName
Makes a variable available globally in all tests and suites.
${supplier_paper_bankAccount}
${supplier_paper_bankAccount} = autotest_bankAccount
Makes a variable available globally in all tests and suites.
${supplier_paper_bankName}
${supplier_paper_bankName} = autotest_bankName
Makes a variable available globally in all tests and suites.
${supplier_paper_accountOpeningBranch}
${supplier_paper_accountOpeningBranch} = autotest_accountOpeningBranch
Makes a variable available globally in all tests and suites.
${supplier_paper_locationBank}
${supplier_paper_locationBank} = autotest_locationBank
Uses the cell name to return the data from that cell.
base_info
A2
${supplier_paper_base_info_name}
${supplier_paper_base_info_name} = autotest_supplier_paper_name
Uses the cell name to return the data from that cell.
base_info
B2
${supplier_paper_base_info_shortName}
${supplier_paper_base_info_shortName} = autotest_shortName
Uses the cell name to return the data from that cell.
base_info
C2
${supplier_paper_base_info_type}
${supplier_paper_base_info_type} = 5
Uses the cell name to return the data from that cell.
base_info
D2
${supplier_paper_base_info_uniformSocialCreditCode}
${supplier_paper_base_info_uniformSocialCreditCode} = autotest91440101MA59F2J10M
Uses the cell name to return the data from that cell.
base_info
E2
${supplier_paper_base_info_legalPersonName}
${supplier_paper_base_info_legalPersonName} = autotest_legalperson
Uses the cell name to return the data from that cell.
base_info
F2
${supplier_paper_base_info_legalPersonIdCardNo}
${supplier_paper_base_info_legalPersonIdCardNo} = autotest_legalpersonidcardno
Uses the cell name to return the data from that cell.
base_info
G2
${supplier_paper_base_info_legalPersonMobile}
${supplier_paper_base_info_legalPersonMobile} = 13800138000
Uses the cell name to return the data from that cell.
base_info
H2
${supplier_paper_base_info_paperSettlementIntervalTypeId}
${supplier_paper_base_info_paperSettlementIntervalTypeId} = 1
Uses the cell name to return the data from that cell.
base_info
I2
${supplier_paper_base_info_locProvinceId}
${supplier_paper_base_info_locProvinceId} = 440000
Uses the cell name to return the data from that cell.
base_info
J2
${supplier_paper_base_info_locCityId}
${supplier_paper_base_info_locCityId} = 440100
Uses the cell name to return the data from that cell.
base_info
K2
${supplier_paper_base_info_locDistrictId}
${supplier_paper_base_info_locDistrictId} = 440106
Uses the cell name to return the data from that cell.
base_info
L2
${supplier_paper_base_info_locStreetId}
${supplier_paper_base_info_locStreetId} = 440106003
Uses the cell name to return the data from that cell.
base_info
M2
${supplier_paper_base_info_locprovincename}
${supplier_paper_base_info_locprovincename} = 广东省
Uses the cell name to return the data from that cell.
base_info
N2
${supplier_paper_base_info_loccityname}
${supplier_paper_base_info_loccityname} = 广州市
Uses the cell name to return the data from that cell.
base_info
O2
${supplier_paper_base_info_locdistrictname}
${supplier_paper_base_info_locdistrictname} = 天河区
Uses the cell name to return the data from that cell.
base_info
P2
${supplier_paper_base_info_locstreetname}
${supplier_paper_base_info_locstreetname} = 车陂街道
Uses the cell name to return the data from that cell.
base_info
Q2
${supplier_paper_base_info_locDetail}
${supplier_paper_base_info_locDetail} = autotest_supplier_paper_details
Uses the cell name to return the data from that cell.
base_info
R2
${supplier_paper_base_info_legalPersonIdCardFrontImg}
${supplier_paper_base_info_legalPersonIdCardFrontImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
base_info
S2
${supplier_paper_base_info_legalPersonIdCardBackImg}
${supplier_paper_base_info_legalPersonIdCardBackImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
base_info
T2
${supplier_paper_base_info_businessLicenseImg}
${supplier_paper_base_info_businessLicenseImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_name}
${supplier_paper_base_info_name} = autotest_supplier_paper_name
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_shortName}
${supplier_paper_base_info_shortName} = autotest_shortName
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_type}
${supplier_paper_base_info_type} = 5
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_uniformSocialCreditCode}
${supplier_paper_base_info_uniformSocialCreditCode} = autotest91440101MA59F2J10M
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_legalPersonName}
${supplier_paper_base_info_legalPersonName} = autotest_legalperson
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_legalPersonIdCardNo}
${supplier_paper_base_info_legalPersonIdCardNo} = autotest_legalpersonidcardno
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_legalPersonMobile}
${supplier_paper_base_info_legalPersonMobile} = 13800138000
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_paperSettlementIntervalTypeId}
${supplier_paper_base_info_paperSettlementIntervalTypeId} = 1
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_locProvinceId}
${supplier_paper_base_info_locProvinceId} = 440000
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_locCityId}
${supplier_paper_base_info_locCityId} = 440100
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_locDistrictId}
${supplier_paper_base_info_locDistrictId} = 440106
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_locStreetId}
${supplier_paper_base_info_locStreetId} = 440106003
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_locprovincename}
${supplier_paper_base_info_locprovincename} = 广东省
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_loccityname}
${supplier_paper_base_info_loccityname} = 广州市
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_locdistrictname}
${supplier_paper_base_info_locdistrictname} = 天河区
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_locstreetname}
${supplier_paper_base_info_locstreetname} = 车陂街道
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_locDetail}
${supplier_paper_base_info_locDetail} = autotest_supplier_paper_details
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_legalPersonIdCardFrontImg}
${supplier_paper_base_info_legalPersonIdCardFrontImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_legalPersonIdCardBackImg}
${supplier_paper_base_info_legalPersonIdCardBackImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_paper_base_info_businessLicenseImg}
${supplier_paper_base_info_businessLicenseImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
factory_info
A2
${supplier_factory_locProvinceId}
${supplier_factory_locProvinceId} = 440000
Uses the cell name to return the data from that cell.
factory_info
B2
${supplier_factory_locCityId}
${supplier_factory_locCityId} = 440100
Uses the cell name to return the data from that cell.
factory_info
C2
${supplier_factory_locDistrictId}
${supplier_factory_locDistrictId} = 440106
Uses the cell name to return the data from that cell.
factory_info
D2
${supplier_factory_locStreetId}
${supplier_factory_locStreetId} = 440106003
Uses the cell name to return the data from that cell.
factory_info
E2
${supplier_factory_locprovincename}
${supplier_factory_locprovincename} = 广东省
Uses the cell name to return the data from that cell.
factory_info
F2
${supplier_factory_loccityname}
${supplier_factory_loccityname} = 广州市
Uses the cell name to return the data from that cell.
factory_info
G2
${supplier_factory_locdistrictname}
${supplier_factory_locdistrictname} = 天河区
Uses the cell name to return the data from that cell.
factory_info
H2
${supplier_factory_locstreetname}
${supplier_factory_locstreetname} = 车陂街道
Uses the cell name to return the data from that cell.
factory_info
I2
${supplier_factory_locDetail}
${supplier_factory_locDetail} = autotest_supplier_factory_details
Uses the cell name to return the data from that cell.
factory_info
J2
${supplier_factory_leaseContractImg}
${supplier_factory_leaseContractImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
factory_info
K2
${supplier_factory_factoryPhotos}
${supplier_factory_factoryPhotos} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_factory_locProvinceId}
${supplier_factory_locProvinceId} = 440000
Makes a variable available globally in all tests and suites.
${supplier_factory_locCityId}
${supplier_factory_locCityId} = 440100
Makes a variable available globally in all tests and suites.
${supplier_factory_locDistrictId}
${supplier_factory_locDistrictId} = 440106
Makes a variable available globally in all tests and suites.
${supplier_factory_locStreetId}
${supplier_factory_locStreetId} = 440106003
Makes a variable available globally in all tests and suites.
${supplier_factory_locprovincename}
${supplier_factory_locprovincename} = 广东省
Makes a variable available globally in all tests and suites.
${supplier_factory_loccityname}
${supplier_factory_loccityname} = 广州市
Makes a variable available globally in all tests and suites.
${supplier_factory_locdistrictname}
${supplier_factory_locdistrictname} = 天河区
Makes a variable available globally in all tests and suites.
${supplier_factory_locstreetname}
${supplier_factory_locstreetname} = 车陂街道
Makes a variable available globally in all tests and suites.
${supplier_factory_locDetail}
${supplier_factory_locDetail} = autotest_supplier_factory_details
Makes a variable available globally in all tests and suites.
${supplier_factory_leaseContractImg}
${supplier_factory_leaseContractImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${supplier_factory_factoryPhotos}
${supplier_factory_factoryPhotos} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
private_account
A2
${supplier_private_account_cardholderName}
${supplier_private_account_cardholderName} = autotest_cardholder
Uses the cell name to return the data from that cell.
private_account
B2
${supplier_private_account_bankCardNumber}
${supplier_private_account_bankCardNumber} = autotest_bankcardnumber
Uses the cell name to return the data from that cell.
private_account
C2
${supplier_private_account_openingBank}
${supplier_private_account_openingBank} = autotest_openingbank
Makes a variable available globally in all tests and suites.
${supplier_private_account_cardholderName}
${supplier_private_account_cardholderName} = autotest_cardholder
Makes a variable available globally in all tests and suites.
${supplier_private_account_bankCardNumber}
${supplier_private_account_bankCardNumber} = autotest_bankcardnumber
Makes a variable available globally in all tests and suites.
${supplier_private_account_openingBank}
${supplier_private_account_openingBank} = autotest_openingbank
Uses the cell name to return the data from that cell.
add_pc_machine
A2
${supplier_machine_name}
${supplier_machine_name} = autotest_supplier_machine_name
Uses the cell name to return the data from that cell.
add_pc_machine
B2
${supplier_machineType}
${supplier_machineType} = 10
Makes a variable available globally in all tests and suites.
${supplier_machine_name}
${supplier_machine_name} = autotest_supplier_machine_name
Makes a variable available globally in all tests and suites.
${supplier_machineType}
${supplier_machineType} = 10
Uses the cell name to return the data from that cell.
administrator
A2
${supplier_enterprise_administrator_realname}
${supplier_enterprise_administrator_realname} = autotest_name_supplier
Uses the cell name to return the data from that cell.
administrator
B2
${supplier_enterprise_administrator_mobile}
${supplier_enterprise_administrator_mobile} = 13123456789
Uses the cell name to return the data from that cell.
administrator
C2
${supplier_enterprise_administrator_position}
${supplier_enterprise_administrator_position} = ADMINISTRATOR
Makes a variable available globally in all tests and suites.
${supplier_enterprise_administrator_realname}
${supplier_enterprise_administrator_realname} = autotest_name_supplier
Makes a variable available globally in all tests and suites.
${supplier_enterprise_administrator_mobile}
${supplier_enterprise_administrator_mobile} = 13123456789
Makes a variable available globally in all tests and suites.
${supplier_enterprise_administrator_position}
${supplier_enterprise_administrator_position} = ADMINISTRATOR
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/005_credit_qniao_customer.xls
Uses the cell name to return the data from that cell.
credit_qniao_save
A2
${printing_packaging_factory_credit_qniao_save_type}
${printing_packaging_factory_credit_qniao_save_type} = 2
Uses the cell name to return the data from that cell.
credit_qniao_save
B2
${printing_packaging_factory_credit_qniao_save_purpose}
${printing_packaging_factory_credit_qniao_save_purpose} = 1
Uses the cell name to return the data from that cell.
credit_qniao_save
C2
${printing_packaging_factory_credit_qniao_save_creditLine}
${printing_packaging_factory_credit_qniao_save_creditLine} = 990000
Uses the cell name to return the data from that cell.
credit_qniao_save
D2
${printing_packaging_factory_credit_qniao_save_paperSettlementIntervalTypeId}
${printing_packaging_factory_credit_qniao_save_paperSettlementIntervalTypeId} = 11
Uses the cell name to return the data from that cell.
credit_qniao_save
E2
${printing_packaging_factory_credit_qniao_save_remark}
${printing_packaging_factory_credit_qniao_save_remark} = autotest_remark
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_save_type}
${printing_packaging_factory_credit_qniao_save_type} = 2
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_save_purpose}
${printing_packaging_factory_credit_qniao_save_purpose} = 1
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_save_creditLine}
${printing_packaging_factory_credit_qniao_save_creditLine} = 990000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_save_paperSettlementIntervalTypeId}
${printing_packaging_factory_credit_qniao_save_paperSettlementIntervalTypeId} = 11
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_save_remark}
${printing_packaging_factory_credit_qniao_save_remark} = autotest_remark
Uses the cell name to return the data from that cell.
credit_qniao_edit
A2
${printing_packaging_factory_credit_qniao_edit_type}
${printing_packaging_factory_credit_qniao_edit_type} = 2
Uses the cell name to return the data from that cell.
credit_qniao_edit
B2
${printing_packaging_factory_credit_qniao_edit_purpose}
${printing_packaging_factory_credit_qniao_edit_purpose} = 1
Uses the cell name to return the data from that cell.
credit_qniao_edit
C2
${printing_packaging_factory_credit_qniao_edit_creditLine}
${printing_packaging_factory_credit_qniao_edit_creditLine} = 990000
Uses the cell name to return the data from that cell.
credit_qniao_edit
D2
${printing_packaging_factory_credit_qniao_edit_paperSettlementIntervalTypeId}
${printing_packaging_factory_credit_qniao_edit_paperSettlementIntervalTypeId} = 11
Uses the cell name to return the data from that cell.
credit_qniao_edit
E2
${printing_packaging_factory_credit_qniao_edit_remark}
${printing_packaging_factory_credit_qniao_edit_remark} = autotest_remark
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_edit_type}
${printing_packaging_factory_credit_qniao_edit_type} = 2
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_edit_purpose}
${printing_packaging_factory_credit_qniao_edit_purpose} = 1
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_edit_creditLine}
${printing_packaging_factory_credit_qniao_edit_creditLine} = 990000
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_edit_paperSettlementIntervalTypeId}
${printing_packaging_factory_credit_qniao_edit_paperSettlementIntervalTypeId} = 11
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_credit_qniao_edit_remark}
${printing_packaging_factory_credit_qniao_edit_remark} = autotest_remark
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/006_credit_password.xls
Uses the cell name to return the data from that cell.
credit_password_save
A2
${customer_credit_password}
${customer_credit_password} = 123456
Uses the cell name to return the data from that cell.
credit_password_save
B2
${save_creditpassword_type}
${save_creditpassword_type} = 0
Makes a variable available globally in all tests and suites.
${customer_credit_password}
${customer_credit_password} = 123456
Makes a variable available globally in all tests and suites.
${save_creditpassword_type}
${save_creditpassword_type} = 0
Uses the cell name to return the data from that cell.
credit_password_edit
A2
${customer_credit_password_new}
${customer_credit_password_new} = 123456
Uses the cell name to return the data from that cell.
credit_password_edit
B2
${save_creditpassword_type_new}
${save_creditpassword_type_new} = 1
Makes a variable available globally in all tests and suites.
${customer_credit_password_new}
${customer_credit_password_new} = 123456
Makes a variable available globally in all tests and suites.
${save_creditpassword_type_new}
${save_creditpassword_type_new} = 1
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/007_paper_variety_management.xls
Uses the cell name to return the data from that cell.
paper_brand
A2
${paper_categoryid}
${paper_categoryid} = 638458876659896320
Uses the cell name to return the data from that cell.
paper_brand
B2
${paper_Manufacturerid}
${paper_Manufacturerid} = 638458967357526016
Uses the cell name to return the data from that cell.
paper_brand
C2
${paper_brand_name}
${paper_brand_name} = aotutest_paper_brand_name
Uses the cell name to return the data from that cell.
paper_brand
D2
${paper_name}
${paper_name} = aotutest_paper_name
Uses the cell name to return the data from that cell.
paper_brand
E2
${paper_characteristic}
${paper_characteristic} = This autotest_paper_characteristic
Uses the cell name to return the data from that cell.
paper_brand
F2
${paper_description}
${paper_description} = This apaper_description
Uses the cell name to return the data from that cell.
paper_brand
G2
${paper_brand_img}
${paper_brand_img} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${paper_categoryid}
${paper_categoryid} = 638458876659896320
Makes a variable available globally in all tests and suites.
${paper_Manufacturerid}
${paper_Manufacturerid} = 638458967357526016
Makes a variable available globally in all tests and suites.
${paper_brand_name}
${paper_brand_name} = aotutest_paper_brand_name
Makes a variable available globally in all tests and suites.
${paper_name}
${paper_name} = aotutest_paper_name
Makes a variable available globally in all tests and suites.
${paper_characteristic}
${paper_characteristic} = This autotest_paper_characteristic
Makes a variable available globally in all tests and suites.
${paper_description}
${paper_description} = This apaper_description
Makes a variable available globally in all tests and suites.
${paper_brand_img}
${paper_brand_img} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Uses the cell name to return the data from that cell.
paper_category
A2
${paper_category_name}
${paper_category_name} = autotest_paper_category_name
Makes a variable available globally in all tests and suites.
${paper_category_name}
${paper_category_name} = autotest_paper_category_name
Uses the cell name to return the data from that cell.
paper_manufacturer
A2
${paper_manufacturer_name}
${paper_manufacturer_name} = autotest_paper_manufacturer_name
Uses the cell name to return the data from that cell.
paper_manufacturer
B2
${paper_manufacturer_shortName}
${paper_manufacturer_shortName} = apmn
Uses the cell name to return the data from that cell.
paper_manufacturer
C2
${paper_manufacturer_description}
${paper_manufacturer_description} = autotest_paper_manufacturer
Uses the cell name to return the data from that cell.
paper_manufacturer
D2
${paper_manufacturer_logoImg}
${paper_manufacturer_logoImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Makes a variable available globally in all tests and suites.
${paper_manufacturer_name}
${paper_manufacturer_name} = autotest_paper_manufacturer_name
Makes a variable available globally in all tests and suites.
${paper_manufacturer_shortName}
${paper_manufacturer_shortName} = apmn
Makes a variable available globally in all tests and suites.
${paper_manufacturer_description}
${paper_manufacturer_description} = autotest_paper_manufacturer
Makes a variable available globally in all tests and suites.
${paper_manufacturer_logoImg}
${paper_manufacturer_logoImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/008_market_information_link.xls
Uses the cell name to return the data from that cell.
link
A2
${market_information_link}
${market_information_link} = http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#we...
Makes a variable available globally in all tests and suites.
${market_information_link}
${market_information_link} = http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#we...
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/009_product_manage.xls
Uses the cell name to return the data from that cell.
product_save
A2
${gramweight}
${gramweight} = 678
Uses the cell name to return the data from that cell.
product_save
B2
${purchasePrice}
${purchasePrice} = 5678
Makes a variable available globally in all tests and suites.
${gramweight}
${gramweight} = 678
Makes a variable available globally in all tests and suites.
${purchasePrice}
${purchasePrice} = 5678
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/012_product_price.xls
Uses the cell name to return the data from that cell.
product_price_update
A2
${product_price_sku_alterType}
${product_price_sku_alterType} = 1
Uses the cell name to return the data from that cell.
product_price_update
B2
${product_price_sku_new}
${product_price_sku_new} = 6789
Makes a variable available globally in all tests and suites.
${product_price_sku_alterType}
${product_price_sku_alterType} = 1
Makes a variable available globally in all tests and suites.
${product_price_sku_new}
${product_price_sku_new} = 6789
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/014_customer_shipping_address.xls
Uses the cell name to return the data from that cell.
shipping_address_save
A2
${customer_enterprise_shipping_address_isDefault}
${customer_enterprise_shipping_address_isDefault} = 1
Uses the cell name to return the data from that cell.
shipping_address_save
B2
${customer_enterprise_shipping_address_receiver}
${customer_enterprise_shipping_address_receiver} = autotest_receiver
Uses the cell name to return the data from that cell.
shipping_address_save
C2
${customer_enterprise_shipping_address_receiverMobile}
${customer_enterprise_shipping_address_receiverMobile} = 13800138000
Uses the cell name to return the data from that cell.
shipping_address_save
D2
${customer_enterprise_shipping_address_detail}
${customer_enterprise_shipping_address_detail} = autotest_customer_enterprise_shipping_address_detail
Uses the cell name to return the data from that cell.
shipping_address_save
E2
${customer_enterprise_shipping_address_provinceid}
${customer_enterprise_shipping_address_provinceid} = 440000
Uses the cell name to return the data from that cell.
shipping_address_save
F2
${customer_enterprise_shipping_address_cityid}
${customer_enterprise_shipping_address_cityid} = 440100
Uses the cell name to return the data from that cell.
shipping_address_save
G2
${customer_enterprise_shipping_address_districtid}
${customer_enterprise_shipping_address_districtid} = 440106
Uses the cell name to return the data from that cell.
shipping_address_save
H2
${customer_enterprise_shipping_address_streetid}
${customer_enterprise_shipping_address_streetid} = 440106003
Uses the cell name to return the data from that cell.
shipping_address_save
I2
${customer_enterprise_shipping_address_provincename}
${customer_enterprise_shipping_address_provincename} = 广东省
Uses the cell name to return the data from that cell.
shipping_address_save
J2
${customer_enterprise_shipping_address_cityname}
${customer_enterprise_shipping_address_cityname} = 广州市
Uses the cell name to return the data from that cell.
shipping_address_save
K2
${customer_enterprise_shipping_address_districtname}
${customer_enterprise_shipping_address_districtname} = 天河区
Uses the cell name to return the data from that cell.
shipping_address_save
L2
${customer_enterprise_shipping_address_streetname}
${customer_enterprise_shipping_address_streetname} = 车陂街道
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_isDefault}
${customer_enterprise_shipping_address_isDefault} = 1
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_receiver}
${customer_enterprise_shipping_address_receiver} = autotest_receiver
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_receiverMobile}
${customer_enterprise_shipping_address_receiverMobile} = 13800138000
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_detail}
${customer_enterprise_shipping_address_detail} = autotest_customer_enterprise_shipping_address_detail
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_provinceid}
${customer_enterprise_shipping_address_provinceid} = 440000
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_cityid}
${customer_enterprise_shipping_address_cityid} = 440100
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_districtid}
${customer_enterprise_shipping_address_districtid} = 440106
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_streetid}
${customer_enterprise_shipping_address_streetid} = 440106003
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_provincename}
${customer_enterprise_shipping_address_provincename} = 广东省
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_cityname}
${customer_enterprise_shipping_address_cityname} = 广州市
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_districtname}
${customer_enterprise_shipping_address_districtname} = 天河区
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_streetname}
${customer_enterprise_shipping_address_streetname} = 车陂街道
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/015_customer_create_order.xls
Uses the cell name to return the data from that cell.
create_order
A2
${customer_create_order_paymentMethod}
${customer_create_order_paymentMethod} = 2
Uses the cell name to return the data from that cell.
create_order
B2
${customer_create_order_width}
${customer_create_order_width} = 787
Uses the cell name to return the data from that cell.
create_order
C2
${customer_create_order_length}
${customer_create_order_length} = 1092
Uses the cell name to return the data from that cell.
create_order
D2
${customer_create_order_quantity}
${customer_create_order_quantity} = 5000
Uses the cell name to return the data from that cell.
create_order
E2
${customer_create_order_bootFee}
${customer_create_order_bootFee} = 0
Uses the cell name to return the data from that cell.
create_order
F2
${customer_create_order_cuttingFee}
${customer_create_order_cuttingFee} = 0
Uses the cell name to return the data from that cell.
create_order
G2
${customer_create_order_freightFee}
${customer_create_order_freightFee} = 0
Uses the cell name to return the data from that cell.
create_order
H2
${customer_create_order_serviceFee}
${customer_create_order_serviceFee} = 0
Uses the cell name to return the data from that cell.
create_order
I2
${customer_create_order_otherFee}
${customer_create_order_otherFee} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_paymentMethod}
${customer_create_order_paymentMethod} = 2
Makes a variable available globally in all tests and suites.
${customer_create_order_width}
${customer_create_order_width} = 787
Makes a variable available globally in all tests and suites.
${customer_create_order_length}
${customer_create_order_length} = 1092
Makes a variable available globally in all tests and suites.
${customer_create_order_quantity}
${customer_create_order_quantity} = 5000
Makes a variable available globally in all tests and suites.
${customer_create_order_bootFee}
${customer_create_order_bootFee} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_cuttingFee}
${customer_create_order_cuttingFee} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_freightFee}
${customer_create_order_freightFee} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_serviceFee}
${customer_create_order_serviceFee} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_otherFee}
${customer_create_order_otherFee} = 0
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/016_customer_enquiry_create_order.xls
Uses the cell name to return the data from that cell.
enquiry_add
A2
${customer_enquiryContent}
${customer_enquiryContent} = autotest_enquiryContent
Uses the cell name to return the data from that cell.
enquiry_add
B2
${customer_enquiry_deliveryDay}
${customer_enquiry_deliveryDay} = 48
Uses the cell name to return the data from that cell.
enquiry_add
C2
${customer_enquiry_deliveryArea}
${customer_enquiry_deliveryArea} = 广东省 广州市 天河区
Makes a variable available globally in all tests and suites.
${customer_enquiryContent}
${customer_enquiryContent} = autotest_enquiryContent
Makes a variable available globally in all tests and suites.
${customer_enquiry_deliveryDay}
${customer_enquiry_deliveryDay} = 48
Makes a variable available globally in all tests and suites.
${customer_enquiry_deliveryArea}
${customer_enquiry_deliveryArea} = 广东省 广州市 天河区
Uses the cell name to return the data from that cell.
enquiry_edit
A2
${enquiry_gramWeight1}
${enquiry_gramWeight1} = 678
Uses the cell name to return the data from that cell.
enquiry_edit
B2
${enquiry_width1}
${enquiry_width1} = 787
Uses the cell name to return the data from that cell.
enquiry_edit
C2
${enquiry_length1}
${enquiry_length1} = 1000
Uses the cell name to return the data from that cell.
enquiry_edit
D2
${enquiry_quantity1}
${enquiry_quantity1} = 5500
Uses the cell name to return the data from that cell.
enquiry_edit
E2
${enquiry_gramWeight2}
${enquiry_gramWeight2} = 678
Uses the cell name to return the data from that cell.
enquiry_edit
F2
${enquiry_width2}
${enquiry_width2} = 787
Uses the cell name to return the data from that cell.
enquiry_edit
G2
${enquiry_length2}
${enquiry_length2} = 1092
Uses the cell name to return the data from that cell.
enquiry_edit
H2
${enquiry_quantity2}
${enquiry_quantity2} = 5000
Uses the cell name to return the data from that cell.
enquiry_edit
I2
${customer_enquiry_remark}
${customer_enquiry_remark} = autotest_remark
Makes a variable available globally in all tests and suites.
${enquiry_gramWeight1}
${enquiry_gramWeight1} = 678
Makes a variable available globally in all tests and suites.
${enquiry_width1}
${enquiry_width1} = 787
Makes a variable available globally in all tests and suites.
${enquiry_length1}
${enquiry_length1} = 1000
Makes a variable available globally in all tests and suites.
${enquiry_quantity1}
${enquiry_quantity1} = 5500
Makes a variable available globally in all tests and suites.
${enquiry_gramWeight2}
${enquiry_gramWeight2} = 678
Makes a variable available globally in all tests and suites.
${enquiry_width2}
${enquiry_width2} = 787
Makes a variable available globally in all tests and suites.
${enquiry_length2}
${enquiry_length2} = 1092
Makes a variable available globally in all tests and suites.
${enquiry_quantity2}
${enquiry_quantity2} = 5000
Makes a variable available globally in all tests and suites.
${customer_enquiry_remark}
${customer_enquiry_remark} = autotest_remark
Uses the cell name to return the data from that cell.
submit_paper_quotation
A2
${paper_quotation_gramWeight1}
${paper_quotation_gramWeight1} = 678
Uses the cell name to return the data from that cell.
submit_paper_quotation
B2
${paper_quotation_width1}
${paper_quotation_width1} = 787
Uses the cell name to return the data from that cell.
submit_paper_quotation
C2
${paper_quotation_length1}
${paper_quotation_length1} = 1000
Uses the cell name to return the data from that cell.
submit_paper_quotation
D2
${paper_quotation_quantity1}
${paper_quotation_quantity1} = 5500
Uses the cell name to return the data from that cell.
submit_paper_quotation
E2
${paper_quotation_otherFee}
${paper_quotation_otherFee} = 0
Uses the cell name to return the data from that cell.
submit_paper_quotation
F2
${paper_quotation_gramWeight2}
${paper_quotation_gramWeight2} = 678
Uses the cell name to return the data from that cell.
submit_paper_quotation
G2
${paper_quotation_width2}
${paper_quotation_width2} = 787
Uses the cell name to return the data from that cell.
submit_paper_quotation
H2
${paper_quotation_length2}
${paper_quotation_length2} = 1092
Uses the cell name to return the data from that cell.
submit_paper_quotation
I2
${paper_quotation_quantity2}
${paper_quotation_quantity2} = 5000
Uses the cell name to return the data from that cell.
submit_paper_quotation
J2
${supplierfocus_paper_quotation_remark}
${supplierfocus_paper_quotation_remark} = autotest_supplierfocus_paper_quotation_remark
Makes a variable available globally in all tests and suites.
${paper_quotation_gramWeight1}
${paper_quotation_gramWeight1} = 678
Makes a variable available globally in all tests and suites.
${paper_quotation_width1}
${paper_quotation_width1} = 787
Makes a variable available globally in all tests and suites.
${paper_quotation_length1}
${paper_quotation_length1} = 1000
Makes a variable available globally in all tests and suites.
${paper_quotation_quantity1}
${paper_quotation_quantity1} = 5500
Makes a variable available globally in all tests and suites.
${paper_quotation_otherFee}
${paper_quotation_otherFee} = 0
Makes a variable available globally in all tests and suites.
${paper_quotation_gramWeight2}
${paper_quotation_gramWeight2} = 678
Makes a variable available globally in all tests and suites.
${paper_quotation_width2}
${paper_quotation_width2} = 787
Makes a variable available globally in all tests and suites.
${paper_quotation_length2}
${paper_quotation_length2} = 1092
Makes a variable available globally in all tests and suites.
${paper_quotation_quantity2}
${paper_quotation_quantity2} = 5000
Makes a variable available globally in all tests and suites.
${supplierfocus_paper_quotation_remark}
${supplierfocus_paper_quotation_remark} = autotest_supplierfocus_paper_quotation_remark
Uses the cell name to return the data from that cell.
enquiry_create_order
A2
${customer_create_order_paymentMethod}
${customer_create_order_paymentMethod} = 2
Uses the cell name to return the data from that cell.
enquiry_create_order
B2
${customer_create_order_bootFee1}
${customer_create_order_bootFee1} = 0
Uses the cell name to return the data from that cell.
enquiry_create_order
C2
${customer_create_order_cuttingFee1}
${customer_create_order_cuttingFee1} = 0
Uses the cell name to return the data from that cell.
enquiry_create_order
D2
${customer_create_order_freightFee1}
${customer_create_order_freightFee1} = 0
Uses the cell name to return the data from that cell.
enquiry_create_order
E2
${customer_create_order_serviceFee1}
${customer_create_order_serviceFee1} = 0
Uses the cell name to return the data from that cell.
enquiry_create_order
F2
${customer_create_order_bootFee2}
${customer_create_order_bootFee2} = 0
Uses the cell name to return the data from that cell.
enquiry_create_order
G2
${customer_create_order_cuttingFee2}
${customer_create_order_cuttingFee2} = 0
Uses the cell name to return the data from that cell.
enquiry_create_order
H2
${customer_create_order_freightFee2}
${customer_create_order_freightFee2} = 0
Uses the cell name to return the data from that cell.
enquiry_create_order
I2
${customer_create_order_serviceFee2}
${customer_create_order_serviceFee2} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_paymentMethod}
${customer_create_order_paymentMethod} = 2
Makes a variable available globally in all tests and suites.
${customer_create_order_bootFee1}
${customer_create_order_bootFee1} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_cuttingFee1}
${customer_create_order_cuttingFee1} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_freightFee1}
${customer_create_order_freightFee1} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_serviceFee1}
${customer_create_order_serviceFee1} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_bootFee2}
${customer_create_order_bootFee2} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_cuttingFee2}
${customer_create_order_cuttingFee2} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_freightFee2}
${customer_create_order_freightFee2} = 0
Makes a variable available globally in all tests and suites.
${customer_create_order_serviceFee2}
${customer_create_order_serviceFee2} = 0
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/017_create_supplier_order_batch.xls
Uses the cell name to return the data from that cell.
create_supplier_order
A2
${supplier_order_remark}
${supplier_order_remark} = autotest_supplier_order_remark
Makes a variable available globally in all tests and suites.
${supplier_order_remark}
${supplier_order_remark} = autotest_supplier_order_remark
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Opens the Excel file from the path provided in the file name parameter.
If the boolean useTempDir is set to true, depending on the operating system of the computer running the test the file will be opened in the Temp directory if the operating system is Windows or tmp directory if it is not.
./datas/018_payable_receivable.xls
Uses the cell name to return the data from that cell.
confirm_payable
A2
${payable_fundProvider}
${payable_fundProvider} = 1
Uses the cell name to return the data from that cell.
confirm_payable
B2
${payable_remark}
${payable_remark} = autotest_remark
Makes a variable available globally in all tests and suites.
${payable_fundProvider}
${payable_fundProvider} = 1
Makes a variable available globally in all tests and suites.
${payable_remark}
${payable_remark} = autotest_remark
Uses the cell name to return the data from that cell.
confirm_receivable
A2
${receivable_remark}
${receivable_remark} = autotest_remark
Makes a variable available globally in all tests and suites.
${receivable_remark}
${receivable_remark} = autotest_remark
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloud_factory_customer_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"accountType":${accounttype_customer},"account":"${account_customer}","captcha":"${captcha_customer}"}
${body}
${body} = {"accountType":2,"account":"13012345678","captcha":"888888"}
Sends a POST request on a previously created HTTP Session.
uecclient
/uec/authorize/by-captcha
${body}
${response}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Content-Length': '60'}
body={"accountType":2,"account":"13012345678","captcha":"888888"}
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:57 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw==","userId":"665984809100775424"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw==', 'userId': '665984809100775424'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
token
${gettoken_customer}
${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw==
Makes a variable available globally in all tests and suites.
${gettoken_customer}
${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw==
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
userId
${userid_customer}
${userid_customer} = 665984809100775424
Makes a variable available globally in all tests and suites.
${userid_customer}
${userid_customer} = 665984809100775424
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloud_factory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"loginToken":"${gettoken_customer}"}
${body}
${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=="}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/authorize/get/product-line-token/by/login-token
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-user-center/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=="}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":200301,"message":null,"data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 200301, 'message': None, 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Runs the given keyword with the given arguments and ignores possible error.
Get From Dictionary
${response.json()}
data
${get_status}
${token}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${get_status} = PASS
${token} = None
Sets variable based on the given condition.
"${get_status}"=="FAIL"
${gettoken_customer}
"${token}"=="None"
${gettoken_customer}
${token}
${getlogintoken_customer}
Sets variable based on the given condition.
"${token}"=="None"
${gettoken_customer}
${token}
${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw==
Makes a variable available globally in all tests and suites.
${getlogintoken_customer}
${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw==
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847965388
Authorization=${getlogintoken_customer}
&{cloudfactory_customer_header}
&{cloudfactory_customer_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw== }
Makes a variable available globally in all tests and suites.
${cloudfactory_customer_header}
${cloudfactory_customer_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=='}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
uecclient
/uec/get/user-info
${response}
GET Request : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
path_url=/uec/get/user-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=='}
body=None
GET Response : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:57 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"userId":"665984809100775424","realName":null,"mobile":"13012345678","isAuth":0,"isSetPassword":1,"enterpriseId":null,"enterpriseName":null,"position":null,"employeeStatus":null,"applicationStatus":null,"contactsName":null,"contactsMobile":null,"locProvinceId":null,"locProvinceName":null,"locCityId":null,"locCityName":null,"locDistrictId":null,"locDistriceName":null,"locDetail":null,"isSupplierPerssion":false}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'userId': '665984809100775424', 'realName': None, 'mobile': '13012345678', 'isAuth': 0, 'isSetPassword': 1, 'enterpriseId': None, 'enterpriseName': None, 'position': None, 'employeeStatus': None, 'applicationStatus': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': None, 'locProvinceName': None, 'locCityId': None, 'locCityName': None, 'locDistrictId': None, 'locDistriceName': None, 'locDetail': None, 'isSupplierPerssion': False}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to integers.
${userid_customer}
${response.json()["data"]["userId"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
cloud-print-user-center/get/base-info
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
path_url=/cloud-print-user-center/get/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"mallSupplier":null,"capacityMarket":null,"enterpriseName":null,"enterpriseId":null,"realName":null,"contactsName":null,"contactsMobile":null,"locProvinceId":null,"locProvinceName":null,"locCityId":null,"locCityName":null,"locDistrictId":null,"locDistriceName":null,"locStreetId":null,"locStreetName":null,"locDetail":null,"position":null,"employeeStatus":null,"applicationStatus":null,"isConfirmedAgreement":0,"fddEnterpriseStatus":null,"isSupplierPerssion":false}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'mallSupplier': None, 'capacityMarket': None, 'enterpriseName': None, 'enterpriseId': None, 'realName': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': None, 'locProvinceName': None, 'locCityId': None, 'locCityName': None, 'locDistrictId': None, 'locDistriceName': None, 'locStreetId': None, 'locStreetName': None, 'locDetail': None, 'position': None, 'employeeStatus': None, 'applicationStatus': None, 'isConfirmedAgreement': 0, 'fddEnterpriseStatus': None, 'isSupplierPerssion': False}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
cloud-print-user-center/get/user/identity
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/user/identity
path_url=/cloud-print-user-center/get/user/identity
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/user/identity
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"type":0}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'type': 0}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operation_backend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '503258978847952999'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
username=${username_operate}
password=${password_operate}
&{body}
&{body} = { username=liangjinman@qniao.cn | password=qn123456 }
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-factory-operation-backend/admin/login
${body}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/login
path_url=/cloud-factory-operation-backend/admin/login
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '503258978847952999', 'Content-Length': '49'}
body=username=liangjinman%40qniao.cn&password=qn123456
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Request-Method': '*', 'Cache-Control': 'no-cache', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 200, 'message': '登陆成功'}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
登陆成功
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.headers}
Authorization
${getlogintoken_operate}
${getlogintoken_operate} = Token 4a8bb5b51207941b91dfa6f617504a38
Makes a variable available globally in all tests and suites.
${getlogintoken_operate}
${getlogintoken_operate} = Token 4a8bb5b51207941b91dfa6f617504a38
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847952999
Authorization=${getlogintoken_operate}
&{operationbackend_header}
&{operationbackend_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847952999 | Authorization=Token 4a8bb5b51207941b91dfa6f617504a38 }
Makes a variable available globally in all tests and suites.
${operationbackend_header}
${operationbackend_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-factory-operation-backend/admin/employee/get/login-info
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/employee/get/login-info
path_url=/cloud-factory-operation-backend/admin/employee/get/login-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/employee/get/login-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"adminId":"498985714734731264","name":"梁金满","avatar":"","position":"测试工程师","positionList":[{"id":"122345","name":"管理员"},{"id":"500764395257860096","name":"测试角色"},{"id":"500764395257860097","name":"运营"},{"id":"502129955090599936","name":"销售"}],"menuList":["PPGrecycleServiceBusinessSystem","/microSystemManagement/menu","/cloudPrintCenter/document/index","/cloudPrintCenter/shopOrderManage/deliveryOrder/Index","PPGrecycleServiceBusinessSettingMemberExpense","/cloudPrintCenter/shopOrderManage/purchaseOrder/Index","PPGrecycleServiceIndex","/microSystemManagement/position","/cloudPrintCenter/userManage/registerUser/Index","/cloudPrintCenter/businessManage/PrintingPackagingFactory/PrintingPackagingFactoryDetail","/cloudPrintCenter/userManage/CustomeClue/Index","/cloudPrintCenter/dataStatistics/tradingData/Index","/cloudPrintCenter/dataStatistics/paperTradingData/Index","/cloudPrintCenter/businessManage/Index","/cloudPrintCenter/businessManage/SupplierManagement/index","/cloudPrintCenter/dataStatistics/supplierTradingData/Index","PPGMarketingAudit","/cloudPrintCenter/businessManage/editCompany","/cloudPrintCenter/printProcessManage/processMange/Index","/cloudPrintCenter/printProcessManage/craftMange/Index","/cloudPrintCenter/document","PPGCustomerManage","/cloudPrintCenter/DatasViews","/cloudPrintCenter/printProcessManage","PPGrecycleServiceBusinessSettingPaperCategory","/cloudPrintCenter/shopOrderManage","/cloudPrintCenter/shopDeliveryManage","/cloudPrintCenter/businessManage/SupplierManagement/OpenAAcount","/cloudPrintCenter/businessManage/AccountMangement","PPGrecycleServiceBusinessSettingStoreDeposit","/microSystemManagement/employee","/cloudPrintCenter/businessRuleManage/Index","/cloudPrintCenter/businessManage/SupplierManagement/SupplierManagementDetail","/cloudPrintCenter/businessManage/PrintingPackagingFactory/PrintingPackagingFactoryMachineDetail","/cloudPrintCenter/dataStatistics/customerTradingData/Index","PPGPaperFctoryManage","/cloudPrintCenter/businessManage/FctoryListIndex","/cloudPrintCenter/userManage","PPGrecycleServiceBusinessSettingTopPaperCate","/cloudPrintCenter/shopDeliveryManage/Index","/cloudPrintCenter/businessRuleManage","PPGrecycleServiceBusinessAuth","/cloudPrintCenter/shopOrderManage/purchaseOrder/Details","/cloudPrintCenter/businessManage/PrintingPackagingFactory/Index","PPGrecycleServiceBusinessAuthUsers","PPGOperationAudit","/microSystemManagement","/cloudPrintCenter/businessManage","PPGrecycleServiceBusinessSystemInfo","cloudPrintCenter/dataStatistics","PPGrecycleServiceBusinessSettingOrderExpense","/cloudPrintCenter/userManage/LimitedSpecialOffer/Index","PPGrecycleServiceBusinessSetting","/cloudPrintCenter/businessManage/DiveceIndex","/microSystemManagement/department","/cloudPrintCenter/shopOrderManage/deliveryOrder/Details","/cloudPrintCenter/userManage/PaperQuotation/Index"]}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'adminId': '498985714734731264', 'name': '梁金满', 'avatar': '', 'position': '测试工程师', 'positionList': [{'id': '122345', 'name': '管理员'}, {'id': '500764395257860096', 'name': '测试角色'}, {'id': '500764395257860097', 'name': '运营'}, {'id': '502129955090599936', 'name': '销售'}], 'menuList': ['PPGrecycleServiceBusinessSystem', '/microSystemManagement/menu', '/cloudPrintCenter/document/index', '/cloudPrintCenter/shopOrderManage/deliveryOrder/Index', 'PPGrecycleServiceBusinessSettingMemberExpense', '/cloudPrintCenter/shopOrderManage/purchaseOrder/Index', 'PPGrecycleServiceIndex', '/microSystemManagement/position', '/cloudPrintCenter/userManage/registerUser/Index', '/cloudPrintCenter/businessManage/PrintingPackagingFactory/PrintingPackagingFactoryDetail', '/cloudPrintCenter/userManage/CustomeClue/Index', '/cloudPrintCenter/dataStatistics/tradingData/Index', '/cloudPrintCenter/dataStatistics/paperTradingData/Index', '/cloudPrintCenter/businessManage/Index', '/cloudPrintCenter/businessManage/SupplierManagement/index', '/cloudPrintCenter/dataStatistics/supplierTradingData/Index', 'PPGMarketingAudit', '/cloudPrintCenter/businessManage/editCompany', '/cloudPrintCenter/printProcessManage/processMange/Index', '/cloudPrintCenter/printProcessManage/craftMange/Index', '/cloudPrintCenter/document', 'PPGCustomerManage', '/cloudPrintCenter/DatasViews', '/cloudPrintCenter/printProcessManage', 'PPGrecycleServiceBusinessSettingPaperCategory', '/cloudPrintCenter/shopOrderManage', '/cloudPrintCenter/shopDeliveryManage', '/cloudPrintCenter/businessManage/SupplierManagement/OpenAAcount', '/cloudPrintCenter/businessManage/AccountMangement', 'PPGrecycleServiceBusinessSettingStoreDeposit', '/microSystemManagement/employee', '/cloudPrintCenter/businessRuleManage/Index', '/cloudPrintCenter/businessManage/SupplierManagement/SupplierManagementDetail', '/cloudPrintCenter/businessManage/PrintingPackagingFactory/PrintingPackagingFactoryMachineDetail', '/cloudPrintCenter/dataStatistics/customerTradingData/Index', 'PPGPaperFctoryManage', '/cloudPrintCenter/businessManage/FctoryListIndex', '/cloudPrintCenter/userManage', 'PPGrecycleServiceBusinessSettingTopPaperCate', '/cloudPrintCenter/shopDeliveryManage/Index', '/cloudPrintCenter/businessRuleManage', 'PPGrecycleServiceBusinessAuth', '/cloudPrintCenter/shopOrderManage/purchaseOrder/Details', '/cloudPrintCenter/businessManage/PrintingPackagingFactory/Index', 'PPGrecycleServiceBusinessAuthUsers', 'PPGOperationAudit', '/microSystemManagement', '/cloudPrintCenter/businessManage', 'PPGrecycleServiceBusinessSystemInfo', 'cloudPrintCenter/dataStatistics', 'PPGrecycleServiceBusinessSettingOrderExpense', '/cloudPrintCenter/userManage/LimitedSpecialOffer/Index', 'PPGrecycleServiceBusinessSetting', '/cloudPrintCenter/businessManage/DiveceIndex', '/microSystemManagement/department', '/cloudPrintCenter/shopOrderManage/deliveryOrder/Details', '/cloudPrintCenter/userManage/PaperQuotation/Index']}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
管理员
${response.json()["data"]["positionList"][0]["name"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
adminId
${operate_adminid}
${operate_adminid} = 498985714734731264
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
name
${operate_adminname}
${operate_adminname} = 梁金满
Makes a variable available globally in all tests and suites.
${operate_adminid}
${operate_adminid} = 498985714734731264
Makes a variable available globally in all tests and suites.
${operate_adminname}
${operate_adminname} = 梁金满
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
pscops
${pscops}
headers=${operation_psc_header}
Creating Session using : alias=pscops, url=https://api-ops-psc-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '503258978847965324'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
username=${username_operatepsc}
password=${password_operatepsc}
&{body}
&{body} = { username=liangjinman@qniao.cn | password=qn123456 }
Sends a POST request on a previously created HTTP Session.
pscops
/payment-settlement-center/admin/login
${body}
${response}
POST Request : url=https://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/login
path_url=/payment-settlement-center/admin/login
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '503258978847965324', 'Content-Length': '49'}
body=username=liangjinman%40qniao.cn&password=qn123456
POST Response : url=https://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Request-Method': '*', 'Cache-Control': 'no-cache', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 200, 'message': '登陆成功'}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
登陆成功
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.headers}
Authorization
${getlogintoken_operatepsc}
${getlogintoken_operatepsc} = Token 67e46d738b8e6a3589900dd9e68af75c
Makes a variable available globally in all tests and suites.
${getlogintoken_operatepsc}
${getlogintoken_operatepsc} = Token 67e46d738b8e6a3589900dd9e68af75c
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847965324
Authorization=${getlogintoken_operatepsc}
&{operationpsc_header}
&{operationpsc_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965324 | Authorization=Token 67e46d738b8e6a3589900dd9e68af75c }
Makes a variable available globally in all tests and suites.
${operationpsc_header}
${operationpsc_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
pscops
${pscops}
headers=${operationpsc_header}
Creating Session using : alias=pscops, url=https://api-ops-psc-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
pscops
/payment-settlement-center/admin/employee/get/login-info
${response}
GET Request : url=https://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/employee/get/login-info
path_url=/payment-settlement-center/admin/employee/get/login-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/employee/get/login-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"adminId":"498985714734731264","name":"梁金满","avatar":"","position":"测试工程师","positionList":[{"id":"1","name":"管理员"},{"id":"501903901264580608","name":"运营"},{"id":"502107360286871552","name":"销售"},{"id":"505810793544159232","name":"财务"},{"id":"505810913740328960","name":"出纳"},{"id":"508338193813344256","name":"UI"},{"id":"511511581855715328","name":"品牌"},{"id":"520587878972133376","name":"运营经理"},{"id":"531523439434010624","name":"千纸鹤负责人"},{"id":"535167353386831872","name":"总经办"},{"id":"540187046384373760","name":"客服"},{"id":"541228058049384448","name":"运营总监"}],"menuList":["/financeManagement/CustomeBill/CustomeBill","/paperGeneral/operating/Index","/microSystemManagement/menu","/microSystemManagement/position","/paperGeneral/home/Index","/microSystemManagement","/payAndSettlementCenter","/financeManagement/ShouldPay/ShouldPayDetail","/financeManagement/CustomeBill/CustomeBillDetails","/paperGeneral","/paperGeneral/finance/Index","/financeManagement/ShouldRecieve/ShouldRecieve","/payAndSettlementCenter/creditManagement/QueryIndex","/payAndSettlementCenter/creditManagement/QueryDetails","/financeManagement","/cloudFactory","/payAndSettlementCenter/enterpriseVerify/Index","/financeManagement/ShouldPay/ShouldPay","/paperGeneral/riskControl/Index","/microSystemManagement/department","/payAndSettlementCenter/FsCreditConfig/FsCreditConfigDetail","/payAndSettlementCenter/FsCreditConfig/Index","/microSystemManagement/employee"]}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'adminId': '498985714734731264', 'name': '梁金满', 'avatar': '', 'position': '测试工程师', 'positionList': [{'id': '1', 'name': '管理员'}, {'id': '501903901264580608', 'name': '运营'}, {'id': '502107360286871552', 'name': '销售'}, {'id': '505810793544159232', 'name': '财务'}, {'id': '505810913740328960', 'name': '出纳'}, {'id': '508338193813344256', 'name': 'UI'}, {'id': '511511581855715328', 'name': '品牌'}, {'id': '520587878972133376', 'name': '运营经理'}, {'id': '531523439434010624', 'name': '千纸鹤负责人'}, {'id': '535167353386831872', 'name': '总经办'}, {'id': '540187046384373760', 'name': '客服'}, {'id': '541228058049384448', 'name': '运营总监'}], 'menuList': ['/financeManagement/CustomeBill/CustomeBill', '/paperGeneral/operating/Index', '/microSystemManagement/menu', '/microSystemManagement/position', '/paperGeneral/home/Index', '/microSystemManagement', '/payAndSettlementCenter', '/financeManagement/ShouldPay/ShouldPayDetail', '/financeManagement/CustomeBill/CustomeBillDetails', '/paperGeneral', '/paperGeneral/finance/Index', '/financeManagement/ShouldRecieve/ShouldRecieve', '/payAndSettlementCenter/creditManagement/QueryIndex', '/payAndSettlementCenter/creditManagement/QueryDetails', '/financeManagement', '/cloudFactory', '/payAndSettlementCenter/enterpriseVerify/Index', '/financeManagement/ShouldPay/ShouldPay', '/paperGeneral/riskControl/Index', '/microSystemManagement/department', '/payAndSettlementCenter/FsCreditConfig/FsCreditConfigDetail', '/payAndSettlementCenter/FsCreditConfig/Index', '/microSystemManagement/employee']}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
498985714734731264
${response.json()["data"]["adminId"]}
Fails if objects are unequal after converting them to strings.
管理员
${response.json()["data"]["positionList"][0]["name"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloud_factory_supplier_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"accountType":${accounttype_supplier},"account":"${account_supplier}","captcha":"${captcha_supplier}"}
${body}
${body} = {"accountType":2,"account":"13123456789","captcha":"888888"}
Sends a POST request on a previously created HTTP Session.
uecclient
/uec/authorize/by-captcha
${body}
${response}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Content-Length': '60'}
body={"accountType":2,"account":"13123456789","captcha":"888888"}
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag==","userId":"665984812997283840"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag==', 'userId': '665984812997283840'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
token
${gettoken_supplier}
${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag==
Makes a variable available globally in all tests and suites.
${gettoken_supplier}
${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag==
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
userId
${userid_supplier}
${userid_supplier} = 665984812997283840
Makes a variable available globally in all tests and suites.
${userid_supplier}
${userid_supplier} = 665984812997283840
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloud_factory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"loginToken":"${gettoken_supplier}"}
${body}
${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=="}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/authorize/get/product-line-token/by/login-token
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-user-center/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=="}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":200301,"message":null,"data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 200301, 'message': None, 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Runs the given keyword with the given arguments and ignores possible error.
Get From Dictionary
${response.json()}
data
${get_status}
${token}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${get_status} = PASS
${token} = None
Sets variable based on the given condition.
"${get_status}"=="FAIL"
${gettoken_supplier}
"${token}"=="None"
${gettoken_supplier}
${token}
${getlogintoken_supplier}
Sets variable based on the given condition.
"${token}"=="None"
${gettoken_supplier}
${token}
${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag==
Makes a variable available globally in all tests and suites.
${getlogintoken_supplier}
${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag==
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847956666
Authorization=${getlogintoken_supplier}
&{cloudfactory_supplier_header}
&{cloudfactory_supplier_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag== }
Makes a variable available globally in all tests and suites.
${cloudfactory_supplier_header}
${cloudfactory_supplier_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=='}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
uecclient
/uec/get/user-info
${response}
GET Request : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
path_url=/uec/get/user-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=='}
body=None
GET Response : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"userId":"665984812997283840","realName":null,"mobile":"13123456789","isAuth":0,"isSetPassword":1,"enterpriseId":null,"enterpriseName":null,"position":null,"employeeStatus":null,"applicationStatus":null,"contactsName":null,"contactsMobile":null,"locProvinceId":null,"locProvinceName":null,"locCityId":null,"locCityName":null,"locDistrictId":null,"locDistriceName":null,"locDetail":null,"isSupplierPerssion":false}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'userId': '665984812997283840', 'realName': None, 'mobile': '13123456789', 'isAuth': 0, 'isSetPassword': 1, 'enterpriseId': None, 'enterpriseName': None, 'position': None, 'employeeStatus': None, 'applicationStatus': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': None, 'locProvinceName': None, 'locCityId': None, 'locCityName': None, 'locDistrictId': None, 'locDistriceName': None, 'locDetail': None, 'isSupplierPerssion': False}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to integers.
${userid_supplier}
${response.json()["data"]["userId"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
cloud-print-user-center/get/base-info
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
path_url=/cloud-print-user-center/get/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"mallSupplier":null,"capacityMarket":null,"enterpriseName":null,"enterpriseId":null,"realName":null,"contactsName":null,"contactsMobile":null,"locProvinceId":null,"locProvinceName":null,"locCityId":null,"locCityName":null,"locDistrictId":null,"locDistriceName":null,"locStreetId":null,"locStreetName":null,"locDetail":null,"position":null,"employeeStatus":null,"applicationStatus":null,"isConfirmedAgreement":0,"fddEnterpriseStatus":null,"isSupplierPerssion":false}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'mallSupplier': None, 'capacityMarket': None, 'enterpriseName': None, 'enterpriseId': None, 'realName': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': None, 'locProvinceName': None, 'locCityId': None, 'locCityName': None, 'locDistrictId': None, 'locDistriceName': None, 'locStreetId': None, 'locStreetName': None, 'locDetail': None, 'position': None, 'employeeStatus': None, 'applicationStatus': None, 'isConfirmedAgreement': 0, 'fddEnterpriseStatus': None, 'isSupplierPerssion': False}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
cloud-print-user-center/get/user/identity
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/user/identity
path_url=/cloud-print-user-center/get/user/identity
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/user/identity
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"type":0}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'type': 0}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloud_factory_supplierfocus_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"accountType":${accounttype_supplierfocus},"account":"${account_supplierfocus}","captcha":"${captcha_supplierfocus}"}
${body}
${body} = {"accountType":2,"account":"13500003333","captcha":"888888"}
Sends a POST request on a previously created HTTP Session.
uecclient
/uec/authorize/by-captcha
${body}
${response}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Content-Length': '60'}
body={"accountType":2,"account":"13500003333","captcha":"888888"}
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==","userId":"592453852213678080"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'userId': '592453852213678080'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
token
${gettoken_supplierfocus}
${gettoken_supplierfocus} = iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==
Makes a variable available globally in all tests and suites.
${gettoken_supplierfocus}
${gettoken_supplierfocus} = iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
userId
${userid_supplier_focus}
${userid_supplier_focus} = 592453852213678080
Makes a variable available globally in all tests and suites.
${userid_supplierfocus}
${userid_supplierfocus} = 592453852213678080
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloud_factory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"loginToken":"${gettoken_supplier_focus}"}
${body}
${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=="}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/authorize/get/product-line-token/by/login-token
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-user-center/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=="}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=="}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${getlogintoken_supplier_focus}
${getlogintoken_supplier_focus} = iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==
Logs the given message with the given level.
${getlogintoken_supplier_focus}
iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==
Makes a variable available globally in all tests and suites.
${getlogintoken_supplier_focus}
${getlogintoken_supplier_focus} = iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847953922
Authorization=${getlogintoken_supplier_focus}
&{cloudfactory_supplierfocus_header}
&{cloudfactory_supplierfocus_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847953922 | Authorization=iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA== }
Makes a variable available globally in all tests and suites.
${cloudfactory_supplierfocus_header}
${cloudfactory_supplierfocus_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
uecclient
/uec/get/user-info
${response}
GET Request : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
path_url=/uec/get/user-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:58 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"userId":"592453852213678080","realName":"测试","mobile":"13500003333","isAuth":0,"isSetPassword":1,"enterpriseId":"538701347130839040","enterpriseName":"厦门千纸互联科技有限公司","position":"PRIMARY","employeeStatus":0,"applicationStatus":null,"contactsName":null,"contactsMobile":null,"locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440103,"locDistriceName":"荔湾区","locDetail":"认同感","isSupplierPerssion":true}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'userId': '592453852213678080', 'realName': '测试', 'mobile': '13500003333', 'isAuth': 0, 'isSetPassword': 1, 'enterpriseId': '538701347130839040', 'enterpriseName': '厦门千纸互联科技有限公司', 'position': 'PRIMARY', 'employeeStatus': 0, 'applicationStatus': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440103, 'locDistriceName': '荔湾区', 'locDetail': '认同感', 'isSupplierPerssion': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to integers.
${userid_supplierfocus}
${response.json()["data"]["userId"]}
Fails if objects are unequal after converting them to integers.
0
${response.json()["data"]["employeeStatus"]}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
538701347130839040
${response.json()["data"]["enterpriseId"]}
Fails if objects are unequal after converting them to strings.
厦门千纸互联科技有限公司
${response.json()["data"]["enterpriseName"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
cloud-print-user-center/get/base-info
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
path_url=/cloud-print-user-center/get/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"mallSupplier":{"id":"553652487819759617","name":"千鸟官方直营","type":1,"provinceId":null,"provinceName":"天津","cityId":null,"cityName":"天津市","districtId":null,"districtName":"南开区","streetId":null,"streetName":"车陂街道","details":"车陂大岗路16号","contactName":"ggg","contactMoblie":"hhh","managementModel":1,"enterpriseType":5,"isShowSupplierNameOnClient":1},"capacityMarket":{"machineTotal":0,"machineFree":0,"machineOnSale":0},"enterpriseName":"厦门千纸互联科技有限公司","enterpriseId":"538701347130839040","realName":"测试","contactsName":null,"contactsMobile":null,"locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440103,"locDistriceName":"荔湾区","locStreetId":null,"locStreetName":null,"locDetail":"认同感","position":"PRIMARY","employeeStatus":0,"applicationStatus":null,"isConfirmedAgreement":0,"fddEnterpriseStatus":1,"isSupplierPerssion":true}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'mallSupplier': {'id': '553652487819759617', 'name': '千鸟官方直营', 'type': 1, 'provinceId': None, 'provinceName': '天津', 'cityId': None, 'cityName': '天津市', 'districtId': None, 'districtName': '南开区', 'streetId': None, 'streetName': '车陂街道', 'details': '车陂大岗路16号', 'contactName': 'ggg', 'contactMoblie': 'hhh', 'managementModel': 1, 'enterpriseType': 5, 'isShowSupplierNameOnClient': 1}, 'capacityMarket': {'machineTotal': 0, 'machineFree': 0, 'machineOnSale': 0}, 'enterpriseName': '厦门千纸互联科技有限公司', 'enterpriseId': '538701347130839040', 'realName': '测试', 'contactsName': None, 'contactsMobile': None, 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440103, 'locDistriceName': '荔湾区', 'locStreetId': None, 'locStreetName': None, 'locDetail': '认同感', 'position': 'PRIMARY', 'employeeStatus': 0, 'applicationStatus': None, 'isConfirmedAgreement': 0, 'fddEnterpriseStatus': 1, 'isSupplierPerssion': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to integers.
0
${response.json()["data"]["employeeStatus"]}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to integers.
1
${response.json()["data"]["mallSupplier"]["managementModel"]}
Argument types are:
<type 'unicode'>
<class 'int'>
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloud_factory_customer_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"accountType":${accounttype_customer},"account":"${account_customer}","captcha":"${captcha_customer}"}
${body}
${body} = {"accountType":2,"account":"13012345678","captcha":"888888"}
Sends a POST request on a previously created HTTP Session.
uecclient
/uec/authorize/by-captcha
${body}
${response}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LYYv3muHAvbH5CpdRvOudKw==', 'Content-Length': '60'}
body={"accountType":2,"account":"13012345678","captcha":"888888"}
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:59 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw==","userId":"665984809100775424"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw==', 'userId': '665984809100775424'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
token
${gettoken_customer}
${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw==
Makes a variable available globally in all tests and suites.
${gettoken_customer}
${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw==
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
userId
${userid_customer}
${userid_customer} = 665984809100775424
Makes a variable available globally in all tests and suites.
${userid_customer}
${userid_customer} = 665984809100775424
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847965388
Authorization=${gettoken_customer}
&{cloudfactory_customer_header}
&{cloudfactory_customer_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw== }
Makes a variable available globally in all tests and suites.
${cloudfactory_customer_header}
${cloudfactory_customer_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw=='}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"companyName": "${customer_companyname}","enterpriseType": ${customer_enterprisetype},"job": "${customer_job}","name": "${customer_name}"}
${body}
${body} = {"companyName": "autotest_companyname_customer","enterpriseType": 2,"job": "autotest_job_customer","name": "autotest_name_customer"}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/save/customerclue
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/save/customerclue
path_url=/cloud-print-user-center/save/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw==', 'Content-Length': '132'}
body=b'{"companyName": "autotest_companyname_customer","enterpriseType": 2,"job": "autotest_job_customer","name": "autotest_name_customer"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/save/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:46:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloud_factory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"loginToken":"${gettoken_customer}"}
${body}
${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw=="}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/authorize/get/product-line-token/by/login-token
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-user-center/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LAIdAuJnYY1cxK82CFRg+Yw=="}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=="}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=='}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Runs the given keyword with the given arguments and ignores possible error.
Get From Dictionary
${response.json()}
data
${get_status}
${token}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${get_status} = PASS
${token} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw==
Sets variable based on the given condition.
"${get_status}"=="FAIL"
${gettoken_customer}
"${token}"=="None"
${gettoken_customer}
${token}
${getlogintoken_customer}
Sets variable based on the given condition.
"${token}"=="None"
${gettoken_customer}
${token}
${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw==
Makes a variable available globally in all tests and suites.
${getlogintoken_customer}
${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw==
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847965388
Authorization=${getlogintoken_customer}
&{cloudfactory_customer_header}
&{cloudfactory_customer_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw== }
Makes a variable available globally in all tests and suites.
${cloudfactory_customer_header}
${cloudfactory_customer_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=='}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/get/my/customerclue
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/my/customerclue
path_url=/cloud-print-user-center/get/my/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/my/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"665984816306589696","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"13012345678","enterpriseType":2}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984816306589696', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '13012345678', 'enterpriseType': 2}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${customer_companyname}
${response.json()["data"]["companyName"]}
Fails if objects are unequal after converting them to real numbers.
${customer_enterprisetype}
${response.json()["data"]["enterpriseType"]}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
${customer_job}
${response.json()["data"]["job"]}
Fails if objects are unequal after converting them to strings.
${customer_name}
${response.json()["data"]["name"]}
Fails if objects are unequal after converting them to strings.
${account_customer}
${response.json()["data"]["mobile"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/verify/have-join-and-fill
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/verify/have-join-and-fill
path_url=/cloud-print-user-center/verify/have-join-and-fill
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw==', 'Content-Length': '0'}
body=None
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/verify/have-join-and-fill
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":false}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': False}
Fails if objects are unequal after converting them to strings.
False
${response.json()["data"]}
Argument types are:
<type 'unicode'>
<class 'bool'>
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"businessLicense": "${customer_businesslicense}","idCardBack": "${customer_idcardback}","idCardFront": "${customer_idcardfront}","type": ${customerclue_type}}
${body}
${body} = {"businessLicense": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378...
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/customerclue/upload-pictures
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/customerclue/upload-pictures
path_url=/cloud-print-user-center/customerclue/upload-pictures
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw==', 'Content-Length': '326'}
body=b'{"businessLicense": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","type": 1}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/customerclue/upload-pictures
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/user/get/user-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list
path_url=/cloud-print-user-center/admin/user/get/user-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984809100775424","nickName":null,"mobile":"13012345678","realName":null,"enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-08 15:46:58"},{"id":"664186938391138304","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-03 16:42:52"},{"id":"663834158090555392","nickName":null,"mobile":null,"realName":"autotest_name_autotest_name_suppliercustomer","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-02 17:21:02"},{"id":"663834152025591808","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-02 17:21:01"},{"id":"663832824662593536","nickName":null,"mobile":null,"realName":"autotest_name_autotest_name_suppliercustomer","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-02 17:15:44"},{"id":"663832817997844480","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-02 17:15:43"},{"id":"663830068056952832","nickName":null,"mobile":null,"realName":"autotest_name_autotest_name_suppliercustomer","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-02 17:04:47"},{"id":"663471354233884672","nickName":null,"mobile":null,"realName":null,"enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-01 17:19:23"},{"id":"663471111371100160","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-01 17:18:25"},{"id":"663469856703778816","nickName":null,"mobile":null,"realName":null,"enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-01 17:13:26"}],"total":465,"size":10,"current":1,"orders":[{"column":"u.create_time","asc":false}],"searchCount":true,"pages":47}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984809100775424', 'nickName': None, 'mobile': '13012345678', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-08 15:46:58'}, {'id': '664186938391138304', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-03 16:42:52'}, {'id': '663834158090555392', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_autotest_name_suppliercustomer', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-02 17:21:02'}, {'id': '663834152025591808', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-02 17:21:01'}, {'id': '663832824662593536', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_autotest_name_suppliercustomer', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-02 17:15:44'}, {'id': '663832817997844480', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-02 17:15:43'}, {'id': '663830068056952832', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_autotest_name_suppliercustomer', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-02 17:04:47'}, {'id': '663471354233884672', 'nickName': None, 'mobile': None, 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-01 17:19:23'}, {'id': '663471111371100160', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-01 17:18:25'}, {'id': '663469856703778816', 'nickName': None, 'mobile': None, 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-01 17:13:26'}], 'total': 465, 'size': 10, 'current': 1, 'orders': [{'column': 'u.create_time', 'asc': False}], 'searchCount': True, 'pages': 47}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
mobile=${account_customer}
${param}
${param} = mobile=13012345678
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/user/get/user-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list?mobile=13012345678
path_url=/cloud-print-user-center/admin/user/get/user-list?mobile=13012345678
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list?mobile=13012345678
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984809100775424","nickName":null,"mobile":"13012345678","realName":null,"enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-08 15:46:58"}],"total":1,"size":10,"current":1,"orders":[{"column":"u.create_time","asc":false}],"searchCount":true,"pages":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984809100775424', 'nickName': None, 'mobile': '13012345678', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-08 15:46:58'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'u.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/customerclue/page
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page
path_url=/cloud-print-user-center/admin/get/customerclue/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984816306589696","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"13012345678","remark":null,"status":1,"operatorName":null,"userId":"665984809100775424","createTime":"2021-12-08 15:46:59","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659119433914126336","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659119416381935616","createTime":"2021-11-19 17:06:24","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118871223078912","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118857167966208","createTime":"2021-11-19 17:04:10","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118860833787904","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"\"13012345678\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118853195960320","createTime":"2021-11-19 17:04:07","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118221835767808","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118207986176000","createTime":"2021-11-19 17:01:35","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118211681357824","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"\"13012345678\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118202571329536","createTime":"2021-11-19 17:01:33","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"652586256055799808","name":"df","companyName":"sdf","job":"df","mobile":"13546548548","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"652586236762001408","createTime":"2021-11-01 16:25:53","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"650050752286429184","name":"一休","companyName":"测试","job":"一休","mobile":"15800210584","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"636246482214850560","createTime":"2021-10-25 16:30:42","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"647894856353583104","name":"第三方","companyName":"违法","job":"福","mobile":"13484654654","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"647894838435516416","createTime":"2021-10-19 17:43:56","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"647889349328900096","name":"东方","companyName":"方式","job":"福","mobile":"13843416541","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"647889329426927616","createTime":"2021-10-19 17:22:03","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null}],"total":134,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":14}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984816306589696', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '13012345678', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '665984809100775424', 'createTime': '2021-12-08 15:46:59', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659119433914126336', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659119416381935616', 'createTime': '2021-11-19 17:06:24', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118871223078912', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118857167966208', 'createTime': '2021-11-19 17:04:10', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118860833787904', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '"13012345678"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118853195960320', 'createTime': '2021-11-19 17:04:07', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118221835767808', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118207986176000', 'createTime': '2021-11-19 17:01:35', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118211681357824', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '"13012345678"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118202571329536', 'createTime': '2021-11-19 17:01:33', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '652586256055799808', 'name': 'df', 'companyName': 'sdf', 'job': 'df', 'mobile': '13546548548', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '652586236762001408', 'createTime': '2021-11-01 16:25:53', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '650050752286429184', 'name': '一休', 'companyName': '测试', 'job': '一休', 'mobile': '15800210584', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '636246482214850560', 'createTime': '2021-10-25 16:30:42', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '647894856353583104', 'name': '第三方', 'companyName': '违法', 'job': '福', 'mobile': '13484654654', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '647894838435516416', 'createTime': '2021-10-19 17:43:56', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '647889349328900096', 'name': '东方', 'companyName': '方式', 'job': '福', 'mobile': '13843416541', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '647889329426927616', 'createTime': '2021-10-19 17:22:03', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}], 'total': 134, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 14}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
status=1
${param}
${param} = status=1
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/customerclue/page
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page?status=1
path_url=/cloud-print-user-center/admin/get/customerclue/page?status=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page?status=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984816306589696","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"13012345678","remark":null,"status":1,"operatorName":null,"userId":"665984809100775424","createTime":"2021-12-08 15:46:59","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"633390347971596288","name":"df","companyName":"dfgdf","job":"sdf","mobile":"13435468456","remark":null,"status":1,"operatorName":null,"userId":"633390325460766720","createTime":"2021-09-09 17:08:12","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633388329324384256","name":"123","companyName":"123","job":"3213","mobile":"13654565795","remark":null,"status":1,"operatorName":null,"userId":"633388311670558720","createTime":"2021-09-09 17:00:11","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633366107872432128","name":"42","companyName":"41234","job":"2234","mobile":"13800654654","remark":null,"status":1,"operatorName":null,"userId":"633366083545468928","createTime":"2021-09-09 15:31:53","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633021599859216384","name":"邓熊飞飞","companyName":"人生无限公司","job":"总监","mobile":"13427033688","remark":null,"status":1,"operatorName":null,"userId":"633020915705319424","createTime":"2021-09-08 16:42:56","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627592338700636160","name":"Wkh","companyName":"Weikaihu","job":"Gggg","mobile":"18911814873","remark":null,"status":1,"operatorName":null,"userId":"571400428810539008","createTime":"2021-08-24 17:08:59","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627584858704711680","name":"324","companyName":"反对过分的","job":"34","mobile":"13416541654","remark":null,"status":1,"operatorName":null,"userId":"627584815327219712","createTime":"2021-08-24 16:39:15","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627475682414432256","name":"2341","companyName":"13123","job":"1323","mobile":"13549849641","remark":null,"status":1,"operatorName":null,"userId":"627474786603372544","createTime":"2021-08-24 09:25:26","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"626097790602317824","name":"234","companyName":"2314","job":"234","mobile":"15681313216","remark":null,"status":1,"operatorName":null,"userId":"626097741424103424","createTime":"2021-08-20 14:10:11","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"626046329486970880","name":"dxf2","companyName":"测试2","job":"无","mobile":"15619395772","remark":null,"status":1,"operatorName":null,"userId":"626046196196184064","createTime":"2021-08-20 10:45:41","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null}],"total":91,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":10}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984816306589696', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '13012345678', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '665984809100775424', 'createTime': '2021-12-08 15:46:59', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '633390347971596288', 'name': 'df', 'companyName': 'dfgdf', 'job': 'sdf', 'mobile': '13435468456', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633390325460766720', 'createTime': '2021-09-09 17:08:12', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633388329324384256', 'name': '123', 'companyName': '123', 'job': '3213', 'mobile': '13654565795', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633388311670558720', 'createTime': '2021-09-09 17:00:11', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633366107872432128', 'name': '42', 'companyName': '41234', 'job': '2234', 'mobile': '13800654654', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633366083545468928', 'createTime': '2021-09-09 15:31:53', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633021599859216384', 'name': '邓熊飞飞', 'companyName': '人生无限公司', 'job': '总监', 'mobile': '13427033688', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633020915705319424', 'createTime': '2021-09-08 16:42:56', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627592338700636160', 'name': 'Wkh', 'companyName': 'Weikaihu', 'job': 'Gggg', 'mobile': '18911814873', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '571400428810539008', 'createTime': '2021-08-24 17:08:59', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627584858704711680', 'name': '324', 'companyName': '反对过分的', 'job': '34', 'mobile': '13416541654', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '627584815327219712', 'createTime': '2021-08-24 16:39:15', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627475682414432256', 'name': '2341', 'companyName': '13123', 'job': '1323', 'mobile': '13549849641', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '627474786603372544', 'createTime': '2021-08-24 09:25:26', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '626097790602317824', 'name': '234', 'companyName': '2314', 'job': '234', 'mobile': '15681313216', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '626097741424103424', 'createTime': '2021-08-20 14:10:11', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '626046329486970880', 'name': 'dxf2', 'companyName': '测试2', 'job': '无', 'mobile': '15619395772', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '626046196196184064', 'createTime': '2021-08-20 10:45:41', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}], 'total': 91, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 10}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${customerclue_id}
${customerclue_id} = 665984816306589696
Makes a variable available globally in all tests and suites.
${customerclue_id}
${customerclue_id} = 665984816306589696
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
autotest_customerclue_remark
${customerclue_remark}
${customerclue_remark} = autotest_customerclue_remark
Returns the given values which can then be assigned to a variables.
{"id":"${customerclue_id}","adminId":"${operate_adminid}","name":"${operate_adminname}","remark":"${customerclue_remark}"}
${body}
${body} = {"id":"665984816306589696","adminId":"498985714734731264","name":"梁金满","remark":"autotest_customerclue_remark"}
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/handle/customerclue
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/handle/customerclue
path_url=/cloud-print-user-center/admin/handle/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '117'}
body=b'{"id":"665984816306589696","adminId":"498985714734731264","name":"\xe6\xa2\x81\xe9\x87\x91\xe6\xbb\xa1","remark":"autotest_customerclue_remark"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/handle/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloud_factory_supplier_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"accountType":${accounttype_supplier},"account":"${account_supplier}","captcha":"${captcha_supplier}"}
${body}
${body} = {"accountType":2,"account":"13123456789","captcha":"888888"}
Sends a POST request on a previously created HTTP Session.
uecclient
/uec/authorize/by-captcha
${body}
${response}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInQ5viAMRdqM8plLAk8nTTag==', 'Content-Length': '60'}
body={"accountType":2,"account":"13123456789","captcha":"888888"}
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:01 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw==","userId":"665984812997283840"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw==', 'userId': '665984812997283840'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
token
${gettoken_supplier}
${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw==
Makes a variable available globally in all tests and suites.
${gettoken_supplier}
${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw==
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
userId
${userid_supplier}
${userid_supplier} = 665984812997283840
Makes a variable available globally in all tests and suites.
${userid_supplier}
${userid_supplier} = 665984812997283840
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847956666
Authorization=${gettoken_supplier}
&{cloudfactory_supplier_header}
&{cloudfactory_supplier_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw== }
Makes a variable available globally in all tests and suites.
${cloudfactory_supplier_header}
${cloudfactory_supplier_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw=='}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"companyName": "${supplier_companyname}","enterpriseType": ${supplier_enterprisetype},"job": "${supplier_job}","name": "${supplier_name}"}
${body}
${body} = {"companyName": "autotest_companyname_supplier","enterpriseType": 5,"job": "autotest_job_supplier","name": "autotest_name_supplier"}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/save/customerclue
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/save/customerclue
path_url=/cloud-print-user-center/save/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw==', 'Content-Length': '132'}
body=b'{"companyName": "autotest_companyname_supplier","enterpriseType": 5,"job": "autotest_job_supplier","name": "autotest_name_supplier"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/save/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloud_factory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"loginToken":"${gettoken_supplier}"}
${body}
${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw=="}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/authorize/get/product-line-token/by/login-token
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-user-center/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInjvVeYg5e1tkFGJIg3IywBw=="}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=="}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=='}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Runs the given keyword with the given arguments and ignores possible error.
Get From Dictionary
${response.json()}
data
${get_status}
${token}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${get_status} = PASS
${token} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng==
Sets variable based on the given condition.
"${get_status}"=="FAIL"
${gettoken_supplier}
"${token}"=="None"
${gettoken_supplier}
${token}
${getlogintoken_supplier}
Sets variable based on the given condition.
"${token}"=="None"
${gettoken_supplier}
${token}
${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng==
Makes a variable available globally in all tests and suites.
${getlogintoken_supplier}
${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng==
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847956666
Authorization=${getlogintoken_supplier}
&{cloudfactory_supplier_header}
&{cloudfactory_supplier_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng== }
Makes a variable available globally in all tests and suites.
${cloudfactory_supplier_header}
${cloudfactory_supplier_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=='}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/get/my/customerclue
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/my/customerclue
path_url=/cloud-print-user-center/get/my/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/my/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"665984826289033216","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"13123456789","enterpriseType":5}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984826289033216', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '13123456789', 'enterpriseType': 5}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${supplier_companyname}
${response.json()["data"]["companyName"]}
Fails if objects are unequal after converting them to real numbers.
${supplier_enterprisetype}
${response.json()["data"]["enterpriseType"]}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
${supplier_job}
${response.json()["data"]["job"]}
Fails if objects are unequal after converting them to strings.
${supplier_name}
${response.json()["data"]["name"]}
Fails if objects are unequal after converting them to strings.
${account_supplier}
${response.json()["data"]["mobile"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/verify/have-join-and-fill
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/verify/have-join-and-fill
path_url=/cloud-print-user-center/verify/have-join-and-fill
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng==', 'Content-Length': '0'}
body=None
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/verify/have-join-and-fill
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":false}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': False}
Fails if objects are unequal after converting them to strings.
False
${response.json()["data"]}
Argument types are:
<type 'unicode'>
<class 'bool'>
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"businessLicense": "${supplier_businesslicense}","idCardBack": "${supplier_idcardback}","idCardFront": "${supplier_idcardfront}","type": ${customerclue_type}}
${body}
${body} = {"businessLicense": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378...
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/customerclue/upload-pictures
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/customerclue/upload-pictures
path_url=/cloud-print-user-center/customerclue/upload-pictures
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng==', 'Content-Length': '326'}
body=b'{"businessLicense": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","type": 1}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/customerclue/upload-pictures
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/user/get/user-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list
path_url=/cloud-print-user-center/admin/user/get/user-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984809100775424","nickName":null,"mobile":"13012345678","realName":null,"enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-08 15:46:58"},{"id":"665984812997283840","nickName":null,"mobile":"13123456789","realName":null,"enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-08 15:46:58"},{"id":"664186938391138304","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-03 16:42:52"},{"id":"663834158090555392","nickName":null,"mobile":null,"realName":"autotest_name_autotest_name_suppliercustomer","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-02 17:21:02"},{"id":"663834152025591808","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-02 17:21:01"},{"id":"663832824662593536","nickName":null,"mobile":null,"realName":"autotest_name_autotest_name_suppliercustomer","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-02 17:15:44"},{"id":"663832817997844480","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-02 17:15:43"},{"id":"663830068056952832","nickName":null,"mobile":null,"realName":"autotest_name_autotest_name_suppliercustomer","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-02 17:04:47"},{"id":"663471354233884672","nickName":null,"mobile":null,"realName":null,"enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-01 17:19:23"},{"id":"663471111371100160","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-12-01 17:18:25"}],"total":466,"size":10,"current":1,"orders":[{"column":"u.create_time","asc":false}],"searchCount":true,"pages":47}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984809100775424', 'nickName': None, 'mobile': '13012345678', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-08 15:46:58'}, {'id': '665984812997283840', 'nickName': None, 'mobile': '13123456789', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-08 15:46:58'}, {'id': '664186938391138304', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-03 16:42:52'}, {'id': '663834158090555392', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_autotest_name_suppliercustomer', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-02 17:21:02'}, {'id': '663834152025591808', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-02 17:21:01'}, {'id': '663832824662593536', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_autotest_name_suppliercustomer', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-02 17:15:44'}, {'id': '663832817997844480', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-02 17:15:43'}, {'id': '663830068056952832', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_autotest_name_suppliercustomer', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-02 17:04:47'}, {'id': '663471354233884672', 'nickName': None, 'mobile': None, 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-01 17:19:23'}, {'id': '663471111371100160', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-12-01 17:18:25'}], 'total': 466, 'size': 10, 'current': 1, 'orders': [{'column': 'u.create_time', 'asc': False}], 'searchCount': True, 'pages': 47}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
mobile=${account_supplier}
${param}
${param} = mobile=13123456789
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/user/get/user-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list?mobile=13123456789
path_url=/cloud-print-user-center/admin/user/get/user-list?mobile=13123456789
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list?mobile=13123456789
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984812997283840","nickName":null,"mobile":"13123456789","realName":null,"enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-12-08 15:46:58"}],"total":1,"size":10,"current":1,"orders":[{"column":"u.create_time","asc":false}],"searchCount":true,"pages":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984812997283840', 'nickName': None, 'mobile': '13123456789', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-12-08 15:46:58'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'u.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/customerclue/page
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page
path_url=/cloud-print-user-center/admin/get/customerclue/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984826289033216","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"13123456789","remark":null,"status":1,"operatorName":null,"userId":"665984812997283840","createTime":"2021-12-08 15:47:01","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"665984816306589696","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"13012345678","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"665984809100775424","createTime":"2021-12-08 15:46:59","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659119433914126336","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659119416381935616","createTime":"2021-11-19 17:06:24","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118871223078912","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118857167966208","createTime":"2021-11-19 17:04:10","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118860833787904","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"\"13012345678\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118853195960320","createTime":"2021-11-19 17:04:07","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118221835767808","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118207986176000","createTime":"2021-11-19 17:01:35","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118211681357824","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"\"13012345678\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118202571329536","createTime":"2021-11-19 17:01:33","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"652586256055799808","name":"df","companyName":"sdf","job":"df","mobile":"13546548548","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"652586236762001408","createTime":"2021-11-01 16:25:53","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"650050752286429184","name":"一休","companyName":"测试","job":"一休","mobile":"15800210584","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"636246482214850560","createTime":"2021-10-25 16:30:42","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"647894856353583104","name":"第三方","companyName":"违法","job":"福","mobile":"13484654654","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"647894838435516416","createTime":"2021-10-19 17:43:56","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null}],"total":135,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":14}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984826289033216', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '13123456789', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '665984812997283840', 'createTime': '2021-12-08 15:47:01', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '665984816306589696', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '13012345678', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '665984809100775424', 'createTime': '2021-12-08 15:46:59', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659119433914126336', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659119416381935616', 'createTime': '2021-11-19 17:06:24', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118871223078912', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118857167966208', 'createTime': '2021-11-19 17:04:10', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118860833787904', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '"13012345678"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118853195960320', 'createTime': '2021-11-19 17:04:07', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118221835767808', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118207986176000', 'createTime': '2021-11-19 17:01:35', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118211681357824', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '"13012345678"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118202571329536', 'createTime': '2021-11-19 17:01:33', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '652586256055799808', 'name': 'df', 'companyName': 'sdf', 'job': 'df', 'mobile': '13546548548', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '652586236762001408', 'createTime': '2021-11-01 16:25:53', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '650050752286429184', 'name': '一休', 'companyName': '测试', 'job': '一休', 'mobile': '15800210584', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '636246482214850560', 'createTime': '2021-10-25 16:30:42', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '647894856353583104', 'name': '第三方', 'companyName': '违法', 'job': '福', 'mobile': '13484654654', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '647894838435516416', 'createTime': '2021-10-19 17:43:56', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}], 'total': 135, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 14}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
status=1
${param}
${param} = status=1
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/customerclue/page
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page?status=1
path_url=/cloud-print-user-center/admin/get/customerclue/page?status=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page?status=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984826289033216","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"13123456789","remark":null,"status":1,"operatorName":null,"userId":"665984812997283840","createTime":"2021-12-08 15:47:01","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"633390347971596288","name":"df","companyName":"dfgdf","job":"sdf","mobile":"13435468456","remark":null,"status":1,"operatorName":null,"userId":"633390325460766720","createTime":"2021-09-09 17:08:12","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633388329324384256","name":"123","companyName":"123","job":"3213","mobile":"13654565795","remark":null,"status":1,"operatorName":null,"userId":"633388311670558720","createTime":"2021-09-09 17:00:11","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633366107872432128","name":"42","companyName":"41234","job":"2234","mobile":"13800654654","remark":null,"status":1,"operatorName":null,"userId":"633366083545468928","createTime":"2021-09-09 15:31:53","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633021599859216384","name":"邓熊飞飞","companyName":"人生无限公司","job":"总监","mobile":"13427033688","remark":null,"status":1,"operatorName":null,"userId":"633020915705319424","createTime":"2021-09-08 16:42:56","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627592338700636160","name":"Wkh","companyName":"Weikaihu","job":"Gggg","mobile":"18911814873","remark":null,"status":1,"operatorName":null,"userId":"571400428810539008","createTime":"2021-08-24 17:08:59","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627584858704711680","name":"324","companyName":"反对过分的","job":"34","mobile":"13416541654","remark":null,"status":1,"operatorName":null,"userId":"627584815327219712","createTime":"2021-08-24 16:39:15","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627475682414432256","name":"2341","companyName":"13123","job":"1323","mobile":"13549849641","remark":null,"status":1,"operatorName":null,"userId":"627474786603372544","createTime":"2021-08-24 09:25:26","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"626097790602317824","name":"234","companyName":"2314","job":"234","mobile":"15681313216","remark":null,"status":1,"operatorName":null,"userId":"626097741424103424","createTime":"2021-08-20 14:10:11","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"626046329486970880","name":"dxf2","companyName":"测试2","job":"无","mobile":"15619395772","remark":null,"status":1,"operatorName":null,"userId":"626046196196184064","createTime":"2021-08-20 10:45:41","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null}],"total":91,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":10}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984826289033216', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '13123456789', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '665984812997283840', 'createTime': '2021-12-08 15:47:01', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '633390347971596288', 'name': 'df', 'companyName': 'dfgdf', 'job': 'sdf', 'mobile': '13435468456', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633390325460766720', 'createTime': '2021-09-09 17:08:12', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633388329324384256', 'name': '123', 'companyName': '123', 'job': '3213', 'mobile': '13654565795', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633388311670558720', 'createTime': '2021-09-09 17:00:11', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633366107872432128', 'name': '42', 'companyName': '41234', 'job': '2234', 'mobile': '13800654654', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633366083545468928', 'createTime': '2021-09-09 15:31:53', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633021599859216384', 'name': '邓熊飞飞', 'companyName': '人生无限公司', 'job': '总监', 'mobile': '13427033688', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633020915705319424', 'createTime': '2021-09-08 16:42:56', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627592338700636160', 'name': 'Wkh', 'companyName': 'Weikaihu', 'job': 'Gggg', 'mobile': '18911814873', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '571400428810539008', 'createTime': '2021-08-24 17:08:59', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627584858704711680', 'name': '324', 'companyName': '反对过分的', 'job': '34', 'mobile': '13416541654', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '627584815327219712', 'createTime': '2021-08-24 16:39:15', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627475682414432256', 'name': '2341', 'companyName': '13123', 'job': '1323', 'mobile': '13549849641', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '627474786603372544', 'createTime': '2021-08-24 09:25:26', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '626097790602317824', 'name': '234', 'companyName': '2314', 'job': '234', 'mobile': '15681313216', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '626097741424103424', 'createTime': '2021-08-20 14:10:11', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '626046329486970880', 'name': 'dxf2', 'companyName': '测试2', 'job': '无', 'mobile': '15619395772', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '626046196196184064', 'createTime': '2021-08-20 10:45:41', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}], 'total': 91, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 10}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${customerclue_id}
${customerclue_id} = 665984826289033216
Makes a variable available globally in all tests and suites.
${customerclue_id}
${customerclue_id} = 665984826289033216
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
autotest_customerclue_remark
${customerclue_remark}
${customerclue_remark} = autotest_customerclue_remark
Returns the given values which can then be assigned to a variables.
{"id":"${customerclue_id}","adminId":"${operate_adminid}","name":"${operate_adminname}","remark":"${customerclue_remark}"}
${body}
${body} = {"id":"665984826289033216","adminId":"498985714734731264","name":"梁金满","remark":"autotest_customerclue_remark"}
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/handle/customerclue
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/handle/customerclue
path_url=/cloud-print-user-center/admin/handle/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '117'}
body=b'{"id":"665984826289033216","adminId":"498985714734731264","name":"\xe6\xa2\x81\xe9\x87\x91\xe6\xbb\xa1","remark":"autotest_customerclue_remark"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/handle/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"name":"${printing_packaging_factory_name}","type":${printing_packaging_factory_type},"shortName":"${printing_packaging_factory_shortname}","uniformSocialCreditCode":"${printing_packaging_factory_uniformsocialcreditcode}","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_legalpersonidcardno}","locProvinceId":${printing_packaging_factory_locprovinceid},"locCityId":${printing_packaging_factory_loccityid},"locDistrictId":${printing_packaging_factory_locdistrictid},"locStreetId":${printing_packaging_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityName":"${printing_packaging_factory_loccityname}","locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_locstreetname}"}
${body}
${body} = {"name":"autotest_printing_packaging_factory_name","type":2,"shortName":"autotest_shortname","uniformSocialCreditCode":"autotest_91440101MA59F2J10M","locDetail":"autotest_printing_packaging_factory_lo...
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/enterprise
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise
path_url=/cloud-print-user-center/admin/save/enterprise
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '509'}
body=b'{"name":"autotest_printing_packaging_factory_name","type":2,"shortName":"autotest_shortname","uniformSocialCreditCode":"autotest_91440101MA59F2J10M","locDetail":"autotest_printing_packaging_factory_locdetail","legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","locProvinceId":440000,"locCityId":440100,"locDistrictId":440106,"locStreetId":440106003,"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:04 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/packaging-printing-mill-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill-list
path_url=/cloud-print-user-center/admin/get/packaging-printing-mill-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984836372140032","name":"autotest_printing_packaging_factory_name","shortName":"autotest_shortname","legalPersonName":"autotest_legalperson","hasCredit":0,"createTime":"2021-12-08 15:47:04","status":0},{"id":"660830324686721024","name":"<tag on*=*/>","shortName":"<tag on*=*/>","legalPersonName":"<tag on*=*/>","hasCredit":0,"createTime":"2021-11-24 10:24:53","status":0},{"id":"37","name":"梓兴纸制品有限公司","shortName":null,"legalPersonName":null,"hasCredit":0,"createTime":"2021-01-20 15:04:08","status":0},{"id":"653280697334763520","name":"骏富国际多发几个包vv吧","shortName":"骏富国际多发几个包vv吧","legalPersonName":"骏富国际多发几个包vv吧","hasCredit":0,"createTime":"2021-11-03 14:25:21","status":0},{"id":"651482452493209600","name":"测试杠","shortName":"测试杠","legalPersonName":"测试杠","hasCredit":0,"createTime":"2021-10-29 15:19:46","status":0},{"id":"651117713762160640","name":"统计客户","shortName":"统计客户","legalPersonName":"统计客户","hasCredit":1,"createTime":"2021-10-28 15:10:26","status":0},{"id":"651116880207155200","name":"123356345345","shortName":"123356345345","legalPersonName":"123356345345","hasCredit":0,"createTime":"2021-10-28 15:07:07","status":0},{"id":"651116728784392192","name":"1111ssxx","shortName":"sd","legalPersonName":"444","hasCredit":1,"createTime":"2021-10-28 15:06:31","status":0},{"id":"651116289812729856","name":"2222XXX","shortName":"444","legalPersonName":"4444","hasCredit":1,"createTime":"2021-10-28 15:04:46","status":0},{"id":"651107960398942208","name":"DDDDDS","shortName":"SDS","legalPersonName":"3333","hasCredit":0,"createTime":"2021-10-28 14:31:40","status":0}],"total":82,"size":10,"current":1,"orders":[{"column":"p.create_time","asc":false}],"searchCount":true,"pages":9}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984836372140032', 'name': 'autotest_printing_packaging_factory_name', 'shortName': 'autotest_shortname', 'legalPersonName': 'autotest_legalperson', 'hasCredit': 0, 'createTime': '2021-12-08 15:47:04', 'status': 0}, {'id': '660830324686721024', 'name': '<tag on*=*/>', 'shortName': '<tag on*=*/>', 'legalPersonName': '<tag on*=*/>', 'hasCredit': 0, 'createTime': '2021-11-24 10:24:53', 'status': 0}, {'id': '37', 'name': '梓兴纸制品有限公司', 'shortName': None, 'legalPersonName': None, 'hasCredit': 0, 'createTime': '2021-01-20 15:04:08', 'status': 0}, {'id': '653280697334763520', 'name': '骏富国际多发几个包vv吧', 'shortName': '骏富国际多发几个包vv吧', 'legalPersonName': '骏富国际多发几个包vv吧', 'hasCredit': 0, 'createTime': '2021-11-03 14:25:21', 'status': 0}, {'id': '651482452493209600', 'name': '测试杠', 'shortName': '测试杠', 'legalPersonName': '测试杠', 'hasCredit': 0, 'createTime': '2021-10-29 15:19:46', 'status': 0}, {'id': '651117713762160640', 'name': '统计客户', 'shortName': '统计客户', 'legalPersonName': '统计客户', 'hasCredit': 1, 'createTime': '2021-10-28 15:10:26', 'status': 0}, {'id': '651116880207155200', 'name': '123356345345', 'shortName': '123356345345', 'legalPersonName': '123356345345', 'hasCredit': 0, 'createTime': '2021-10-28 15:07:07', 'status': 0}, {'id': '651116728784392192', 'name': '1111ssxx', 'shortName': 'sd', 'legalPersonName': '444', 'hasCredit': 1, 'createTime': '2021-10-28 15:06:31', 'status': 0}, {'id': '651116289812729856', 'name': '2222XXX', 'shortName': '444', 'legalPersonName': '4444', 'hasCredit': 1, 'createTime': '2021-10-28 15:04:46', 'status': 0}, {'id': '651107960398942208', 'name': 'DDDDDS', 'shortName': 'SDS', 'legalPersonName': '3333', 'hasCredit': 0, 'createTime': '2021-10-28 14:31:40', 'status': 0}], 'total': 82, 'size': 10, 'current': 1, 'orders': [{'column': 'p.create_time', 'asc': False}], 'searchCount': True, 'pages': 9}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_name}
${response.json()["data"]["records"][0]["name"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_shortname}
${response.json()["data"]["records"][0]["shortName"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_legalpersonname}
${response.json()["data"]["records"][0]["legalPersonName"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
name=${printing_packaging_factory_name}
${param}
${param} = name=autotest_printing_packaging_factory_name
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/packaging-printing-mill-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill-list?name=autotest_printing_packaging_factory_name
path_url=/cloud-print-user-center/admin/get/packaging-printing-mill-list?name=autotest_printing_packaging_factory_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill-list?name=autotest_printing_packaging_factory_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984836372140032","name":"autotest_printing_packaging_factory_name","shortName":"autotest_shortname","legalPersonName":"autotest_legalperson","hasCredit":0,"createTime":"2021-12-08 15:47:04","status":0}],"total":1,"size":10,"current":1,"orders":[{"column":"p.create_time","asc":false}],"searchCount":true,"pages":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984836372140032', 'name': 'autotest_printing_packaging_factory_name', 'shortName': 'autotest_shortname', 'legalPersonName': 'autotest_legalperson', 'hasCredit': 0, 'createTime': '2021-12-08 15:47:04', 'status': 0}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'p.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_name}
${response.json()["data"]["records"][0]["name"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_shortname}
${response.json()["data"]["records"][0]["shortName"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_legalpersonname}
${response.json()["data"]["records"][0]["legalPersonName"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${printing_packaging_factory_id}
${printing_packaging_factory_id} = 665984836372140032
Makes a variable available globally in all tests and suites.
${printing_packaging_factory_id}
${printing_packaging_factory_id} = 665984836372140032
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecops
${uecops}
headers=${operationbackend_header}
Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","status":1}
${body}
${body} = {"enterpriseId":"665984836372140032","status":1}
Sends a POST request on a previously created HTTP Session.
uecops
/uec/admin/modify/enterprise/state
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/modify/enterprise/state
path_url=/uec/admin/modify/enterprise/state
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '48'}
body=b'{"enterpriseId":"665984836372140032","status":1}'
POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/modify/enterprise/state
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:05 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","id":"${printing_packaging_factory_id}","createTime":"${current_date_second}","updateTime":"${current_date_second}","name":"${printing_packaging_factory_base_info_name}","uniformSocialCreditCode":"${printing_packaging_factory_base_info_uniformsocialcreditcode}","locProvinceId":${printing_packaging_factory_base_info_locprovinceid},"locProvinceName":"${printing_packaging_factory_base_info_locprovincename}","locCityId":${printing_packaging_factory_base_info_loccityid},"locCityName":"${printing_packaging_factory_base_info_loccityname}","locDistrictId":${printing_packaging_factory_base_info_locdistrictid},"locDistrictName":"${printing_packaging_factory_base_info_locdistrictname}","locStreetId":${printing_packaging_factory_base_info_locstreetid},"locStreetName":"${printing_packaging_factory_base_info_locstreetname}","locDetail":"${printing_packaging_factory_base_info_locdetail}","legalPersonName":"${printing_packaging_factory_base_info_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_base_info_legalpersonidcardno}","legalPersonMobile":"${printing_packaging_factory_base_info_legalpersonmobile}","type":${printing_packaging_factory_base_info_type},"shortName":"${printing_packaging_factory_base_info_shortname}","registeredCapital":999,"incomeInPastTwoYears":100,"regAddrLongitude":null,"regAddrLatitude":null,"birthday":"${current_date}","cooperationTime":"${current_date_month}","legalPersonIdCardFrontImg":"${printing_packaging_factory_base_info_legalPersonIdCardFront}","legalPersonIdCardBackImg":"${printing_packaging_factory_base_info_legalPersonIdCardBack}","businessLicenseImg":"${printing_packaging_factory_base_info_businessLicense}"}
${body}
${body} = {"enterpriseId":"665984836372140032","id":"665984836372140032","createTime":"2021-12-08 15:46:56","updateTime":"2021-12-08 15:46:56","name":"autotest_printing_packaging_factory_name","uniformSocialCre...
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/packaging-printing-mill/base-info
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/packaging-printing-mill/base-info
path_url=/cloud-print-user-center/admin/save/packaging-printing-mill/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '1168'}
body=b'{"enterpriseId":"665984836372140032","id":"665984836372140032","createTime":"2021-12-08 15:46:56","updateTime":"2021-12-08 15:46:56","name":"autotest_printing_packaging_factory_name","uniformSocialCreditCode":"autotest_91440101MA59F2J10M","locProvinceId":440000,"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityId":440100,"locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictId":440106,"locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetId":440106003,"locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","locDetail":"autotest_printing_packaging_factory_locdetail","legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonMobile":"13800138000","type":2,"shortName":"autotest_shortname","registeredCapital":999,"incomeInPastTwoYears":100,"regAddrLongitude":null,"regAddrLatitude":null,"birthday":"2021-12-08","cooperationTime":"2021-12","legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/packaging-printing-mill/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","leaseContractImg":"${printing_packaging_factory_factory_leasecontract}","factoryPhotos":"${printing_packaging_factory_factory_factoryphotos}","mainProducts":"${printing_packaging_factory_factory_mainproducts}","businessAnnualVolume":"9990000","locLatitude":"23.119958","locLongitude":"113.406448","locDetail":"${printing_packaging_factory_factory_locdetail}","locProvinceId":${printing_packaging_factory_factory_locprovinceid},"locCityId":${printing_packaging_factory_factory_loccityid},"locDistrictId":${printing_packaging_factory_factory_locdistrictid},"locStreetId":${printing_packaging_factory_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_factory_locprovincename}","locCityName":"${printing_packaging_factory_factory_loccityname}","locDistrictName":"${printing_packaging_factory_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_factory_locstreetname}"}
${body}
${body} = {"enterpriseId":"665984836372140032","leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-sh...
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/factory
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/factory
path_url=/cloud-print-user-center/admin/save/factory
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '642'}
body=b'{"enterpriseId":"665984836372140032","leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","mainProducts":"autotest_mainproducts","businessAnnualVolume":"9990000","locLatitude":"23.119958","locLongitude":"113.406448","locDetail":"autotest_printing_packaging_factory_locdetail","locProvinceId":440000,"locCityId":440100,"locDistrictId":440106,"locStreetId":440106003,"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/factory
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:06 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecops
${uecops}
headers=${operationbackend_header}
Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","receiverMobile":"${printing_packaging_factory_shipping_addresses_receivermobile}","receiver":"${printing_packaging_factory_shipping_addresses_receiver}","receiveEnterpriseName":"${printing_packaging_factory_name}","enterpriseShippingAddressList":[{"detail":"${printing_packaging_factory_shipping_addresses_detail}","provinceId":${printing_packaging_factory_shipping_addresses_provinceid},"cityId":${printing_packaging_factory_shipping_addresses_cityid},"districtId":${printing_packaging_factory_shipping_addresses_districtid},"streetId":${printing_packaging_factory_shipping_addresses_streetid},"provinceName":"${printing_packaging_factory_shipping_addresses_provincename}","cityName":"${printing_packaging_factory_shipping_addresses_cityname}","districtName":"${printing_packaging_factory_shipping_addresses_districtname}","streetName":"${printing_packaging_factory_shipping_addresses_streetname}"}]}
${body}
${body} = {"enterpriseId":"665984836372140032","receiverMobile":"13800138000","receiver":"autotest_receiver","receiveEnterpriseName":"autotest_printing_packaging_factory_name","enterpriseShippingAddressList":[{...
Sends a POST request on a previously created HTTP Session.
uecops
/uec/admin/save/enterprise-shipping-addresses
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise-shipping-addresses
path_url=/uec/admin/save/enterprise-shipping-addresses
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '441'}
body=b'{"enterpriseId":"665984836372140032","receiverMobile":"13800138000","receiver":"autotest_receiver","receiveEnterpriseName":"autotest_printing_packaging_factory_name","enterpriseShippingAddressList":[{"detail":"autotest_printing_packaging_factory_locdetail","provinceId":440000,"cityId":440100,"districtId":440106,"streetId":440106003,"provinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","cityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","districtName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","streetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93"}]}'
POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise-shipping-addresses
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:07 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","deposit":${printing_packaging_factory_scrappaper_credit_deposit},"earnest":${printing_packaging_factory_scrappaper_credit_earnest},"totalUsed":${printing_packaging_factory_scrappaper_credit_totalUsed}}
${body}
${body} = {"enterpriseId":"665984836372140032","deposit":990000,"earnest":900000,"totalUsed":90000}
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/enterprise-scrap-paper-credit
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise-scrap-paper-credit
path_url=/cloud-print-user-center/admin/save/enterprise-scrap-paper-credit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '89'}
body=b'{"enterpriseId":"665984836372140032","deposit":990000,"earnest":900000,"totalUsed":90000}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise-scrap-paper-credit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecops
${uecops}
headers=${operationbackend_header}
Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","list":[{"cardholderName":"${printing_packaging_factory_private_account_cardholdername}","bankCardNumber":"${printing_packaging_factory_private_account_bankcardnumber}","openingBank":"${printing_packaging_factory_private_account_openingbank}"}]}
${body}
${body} = {"enterpriseId":"665984836372140032","list":[{"cardholderName":"autotest_name","bankCardNumber":"autotest_bankcardnumber","openingBank":"autotest_openingbank"}]}
Sends a POST request on a previously created HTTP Session.
uecops
/uec/admin/save/enterprise/private-account
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise/private-account
path_url=/uec/admin/save/enterprise/private-account
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '161'}
body=b'{"enterpriseId":"665984836372140032","list":[{"cardholderName":"autotest_name","bankCardNumber":"autotest_bankcardnumber","openingBank":"autotest_openingbank"}]}'
POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise/private-account
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:07 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
1
${printing_packaging_factory_papereexternal_settlement_accounts_type}
${printing_packaging_factory_papereexternal_settlement_accounts_type} = 1
Returns the given values which can then be assigned to a variables.
autotest_accountid
${printing_packaging_factory_papereexternal_settlement_accounts_accountid}
${printing_packaging_factory_papereexternal_settlement_accounts_accountid} = autotest_accountid
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","enterprisePaperExternalSettlementAccountList":[{"type":"${printing_packaging_factory_papereexternal_settlement_accounts_type}","accountId":"${printing_packaging_factory_papereexternal_settlement_accounts_accountid}","balance":990000,"total":990000}]}
${body}
${body} = {"enterpriseId":"665984836372140032","enterprisePaperExternalSettlementAccountList":[{"type":"1","accountId":"autotest_accountid","balance":990000,"total":990000}]}
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts
path_url=/cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '164'}
body=b'{"enterpriseId":"665984836372140032","enterprisePaperExternalSettlementAccountList":[{"type":"1","accountId":"autotest_accountid","balance":990000,"total":990000}]}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","realName":"${printing_packaging_factory_administrator_realname}","title":"${printing_packaging_factory_administrator_title}","mobile":"${printing_packaging_factory_administrator_mobile}"}
${body}
${body} = {"enterpriseId":"665984836372140032","realName":"autotest_name_customer","title":"autotest_job_customer","mobile":"13012345678"}
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/add/enterprise-administrator
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/add/enterprise-administrator
path_url=/cloud-print-user-center/admin/add/enterprise-administrator
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '128'}
body=b'{"enterpriseId":"665984836372140032","realName":"autotest_name_customer","title":"autotest_job_customer","mobile":"13012345678"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/add/enterprise-administrator
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Makes a variable available everywhere within the scope of the current suite.
${printing_packaging_factory_administrator_mobile}
${printing_packaging_factory_administrator_mobile} = 13012345678
Makes a variable available everywhere within the scope of the current suite.
${printing_packaging_factory_administrator_realname}
${printing_packaging_factory_administrator_realname} = autotest_name_customer
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecops
${uecops}
headers=${operationbackend_header}
Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${printing_packaging_factory_id}","position":"${printing_packaging_factory_employee_position}","realName":"${printing_packaging_factory_employee_realname}"}
${body}
${body} = {"enterpriseId":"665984836372140032","position":"ADMINISTRATOR","realName":"autotest_employee"}
Sends a POST request on a previously created HTTP Session.
uecops
/uec/admin/add/employee
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/add/employee
path_url=/uec/admin/add/employee
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '95'}
body=b'{"enterpriseId":"665984836372140032","position":"ADMINISTRATOR","realName":"autotest_employee"}'
POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/add/employee
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:07 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/packaging-printing-mill/base-info/${printing_packaging_factory_id}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill/base-info/665984836372140032
path_url=/cloud-print-user-center/admin/get/packaging-printing-mill/base-info/665984836372140032
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill/base-info/665984836372140032
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"enterprise":{"id":"665984836372140032","isDelete":0,"createTime":"2021-12-08 15:47:04","updateTime":"2021-12-08 15:47:06","creatorId":"0","editorId":"0","name":"autotest_printing_packaging_factory_name","uniformSocialCreditCode":"autotest_91440101MA59F2J10M","status":0,"locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440106,"locDistrictName":"天河区","locStreetId":440106003,"locStreetName":"车陂街道","locDetail":"autotest_printing_packaging_factory_locdetail","receiptRequirement":null,"legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonMobile":"13800138000","legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","type":2,"shortName":"autotest_shortname","registeredCapital":999,"businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","regAddrLongitude":null,"regAddrLatitude":null,"birthday":"2021-12-08","incomeInPastTwoYears":100.0000,"businessType":"02","cooperationTime":"2021-12","fullAddress":"广东省广州市天河区车陂街道autotest_printing_packaging_factory_locdetail"},"factory":{"id":"665984846811762688","enterpriseId":"665984836372140032","locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440106,"locDistrictName":"天河区","locStreetId":440106003,"locStreetName":"车陂街道","locDetail":"autotest_printing_packaging_factory_locdetail","locLongitude":"113.40119","locLatitude":"23.115953","floorSpace":null,"leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","businessAnnualVolume":"9990000","mainProducts":"autotest_mainproducts","contactName":null,"contactMobile":null,"name":null},"enterpriseShippingAddressList":[{"id":"665984851178033152","isDelete":0,"createTime":"2021-12-08 15:47:08","updateTime":"2021-12-08 15:47:08","creatorId":null,"editorId":null,"enterpriseId":"665984836372140032","provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","detail":"autotest_printing_packaging_factory_locdetail","receiver":null,"receiverMobile":null,"receiveEnterpriseName":null,"isDefault":0}]}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'enterprise': {'id': '665984836372140032', 'isDelete': 0, 'createTime': '2021-12-08 15:47:04', 'updateTime': '2021-12-08 15:47:06', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_printing_packaging_factory_name', 'uniformSocialCreditCode': 'autotest_91440101MA59F2J10M', 'status': 0, 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440106, 'locDistrictName': '天河区', 'locStreetId': 440106003, 'locStreetName': '车陂街道', 'locDetail': 'autotest_printing_packaging_factory_locdetail', 'receiptRequirement': None, 'legalPersonName': 'autotest_legalperson', 'legalPersonIdCardNo': 'autotest_legalpersonidcardno', 'legalPersonMobile': '13800138000', 'legalPersonIdCardFrontImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'legalPersonIdCardBackImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'type': 2, 'shortName': 'autotest_shortname', 'registeredCapital': 999, 'businessLicenseImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'regAddrLongitude': None, 'regAddrLatitude': None, 'birthday': '2021-12-08', 'incomeInPastTwoYears': 100.0, 'businessType': '02', 'cooperationTime': '2021-12', 'fullAddress': '广东省广州市天河区车陂街道autotest_printing_packaging_factory_locdetail'}, 'factory': {'id': '665984846811762688', 'enterpriseId': '665984836372140032', 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440106, 'locDistrictName': '天河区', 'locStreetId': 440106003, 'locStreetName': '车陂街道', 'locDetail': 'autotest_printing_packaging_factory_locdetail', 'locLongitude': '113.40119', 'locLatitude': '23.115953', 'floorSpace': None, 'leaseContractImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'factoryPhotos': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'businessAnnualVolume': '9990000', 'mainProducts': 'autotest_mainproducts', 'contactName': None, 'contactMobile': None, 'name': None}, 'enterpriseShippingAddressList': [{'id': '665984851178033152', 'isDelete': 0, 'createTime': '2021-12-08 15:47:08', 'updateTime': '2021-12-08 15:47:08', 'creatorId': None, 'editorId': None, 'enterpriseId': '665984836372140032', 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'detail': 'autotest_printing_packaging_factory_locdetail', 'receiver': None, 'receiverMobile': None, 'receiveEnterpriseName': None, 'isDefault': 0}]}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_name}
${response.json()["data"]["enterprise"]["name"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_shortname}
${response.json()["data"]["enterprise"]["shortName"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_legalpersonname}
${response.json()["data"]["enterprise"]["legalPersonName"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/packaging-printing-mill/settlement-account-info/${printing_packaging_factory_id}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill/settlement-account-info/665984836372140032
path_url=/cloud-print-user-center/admin/get/packaging-printing-mill/settlement-account-info/665984836372140032
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill/settlement-account-info/665984836372140032
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"enterpriseCredit":{"id":null,"enterpriseId":null,"enterpriseName":null,"enterpriseType":null,"legalpersonName":null,"legalpersonIdNo":null,"purpose":null,"creditLine":null,"usedCreditLine":null,"availableCreditLine":null,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":null,"createTime":null,"isDelete":null,"paperSettlementIntervalTypeId":null,"totalUsed":null},"enterpriseScrapPaperCredit":{"id":"665984851442274304","isDelete":0,"createTime":"2021-12-08 15:47:07","updateTime":"2021-12-08 15:47:07","enterpriseId":"665984836372140032","deposit":990000.00,"earnest":900000.00,"totalUsed":90000.00},"enterprisePrivateAccountList":[{"id":"665984851689738240","cardholderName":"autotest_name","openingBank":"autotest_openingbank","bankCardNumber":"autotest_bankcardnumber","mobilePhone":null,"enterpriseId":"665984836372140032","isDelete":0,"createTime":"2021-12-08 15:47:08","updateTime":"2021-12-08 15:47:08"}],"enterprisePaperExternalSettlementAccountList":[],"enterpriseFeisuanCredit":null}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'enterpriseCredit': {'id': None, 'enterpriseId': None, 'enterpriseName': None, 'enterpriseType': None, 'legalpersonName': None, 'legalpersonIdNo': None, 'purpose': None, 'creditLine': None, 'usedCreditLine': None, 'availableCreditLine': None, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': None, 'createTime': None, 'isDelete': None, 'paperSettlementIntervalTypeId': None, 'totalUsed': None}, 'enterpriseScrapPaperCredit': {'id': '665984851442274304', 'isDelete': 0, 'createTime': '2021-12-08 15:47:07', 'updateTime': '2021-12-08 15:47:07', 'enterpriseId': '665984836372140032', 'deposit': 990000.0, 'earnest': 900000.0, 'totalUsed': 90000.0}, 'enterprisePrivateAccountList': [{'id': '665984851689738240', 'cardholderName': 'autotest_name', 'openingBank': 'autotest_openingbank', 'bankCardNumber': 'autotest_bankcardnumber', 'mobilePhone': None, 'enterpriseId': '665984836372140032', 'isDelete': 0, 'createTime': '2021-12-08 15:47:08', 'updateTime': '2021-12-08 15:47:08'}], 'enterprisePaperExternalSettlementAccountList': [], 'enterpriseFeisuanCredit': None}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecops
${uecops}
headers=${operationbackend_header}
Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
enterpriseId=${printing_packaging_factory_id}
${param}
${param} = enterpriseId=665984836372140032
Sends a GET request on a previously created HTTP Session.
uecops
/uec/admin/get/employee-list
params=${param}
${response}
GET Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/get/employee-list?enterpriseId=665984836372140032
path_url=/uec/admin/get/employee-list?enterpriseId=665984836372140032
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/get/employee-list?enterpriseId=665984836372140032
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:08 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984852495044608","userId":"665984809100775424","realName":"autotest_name_customer","position":"ADMINISTRATOR","mobile":"13012345678","nickName":null,"appFrom":"503258978847965388","appFromName":"千鸟云工厂","createTime":"2021-12-08 15:47:08","status":0,"title":"autotest_job_customer"},{"id":"665984852847366144","userId":"665984852759285760","realName":"autotest_employee","position":"ADMINISTRATOR","mobile":null,"nickName":null,"appFrom":"503258978847952999","appFromName":"跟单王运营后台","createTime":"2021-12-08 15:47:08","status":0,"title":null}],"total":2,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984852495044608', 'userId': '665984809100775424', 'realName': 'autotest_name_customer', 'position': 'ADMINISTRATOR', 'mobile': '13012345678', 'nickName': None, 'appFrom': '503258978847965388', 'appFromName': '千鸟云工厂', 'createTime': '2021-12-08 15:47:08', 'status': 0, 'title': 'autotest_job_customer'}, {'id': '665984852847366144', 'userId': '665984852759285760', 'realName': 'autotest_employee', 'position': 'ADMINISTRATOR', 'mobile': None, 'nickName': None, 'appFrom': '503258978847952999', 'appFromName': '跟单王运营后台', 'createTime': '2021-12-08 15:47:08', 'status': 0, 'title': None}], 'total': 2, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_administrator_mobile}
${response.json()["data"]["records"][0]["mobile"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_administrator_realname}
${response.json()["data"]["records"][0]["realName"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloud_factory_customer_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
2
${accounttype}
${accounttype} = 2
Returns the given values which can then be assigned to a variables.
13012345678
${account}
${account} = 13012345678
Returns the given values which can then be assigned to a variables.
{"accountType":${accounttype},"account":"${account}","captcha":"888888"}
${body}
${body} = {"accountType":2,"account":"13012345678","captcha":"888888"}
Sends a POST request on a previously created HTTP Session.
uecclient
/uec/authorize/by-captcha
${body}
${response}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw==', 'Content-Length': '60'}
body={"accountType":2,"account":"13012345678","captcha":"888888"}
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:08 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==","userId":"665984809100775424"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'userId': '665984809100775424'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
token
${gettoken_customer}
${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==
Makes a variable available globally in all tests and suites.
${gettoken_customer}
${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
userId
${userid_customer}
${userid_customer} = 665984809100775424
Makes a variable available globally in all tests and suites.
${userid_customer}
${userid_customer} = 665984809100775424
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloud_factory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"loginToken":"${gettoken_customer}"}
${body}
${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=="}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/authorize/get/product-line-token/by/login-token
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-user-center/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2LuWDDnaLHoE+6HPmYwg4sVw==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=="}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=="}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Runs the given keyword with the given arguments and ignores possible error.
Get From Dictionary
${response.json()}
data
${get_status}
${token}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${get_status} = PASS
${token} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==
Sets variable based on the given condition.
"${get_status}"=="FAIL"
${gettoken_customer}
"${token}"=="None"
${gettoken_customer}
${token}
${getlogintoken_customer}
Sets variable based on the given condition.
"${token}"=="None"
${gettoken_customer}
${token}
${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==
Makes a variable available globally in all tests and suites.
${getlogintoken_customer}
${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847965388
Authorization=${getlogintoken_customer}
&{cloudfactory_customer_header}
&{cloudfactory_customer_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA== }
Makes a variable available globally in all tests and suites.
${cloudfactory_customer_header}
${cloudfactory_customer_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"name":"${virtual_supplier_name}","shortName":"${virtual_supplier_shortName}","details":"${virtual_supplier_details}","contactName":"${virtual_supplier_contactname}","contactMoblie":"${virtual_supplier_contactmoblie}","provinceName":"${virtual_supplier_provincename}","cityName":"${virtual_supplier_cityname}","districtName":"${virtual_supplier_districtname}","streetName":"${virtual_supplier_streetname}","provinceId":${virtual_supplier_provinceid},"cityId":${virtual_supplier_cityid},"districtId":${virtual_supplier_districtid},"streetId":${virtual_supplier_streetid}}
${body}
${body} = {"name":"autotest_supplier_paper_name","shortName":"autotest_supplier_shortName","details":"autotest_supplier_paper_details","contactName":"autotest_supplier_paper_contactname","contactMoblie":"138001...
Makes a variable available everywhere within the scope of the current suite.
${virtual_supplier_name}
${virtual_supplier_name} = autotest_supplier_paper_name
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save
path_url=/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '389'}
body=b'{"name":"autotest_supplier_paper_name","shortName":"autotest_supplier_shortName","details":"autotest_supplier_paper_details","contactName":"autotest_supplier_paper_contactname","contactMoblie":"13800138000","provinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","cityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","districtName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","streetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","provinceId":440000,"cityId":440100,"districtId":440106,"streetId":440106003}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"id":"665984854726414336","name":"autotest_supplier_paper_name"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984854726414336', 'name': 'autotest_supplier_paper_name'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${virtual_supplier_name}
${response.json()["data"]["name"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/supplier/directsalestore/virtual-supplier/page
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/supplier/directsalestore/virtual-supplier/page
path_url=/trading-center/admin/supplier/directsalestore/virtual-supplier/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/supplier/directsalestore/virtual-supplier/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:09 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"isDelete":false,"createTime":"2021-12-08T15:47:08","updateTime":"2021-12-08T15:47:08","id":"665984854726414336","enterpriseId":null,"name":"autotest_supplier_paper_name","status":1,"type":0,"creatorId":null,"editorId":null,"provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","details":"autotest_supplier_paper_details","contactName":"autotest_supplier_paper_contactname","contactMoblie":"13800138000","managementModel":0,"isShowSupplierNameOnClient":null,"shortName":"autotest_supplier_shortName","uniformSocialCreditCode":null,"openAccountStatus":0,"openAccountStatusStr":"未开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"665984854726414336","createTimeStr":"2021-12-08 15:47:08"},{"isDelete":false,"createTime":"2021-11-30T14:51:18","updateTime":"2021-12-06T10:23:31","id":"663071699738169344","enterpriseId":"665178639104610304","name":"234","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":120000,"provinceName":"天津","cityId":120100,"cityName":"天津市","districtId":120101,"districtName":"和平区","streetId":120101002,"streetName":"小白楼街道","details":"23444","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"234","uniformSocialCreditCode":"23444","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"663071699738169344","createTimeStr":"2021-11-30 14:51:18"},{"isDelete":false,"createTime":"2021-11-01T14:57:51","updateTime":"2021-11-17T16:03:49","id":"652564100836102144","enterpriseId":"652591307126083584","name":"2为人妻我让请问请问","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":120000,"provinceName":"天津","cityId":120100,"cityName":"天津市","districtId":120101,"districtName":"和平区","streetId":120101004,"streetName":"新兴街道","details":"2为人妻我让请问请问","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"213","uniformSocialCreditCode":"2为人妻我让请问请问","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652564100836102144","createTimeStr":"2021-11-01 14:57:51"},{"isDelete":false,"createTime":"2021-11-01T14:49:37","updateTime":"2021-11-01T14:49:37","id":"652562031479754752","enterpriseId":null,"name":"wwww","status":1,"type":0,"creatorId":null,"editorId":null,"provinceId":null,"provinceName":null,"cityId":null,"cityName":null,"districtId":null,"districtName":null,"streetId":null,"streetName":null,"details":null,"contactName":null,"contactMoblie":null,"managementModel":0,"isShowSupplierNameOnClient":null,"shortName":"w","uniformSocialCreditCode":null,"openAccountStatus":0,"openAccountStatusStr":"未开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652562031479754752","createTimeStr":"2021-11-01 14:49:37"},{"isDelete":false,"createTime":"2021-11-01T14:48:58","updateTime":"2021-11-01T14:48:58","id":"652561865410482176","enterpriseId":null,"name":"axxxx","status":1,"type":0,"creatorId":null,"editorId":null,"provinceId":null,"provinceName":null,"cityId":null,"cityName":null,"districtId":null,"districtName":null,"streetId":null,"streetName":null,"details":null,"contactName":null,"contactMoblie":null,"managementModel":0,"isShowSupplierNameOnClient":null,"shortName":"x","uniformSocialCreditCode":null,"openAccountStatus":0,"openAccountStatusStr":"未开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652561865410482176","createTimeStr":"2021-11-01 14:48:58"},{"isDelete":false,"createTime":"2021-11-01T14:46:39","updateTime":"2021-11-17T17:07:39","id":"652561283912175616","enterpriseId":"658394971832979456","name":"1231243","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":120000,"provinceName":"天津","cityId":120100,"cityName":"天津市","districtId":120101,"districtName":"和平区","streetId":120101001,"streetName":"劝业场街道","details":"1231243","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":null,"uniformSocialCreditCode":"1231243","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652561283912175616","createTimeStr":"2021-11-01 14:46:39"},{"isDelete":false,"createTime":"2021-11-01T14:37:39","updateTime":"2021-11-01T14:46:33","id":"652559018459533312","enterpriseId":"652561257320288256","name":"未开户供应商","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":130000,"provinceName":"河北省","cityId":130100,"cityName":"石家庄市","districtId":130102,"districtName":"长安区","streetId":130102002,"streetName":"青园街道","details":"未开户供应商","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":null,"uniformSocialCreditCode":"未开户供应商","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652559018459533312","createTimeStr":"2021-11-01 14:37:39"},{"isDelete":false,"createTime":"2021-10-29T16:53:22","updateTime":"2021-10-29T18:01:29","id":"651506009763876864","enterpriseId":"651506075723501568","name":"1234123123","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":110000,"provinceName":"","cityId":110100,"cityName":"","districtId":110101,"districtName":"","streetId":110101001,"streetName":"","details":"231332","contactName":"1234123123","contactMoblie":"1234123123","managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"","uniformSocialCreditCode":"12131321313231","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"651506009763876864","createTimeStr":"2021-10-29 16:53:22"},{"isDelete":false,"createTime":"2021-10-28T15:12:53","updateTime":"2021-10-29T16:51:46","id":"651118331750912000","enterpriseId":"651128601827217408","name":"统计供应商","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","details":"统计供应商","contactName":"统计供应商","contactMoblie":"统计供应商","managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"统计供应商","uniformSocialCreditCode":"统计供应商","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":4,"fddStatusStr":"认证完成","replyNum":2,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"651118331750912000","createTimeStr":"2021-10-28 15:12:53"},{"isDelete":false,"createTime":"2021-10-28T11:00:55","updateTime":"2021-10-28T16:00:24","id":"651054924326637568","enterpriseId":"651130293138362368","name":"5645646457","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":120000,"provinceName":"天津","cityId":120100,"cityName":"天津市","districtId":120101,"districtName":"和平区","streetId":120101002,"streetName":"小白楼街道","details":"5645646457","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"124334","uniformSocialCreditCode":"5645646457","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"651054924326637568","createTimeStr":"2021-10-28 11:00:55"}],"total":66,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":7}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'isDelete': False, 'createTime': '2021-12-08T15:47:08', 'updateTime': '2021-12-08T15:47:08', 'id': '665984854726414336', 'enterpriseId': None, 'name': 'autotest_supplier_paper_name', 'status': 1, 'type': 0, 'creatorId': None, 'editorId': None, 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'details': 'autotest_supplier_paper_details', 'contactName': 'autotest_supplier_paper_contactname', 'contactMoblie': '13800138000', 'managementModel': 0, 'isShowSupplierNameOnClient': None, 'shortName': 'autotest_supplier_shortName', 'uniformSocialCreditCode': None, 'openAccountStatus': 0, 'openAccountStatusStr': '未开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '665984854726414336', 'createTimeStr': '2021-12-08 15:47:08'}, {'isDelete': False, 'createTime': '2021-11-30T14:51:18', 'updateTime': '2021-12-06T10:23:31', 'id': '663071699738169344', 'enterpriseId': '665178639104610304', 'name': '234', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 120000, 'provinceName': '天津', 'cityId': 120100, 'cityName': '天津市', 'districtId': 120101, 'districtName': '和平区', 'streetId': 120101002, 'streetName': '小白楼街道', 'details': '23444', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '234', 'uniformSocialCreditCode': '23444', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '663071699738169344', 'createTimeStr': '2021-11-30 14:51:18'}, {'isDelete': False, 'createTime': '2021-11-01T14:57:51', 'updateTime': '2021-11-17T16:03:49', 'id': '652564100836102144', 'enterpriseId': '652591307126083584', 'name': '2为人妻我让请问请问', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 120000, 'provinceName': '天津', 'cityId': 120100, 'cityName': '天津市', 'districtId': 120101, 'districtName': '和平区', 'streetId': 120101004, 'streetName': '新兴街道', 'details': '2为人妻我让请问请问', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '213', 'uniformSocialCreditCode': '2为人妻我让请问请问', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652564100836102144', 'createTimeStr': '2021-11-01 14:57:51'}, {'isDelete': False, 'createTime': '2021-11-01T14:49:37', 'updateTime': '2021-11-01T14:49:37', 'id': '652562031479754752', 'enterpriseId': None, 'name': 'wwww', 'status': 1, 'type': 0, 'creatorId': None, 'editorId': None, 'provinceId': None, 'provinceName': None, 'cityId': None, 'cityName': None, 'districtId': None, 'districtName': None, 'streetId': None, 'streetName': None, 'details': None, 'contactName': None, 'contactMoblie': None, 'managementModel': 0, 'isShowSupplierNameOnClient': None, 'shortName': 'w', 'uniformSocialCreditCode': None, 'openAccountStatus': 0, 'openAccountStatusStr': '未开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652562031479754752', 'createTimeStr': '2021-11-01 14:49:37'}, {'isDelete': False, 'createTime': '2021-11-01T14:48:58', 'updateTime': '2021-11-01T14:48:58', 'id': '652561865410482176', 'enterpriseId': None, 'name': 'axxxx', 'status': 1, 'type': 0, 'creatorId': None, 'editorId': None, 'provinceId': None, 'provinceName': None, 'cityId': None, 'cityName': None, 'districtId': None, 'districtName': None, 'streetId': None, 'streetName': None, 'details': None, 'contactName': None, 'contactMoblie': None, 'managementModel': 0, 'isShowSupplierNameOnClient': None, 'shortName': 'x', 'uniformSocialCreditCode': None, 'openAccountStatus': 0, 'openAccountStatusStr': '未开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652561865410482176', 'createTimeStr': '2021-11-01 14:48:58'}, {'isDelete': False, 'createTime': '2021-11-01T14:46:39', 'updateTime': '2021-11-17T17:07:39', 'id': '652561283912175616', 'enterpriseId': '658394971832979456', 'name': '1231243', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 120000, 'provinceName': '天津', 'cityId': 120100, 'cityName': '天津市', 'districtId': 120101, 'districtName': '和平区', 'streetId': 120101001, 'streetName': '劝业场街道', 'details': '1231243', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': None, 'uniformSocialCreditCode': '1231243', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652561283912175616', 'createTimeStr': '2021-11-01 14:46:39'}, {'isDelete': False, 'createTime': '2021-11-01T14:37:39', 'updateTime': '2021-11-01T14:46:33', 'id': '652559018459533312', 'enterpriseId': '652561257320288256', 'name': '未开户供应商', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 130000, 'provinceName': '河北省', 'cityId': 130100, 'cityName': '石家庄市', 'districtId': 130102, 'districtName': '长安区', 'streetId': 130102002, 'streetName': '青园街道', 'details': '未开户供应商', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': None, 'uniformSocialCreditCode': '未开户供应商', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652559018459533312', 'createTimeStr': '2021-11-01 14:37:39'}, {'isDelete': False, 'createTime': '2021-10-29T16:53:22', 'updateTime': '2021-10-29T18:01:29', 'id': '651506009763876864', 'enterpriseId': '651506075723501568', 'name': '1234123123', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 110000, 'provinceName': '', 'cityId': 110100, 'cityName': '', 'districtId': 110101, 'districtName': '', 'streetId': 110101001, 'streetName': '', 'details': '231332', 'contactName': '1234123123', 'contactMoblie': '1234123123', 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '', 'uniformSocialCreditCode': '12131321313231', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '651506009763876864', 'createTimeStr': '2021-10-29 16:53:22'}, {'isDelete': False, 'createTime': '2021-10-28T15:12:53', 'updateTime': '2021-10-29T16:51:46', 'id': '651118331750912000', 'enterpriseId': '651128601827217408', 'name': '统计供应商', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'details': '统计供应商', 'contactName': '统计供应商', 'contactMoblie': '统计供应商', 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '统计供应商', 'uniformSocialCreditCode': '统计供应商', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': 4, 'fddStatusStr': '认证完成', 'replyNum': 2, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '651118331750912000', 'createTimeStr': '2021-10-28 15:12:53'}, {'isDelete': False, 'createTime': '2021-10-28T11:00:55', 'updateTime': '2021-10-28T16:00:24', 'id': '651054924326637568', 'enterpriseId': '651130293138362368', 'name': '5645646457', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 120000, 'provinceName': '天津', 'cityId': 120100, 'cityName': '天津市', 'districtId': 120101, 'districtName': '和平区', 'streetId': 120101002, 'streetName': '小白楼街道', 'details': '5645646457', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '124334', 'uniformSocialCreditCode': '5645646457', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '651054924326637568', 'createTimeStr': '2021-10-28 11:00:55'}], 'total': 66, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'optimizeCountSql': True, 'hitCount': False, 'countId': None, 'maxLimit': None, 'searchCount': True, 'pages': 7}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${supplier_paper_id}
${supplier_paper_id} = 665984854726414336
Makes a variable available globally in all tests and suites.
${supplier_paper_id}
${supplier_paper_id} = 665984854726414336
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operation_backend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"id":"${supplier_paper_id}","status":1}
${body}
${body} = {"id":"665984854726414336","status":1}
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/updatestatus
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/updatestatus
path_url=/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/updatestatus
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '38'}
body=b'{"id":"665984854726414336","status":1}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/updatestatus
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"supplierId":"${supplier_paper_id}","enterprise":{"name":"${supplier_paper_name}","locDetail":"${supplier_paper_locDetail}","type":${supplier_paper_type},"uniformSocialCreditCode":"${supplier_paper_uniformSocialCreditCode}","legalPersonIdCardNo":"${supplier_paper_legalPersonIdCardNo}","legalPersonName":"${supplier_paper_legalPersonName}","paperSettlementIntervalTypeId":"${supplier_paper_paperSettlementIntervalTypeId}","locProvinceId":${supplier_paper_locProvinceId},"locCityId":${supplier_paper_locCityId},"locDistrictId":${supplier_paper_locDistrictId},"locStreetId":${supplier_paper_locStreetId},"legalPersonIdCardFrontImg":"${supplier_paper_legalPersonIdCardFrontImg}","legalPersonIdCardBackImg":"${supplier_paper_legalPersonIdCardBackImg}","businessLicenseImg":"${supplier_paper_businessLicenseImg}"},"enterpriseContacts":{"name":"${supplier_paper_contactsname}","mobilePhone":"${supplier_paper_mobilePhone}","telephone":"${supplier_paper_telephone}","email":"${supplier_paper_email}","wechatAccount":"${supplier_paper_wechatAccount}","remark":"${supplier_paper_remark}"},"enterpriseCorporateAccount":{"bankAccountName":"${supplier_paper_bankAccountName}","bankAccount":"${supplier_paper_bankAccount}","bankName":"${supplier_paper_bankName}","accountOpeningBranch":"${supplier_paper_accountOpeningBranch}","locationBank":"${supplier_paper_locationBank}"}}
${body}
${body} = {"supplierId":"665984854726414336","enterprise":{"name":"autotest_supplier_paper_name","locDetail":"autotest_supplier_paper_details","type":5,"uniformSocialCreditCode":"autotest91440101MA59F2J10M","le...
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/create/enterprise/with/supplier
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/create/enterprise/with/supplier
path_url=/cloud-print-user-center/admin/create/enterprise/with/supplier
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '1215'}
body=b'{"supplierId":"665984854726414336","enterprise":{"name":"autotest_supplier_paper_name","locDetail":"autotest_supplier_paper_details","type":5,"uniformSocialCreditCode":"autotest91440101MA59F2J10M","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonName":"autotest_legalperson","paperSettlementIntervalTypeId":"1","locProvinceId":440000,"locCityId":440100,"locDistrictId":440106,"locStreetId":440106003,"legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},"enterpriseContacts":{"name":"autotest_contactsname","mobilePhone":"autotest_mobilePhone","telephone":"autotest_telephone","email":"autotest_email","wechatAccount":"autotest_wechatAccount","remark":"autotest_remark"},"enterpriseCorporateAccount":{"bankAccountName":"autotest_bankAccountName","bankAccount":"autotest_bankAccount","bankName":"autotest_bankName","accountOpeningBranch":"autotest_accountOpeningBranch","locationBank":"autotest_locationBank"}}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/create/enterprise/with/supplier
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Makes a variable available globally in all tests and suites.
${supplier_paper_name}
${supplier_paper_name} = autotest_supplier_paper_name
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
name=${virtual_supplier_name}
${param}
${param} = name=autotest_supplier_paper_name
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/supplier/directsalestore/virtual-supplier/page
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/supplier/directsalestore/virtual-supplier/page?name=autotest_supplier_paper_name
path_url=/trading-center/admin/supplier/directsalestore/virtual-supplier/page?name=autotest_supplier_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/supplier/directsalestore/virtual-supplier/page?name=autotest_supplier_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:10 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"isDelete":false,"createTime":"2021-12-08T15:47:08","updateTime":"2021-12-08T15:47:09","id":"665984854726414336","enterpriseId":"665984859935739904","name":"autotest_supplier_paper_name","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","details":"autotest_supplier_paper_details","contactName":"autotest_supplier_paper_contactname","contactMoblie":"13800138000","managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"autotest_supplier_shortName","uniformSocialCreditCode":"autotest91440101MA59F2J10M","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"665984854726414336","createTimeStr":"2021-12-08 15:47:08"}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.status_code}
200
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'isDelete': False, 'createTime': '2021-12-08T15:47:08', 'updateTime': '2021-12-08T15:47:09', 'id': '665984854726414336', 'enterpriseId': '665984859935739904', 'name': 'autotest_supplier_paper_name', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'details': 'autotest_supplier_paper_details', 'contactName': 'autotest_supplier_paper_contactname', 'contactMoblie': '13800138000', 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': 'autotest_supplier_shortName', 'uniformSocialCreditCode': 'autotest91440101MA59F2J10M', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '665984854726414336', 'createTimeStr': '2021-12-08 15:47:08'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'optimizeCountSql': True, 'hitCount': False, 'countId': None, 'maxLimit': None, 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
enterpriseId
${supplier_enterprise_id}
${supplier_enterprise_id} = 665984859935739904
Makes a variable available globally in all tests and suites.
${supplier_enterprise_id}
${supplier_enterprise_id} = 665984859935739904
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"id":"${supplier_enterprise_id}","createTime":null,"updateTime":"${current_date_second}","name":"${supplier_paper_base_info_name}","shortName":"${supplier_paper_base_info_shortName}","receiptRequirement":null,"legalPersonName":"${supplier_paper_base_info_legalPersonName}","legalPersonIdCardNo":"${supplier_paper_base_info_legalPersonIdCardNo}","legalPersonMobile":"${supplier_paper_base_info_legalPersonMobile}","type":${supplier_paper_base_info_type},"registeredCapital":999,"regAddrLongitude":null,"regAddrLatitude":null,"supplierId":null,"annualTurnover":100,"uniformSocialCreditCode":"${supplier_paper_base_info_uniformSocialCreditCode}","locProvinceId":${supplier_paper_base_info_locProvinceId},"locProvinceName":"${supplier_paper_base_info_locprovincename}","locCityId":${supplier_paper_base_info_locCityId},"locCityName":"${supplier_paper_base_info_loccityname}","locDistrictId":${supplier_paper_base_info_locDistrictId},"locDistrictName":"${supplier_paper_base_info_locdistrictname}","locStreetId":${supplier_paper_base_info_locStreetId},"locStreetName":"${supplier_paper_base_info_locstreetname}","locDetail":"${supplier_paper_base_info_locDetail}","businessLicenseImg":"${supplier_paper_base_info_businessLicenseImg}","legalPersonIdCardFrontImg":"${supplier_paper_base_info_legalPersonIdCardFrontImg}","legalPersonIdCardBackImg":"${supplier_paper_base_info_legalPersonIdCardBackImg}"}
${body}
${body} = {"id":"665984859935739904","createTime":null,"updateTime":"2021-12-08 15:46:56","name":"autotest_supplier_paper_name","shortName":"autotest_shortName","receiptRequirement":null,"legalPersonName":"auto...
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/supplier/base-info
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/supplier/base-info
path_url=/cloud-print-user-center/admin/save/supplier/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '1074'}
body=b'{"id":"665984859935739904","createTime":null,"updateTime":"2021-12-08 15:46:56","name":"autotest_supplier_paper_name","shortName":"autotest_shortName","receiptRequirement":null,"legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonMobile":"13800138000","type":5,"registeredCapital":999,"regAddrLongitude":null,"regAddrLatitude":null,"supplierId":null,"annualTurnover":100,"uniformSocialCreditCode":"autotest91440101MA59F2J10M","locProvinceId":440000,"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityId":440100,"locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictId":440106,"locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetId":440106003,"locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","locDetail":"autotest_supplier_paper_details","businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/supplier/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${supplier_enterprise_id}","mainCategoryBrandId":"599233095564136448","mainCategoryId":"638458876659896320","mainProducts":"638458876659896320"}
${body}
${body} = {"enterpriseId":"665984859935739904","mainCategoryBrandId":"599233095564136448","mainCategoryId":"638458876659896320","mainProducts":"638458876659896320"}
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/supplier/main-products
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/supplier/main-products
path_url=/cloud-print-user-center/admin/save/supplier/main-products
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '154'}
body=b'{"enterpriseId":"665984859935739904","mainCategoryBrandId":"599233095564136448","mainCategoryId":"638458876659896320","mainProducts":"638458876659896320"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/supplier/main-products
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${supplier_enterprise_id}","factoryList":[{"locProvinceName":"${supplier_factory_locprovincename}","locCityName":"${supplier_factory_loccityname}","locDistrictName":"${supplier_factory_locdistrictname}","locStreetName":"${supplier_factory_locstreetname}","locDetail":"${supplier_factory_locDetail}","locProvinceId":${supplier_factory_locProvinceId},"locCityId":${supplier_factory_locCityId},"locDistrictId":${supplier_factory_locDistrictId},"locStreetId":${supplier_factory_locStreetId},"leaseContractImg":"${supplier_factory_leaseContractImg}","factoryPhotos":"${supplier_factory_factoryPhotos}"}]}
${body}
${body} = {"enterpriseId":"665984859935739904","factoryList":[{"locProvinceName":"广东省","locCityName":"广州市","locDistrictName":"天河区","locStreetName":"车陂街道","locDetail":"autotest_supplier_factory_details","locProv...
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/factory-list
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/factory-list
path_url=/cloud-print-user-center/admin/save/factory-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '522'}
body=b'{"enterpriseId":"665984859935739904","factoryList":[{"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","locDetail":"autotest_supplier_factory_details","locProvinceId":440000,"locCityId":440100,"locDistrictId":440106,"locStreetId":440106003,"leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}]}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/factory-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecops
${uecops}
headers=${operationbackend_header}
Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${supplier_enterprise_id}","list":[{"cardholderName":"${supplier_private_account_cardholderName} ","bankCardNumber":"${supplier_private_account_bankCardNumber}","openingBank":"${supplier_private_account_openingBank} "}]}
${body}
${body} = {"enterpriseId":"665984859935739904","list":[{"cardholderName":"autotest_cardholder ","bankCardNumber":"autotest_bankcardnumber","openingBank":"autotest_openingbank "}]}
Sends a POST request on a previously created HTTP Session.
uecops
/uec/admin/save/enterprise/private-account
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise/private-account
path_url=/uec/admin/save/enterprise/private-account
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '169'}
body=b'{"enterpriseId":"665984859935739904","list":[{"cardholderName":"autotest_cardholder ","bankCardNumber":"autotest_bankcardnumber","openingBank":"autotest_openingbank "}]}'
POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise/private-account
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${supplier_enterprise_id}","id":null,"name":"${supplier_machine_name}","machineType":"${supplier_machineType}"}
${body}
${body} = {"enterpriseId":"665984859935739904","id":null,"name":"autotest_supplier_machine_name","machineType":"10"}
Sends a POST request on a previously created HTTP Session.
yytops
/capacity-market/add/pc-machine
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/capacity-market/add/pc-machine
path_url=/capacity-market/add/pc-machine
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '106'}
body=b'{"enterpriseId":"665984859935739904","id":null,"name":"autotest_supplier_machine_name","machineType":"10"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/capacity-market/add/pc-machine
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":"665984874733244416"}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': '665984874733244416'}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enterpriseId":"${supplier_enterprise_id}","realName":"${supplier_enterprise_administrator_realname}","mobile":${supplier_enterprise_administrator_mobile},"position":"${supplier_enterprise_administrator_position}"}
${body}
${body} = {"enterpriseId":"665984859935739904","realName":"autotest_name_supplier","mobile":13123456789,"position":"ADMINISTRATOR"}
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/save/user/to/enterprise
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/user/to/enterprise
path_url=/cloud-print-user-center/admin/save/user/to/enterprise
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '121'}
body=b'{"enterpriseId":"665984859935739904","realName":"autotest_name_supplier","mobile":13123456789,"position":"ADMINISTRATOR"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/user/to/enterprise
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Makes a variable available globally in all tests and suites.
${supplier_enterprise_administrator_mobile}
${supplier_enterprise_administrator_mobile} = 13123456789
Makes a variable available everywhere within the scope of the current suite.
${supplier_enterprise_administrator_realname}
${supplier_enterprise_administrator_realname} = autotest_name_supplier
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/supplier/base-info/${supplier_enterprise_id}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/supplier/base-info/665984859935739904
path_url=/cloud-print-user-center/admin/get/supplier/base-info/665984859935739904
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/supplier/base-info/665984859935739904
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"enterprise":{"id":"665984859935739904","isDelete":0,"createTime":"2021-12-08 15:47:10","updateTime":"2021-12-08 15:47:11","creatorId":"0","editorId":"0","name":"autotest_supplier_paper_name","uniformSocialCreditCode":"autotest91440101MA59F2J10M","status":0,"locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440106,"locDistrictName":"天河区","locStreetId":440106003,"locStreetName":"车陂街道","locDetail":"autotest_supplier_paper_details","receiptRequirement":null,"legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonMobile":"13800138000","legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","type":5,"shortName":"autotest_shortName","registeredCapital":999,"businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","regAddrLongitude":"113.40119","regAddrLatitude":"23.115953","supplierId":null,"annualTurnover":100.00,"fullAddress":"广东省广州市天河区车陂街道autotest_supplier_paper_details"},"mainProducts":{"enterpriseId":665984859935739904,"mainProducts":"638458876659896320","mainCategoryId":"638458876659896320","mainCategoryName":null,"mainCategoryBrandId":"599233095564136448","mainCategoryBrandName":null},"factoryList":[{"id":"665984870035623936","enterpriseId":"665984859935739904","locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440106,"locDistrictName":"天河区","locStreetId":440106003,"locStreetName":"车陂街道","locDetail":"autotest_supplier_factory_details","locLongitude":"113.40119","locLatitude":"23.115953","floorSpace":null,"leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","businessAnnualVolume":null,"mainProducts":null,"contactName":null,"contactMobile":null,"name":null}]}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'enterprise': {'id': '665984859935739904', 'isDelete': 0, 'createTime': '2021-12-08 15:47:10', 'updateTime': '2021-12-08 15:47:11', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_supplier_paper_name', 'uniformSocialCreditCode': 'autotest91440101MA59F2J10M', 'status': 0, 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440106, 'locDistrictName': '天河区', 'locStreetId': 440106003, 'locStreetName': '车陂街道', 'locDetail': 'autotest_supplier_paper_details', 'receiptRequirement': None, 'legalPersonName': 'autotest_legalperson', 'legalPersonIdCardNo': 'autotest_legalpersonidcardno', 'legalPersonMobile': '13800138000', 'legalPersonIdCardFrontImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'legalPersonIdCardBackImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'type': 5, 'shortName': 'autotest_shortName', 'registeredCapital': 999, 'businessLicenseImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'regAddrLongitude': '113.40119', 'regAddrLatitude': '23.115953', 'supplierId': None, 'annualTurnover': 100.0, 'fullAddress': '广东省广州市天河区车陂街道autotest_supplier_paper_details'}, 'mainProducts': {'enterpriseId': 665984859935739904, 'mainProducts': '638458876659896320', 'mainCategoryId': '638458876659896320', 'mainCategoryName': None, 'mainCategoryBrandId': '599233095564136448', 'mainCategoryBrandName': None}, 'factoryList': [{'id': '665984870035623936', 'enterpriseId': '665984859935739904', 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440106, 'locDistrictName': '天河区', 'locStreetId': 440106003, 'locStreetName': '车陂街道', 'locDetail': 'autotest_supplier_factory_details', 'locLongitude': '113.40119', 'locLatitude': '23.115953', 'floorSpace': None, 'leaseContractImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'factoryPhotos': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'businessAnnualVolume': None, 'mainProducts': None, 'contactName': None, 'contactMobile': None, 'name': None}]}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/get/supplier/settlement-account-info/${supplier_enterprise_id}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/supplier/settlement-account-info/665984859935739904
path_url=/cloud-print-user-center/admin/get/supplier/settlement-account-info/665984859935739904
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/supplier/settlement-account-info/665984859935739904
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"settlementInfo":{"enterpriseId":"665984859935739904","createTime":"2021-12-08 15:47:09","creatorName":"梁金满","paperSettlementIntervalTypeId":"1","totalPayable":0.00,"totalTrade":0.00},"enterprisePrivateAccountList":[{"id":"665984874506752000","cardholderName":"autotest_cardholder ","openingBank":"autotest_openingbank ","bankCardNumber":"autotest_bankcardnumber","mobilePhone":null,"enterpriseId":"665984859935739904","isDelete":0,"createTime":"2021-12-08 15:47:13","updateTime":"2021-12-08 15:47:13"}]}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'settlementInfo': {'enterpriseId': '665984859935739904', 'createTime': '2021-12-08 15:47:09', 'creatorName': '梁金满', 'paperSettlementIntervalTypeId': '1', 'totalPayable': 0.0, 'totalTrade': 0.0}, 'enterprisePrivateAccountList': [{'id': '665984874506752000', 'cardholderName': 'autotest_cardholder ', 'openingBank': 'autotest_openingbank ', 'bankCardNumber': 'autotest_bankcardnumber', 'mobilePhone': None, 'enterpriseId': '665984859935739904', 'isDelete': 0, 'createTime': '2021-12-08 15:47:13', 'updateTime': '2021-12-08 15:47:13'}]}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
supplierEnterpriseId=${supplier_enterprise_id}
${param}
${param} = supplierEnterpriseId=665984859935739904
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/get/employee-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/get/employee-list?supplierEnterpriseId=665984859935739904
path_url=/cloud-print-user-center/get/employee-list?supplierEnterpriseId=665984859935739904
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/get/employee-list?supplierEnterpriseId=665984859935739904
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984875383361536","userId":"665984812997283840","realName":"autotest_name_supplier","position":"ADMINISTRATOR","mobile":"13123456789","nickName":null,"appFrom":"503258978847956666","appFromName":"千鸟纸多多","createTime":"2021-12-08 15:47:13","status":0,"idCardNo":null,"idCardImgs":null,"title":null,"enterpriseId":"665984859935739904","idCardImgsStr":null}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984875383361536', 'userId': '665984812997283840', 'realName': 'autotest_name_supplier', 'position': 'ADMINISTRATOR', 'mobile': '13123456789', 'nickName': None, 'appFrom': '503258978847956666', 'appFromName': '千鸟纸多多', 'createTime': '2021-12-08 15:47:13', 'status': 0, 'idCardNo': None, 'idCardImgs': None, 'title': None, 'enterpriseId': '665984859935739904', 'idCardImgsStr': None}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${supplier_enterprise_administrator_mobile}
${response.json()["data"]["records"][0]["mobile"]}
Fails if objects are unequal after converting them to strings.
${supplier_enterprise_administrator_realname}
${response.json()["data"]["records"][0]["realName"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operation_backend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
enterpriseId=${supplier_enterprise_id}
${param}
${param} = enterpriseId=665984859935739904
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/get/supplier/machine/page
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/get/supplier/machine/page?enterpriseId=665984859935739904
path_url=/cloud-print-user-center/get/supplier/machine/page?enterpriseId=665984859935739904
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/get/supplier/machine/page?enterpriseId=665984859935739904
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984874733244416","isDelete":0,"createTime":"2021-12-08 15:47:13","updateTime":"2021-12-08 15:47:13","enterpriseId":"665984859935739904","imgList":null,"purchaseAmount":null,"name":"autotest_supplier_machine_name","machineType":"10","machineTypeName":"烫金机","purchasingDate":null,"newnessDegree":null,"inputMaxSizeLength":null,"inputMaxSizeWidth":null,"inputMaxThickness":null,"lockSeam":null,"description":null,"model":null,"provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","longitude":"113.40119","latitude":"23.115953","capacity":null}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984874733244416', 'isDelete': 0, 'createTime': '2021-12-08 15:47:13', 'updateTime': '2021-12-08 15:47:13', 'enterpriseId': '665984859935739904', 'imgList': None, 'purchaseAmount': None, 'name': 'autotest_supplier_machine_name', 'machineType': '10', 'machineTypeName': '烫金机', 'purchasingDate': None, 'newnessDegree': None, 'inputMaxSizeLength': None, 'inputMaxSizeWidth': None, 'inputMaxThickness': None, 'lockSeam': None, 'description': None, 'model': None, 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'longitude': '113.40119', 'latitude': '23.115953', 'capacity': None}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
enterpriseId=${supplier_enterprise_id}
${param}
${param} = enterpriseId=665984859935739904
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/purchase-order-list/in/supplier-detail
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/purchase-order-list/in/supplier-detail?enterpriseId=665984859935739904
path_url=/trading-center/admin/get/purchase-order-list/in/supplier-detail?enterpriseId=665984859935739904
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/purchase-order-list/in/supplier-detail?enterpriseId=665984859935739904
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloud_factory_supplier_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
2
${accounttype}
${accounttype} = 2
Returns the given values which can then be assigned to a variables.
13123456789
${account}
${account} = 13123456789
Returns the given values which can then be assigned to a variables.
{"accountType":${accounttype},"account":"${account}","captcha":"888888"}
${body}
${body} = {"accountType":2,"account":"13123456789","captcha":"888888"}
Sends a POST request on a previously created HTTP Session.
uecclient
/uec/authorize/by-captcha
${body}
${response}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng==', 'Content-Length': '60'}
body={"accountType":2,"account":"13123456789","captcha":"888888"}
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==","userId":"665984812997283840"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==', 'userId': '665984812997283840'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
token
${gettoken_supplier}
${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==
Makes a variable available everywhere within the scope of the current suite.
${gettoken_supplier}
${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
userId
${userid_supplier}
${userid_supplier} = 665984812997283840
Makes a variable available everywhere within the scope of the current suite.
${userid_supplier}
${userid_supplier} = 665984812997283840
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloud_factory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"loginToken":"${gettoken_supplier}"}
${body}
${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=="}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/authorize/get/product-line-token/by/login-token
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-user-center/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnIn4QLZsomLgrPEzEDrcknLng==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=="}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=="}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Runs the given keyword with the given arguments and ignores possible error.
Get From Dictionary
${response.json()}
data
${get_status}
${token}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${get_status} = PASS
${token} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==
Sets variable based on the given condition.
"${get_status}"=="FAIL"
${gettoken_supplier}
"${token}"=="None"
${gettoken_supplier}
${token}
${getlogintoken_supplier}
Sets variable based on the given condition.
"${token}"=="None"
${gettoken_supplier}
${token}
${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==
Makes a variable available globally in all tests and suites.
${getlogintoken_supplier}
${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/json;charset=UTF-8
X-APP-ID=503258978847956666
Authorization=${getlogintoken_supplier}
&{cloudfactory_supplier_header}
&{cloudfactory_supplier_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw== }
Makes a variable available globally in all tests and suites.
${cloudfactory_supplier_header}
${cloudfactory_supplier_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"creditLine":${printing_packaging_factory_credit_qniao_save_creditLine},"enterpriseId":"${printing_packaging_factory_id}","enterpriseName":"${printing_packaging_factory_name}","enterpriseType":${printing_packaging_factory_credit_qniao_save_type},"legalpersonIdNo":"${printing_packaging_factory_legalpersonidcardno}","legalpersonMobile":null,"legalpersonName":"${printing_packaging_factory_legalpersonname}","purpose":${printing_packaging_factory_credit_qniao_save_purpose},"remark":"${printing_packaging_factory_credit_qniao_save_remark}","paperSettlementIntervalTypeId":"${printing_packaging_factory_credit_qniao_save_paperSettlementIntervalTypeId}"}
${body}
${body} = {"creditLine":990000,"enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonIdNo":"autotest_legalpersonidcardno","legalpersonMob...
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/application/save/application
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/save/application
path_url=/cloud-print-user-center/admin/credit/application/save/application
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'Content-Length': '327'}
body=b'{"creditLine":990000,"enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonIdNo":"autotest_legalpersonidcardno","legalpersonMobile":null,"legalpersonName":"autotest_legalperson","purpose":1,"remark":"autotest_remark","paperSettlementIntervalTypeId":"11"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/save/application
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/application/get/application-order-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/get/application-order-list
path_url=/cloud-print-user-center/admin/credit/application/get/application-order-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/get/application-order-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:14 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984877841223680","enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-12-08 15:47:13","auditorName":"胡勤生","auditorTime":"2021-12-08 15:47:13","status":1,"remark":"autotest_remark","serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"651470047725883392","enterpriseId":"651116289812729856","enterpriseName":"2222XXX","enterpriseType":2,"legalpersonName":"4444","legalpersonIdNo":"5555","creditLine":300000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-29 14:30:28","auditorName":"胡勤生","auditorTime":"2021-10-29 14:30:28","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"651145828639051776","enterpriseId":"651116728784392192","enterpriseName":"1111ssxx","enterpriseType":2,"legalpersonName":"444","legalpersonIdNo":"555","creditLine":100002.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-28 17:02:08","auditorName":"胡勤生","auditorTime":"2021-10-28 17:37:08","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"651145509817421824","enterpriseId":"635463418333237248","enterpriseName":"测试向企业","enterpriseType":2,"legalpersonName":"测试向","legalpersonIdNo":"371699199306169985","creditLine":30000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-28 17:00:52","auditorName":"胡勤生","auditorTime":"2021-10-28 17:00:52","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"651142893398003712","enterpriseId":"651117713762160640","enterpriseName":"统计客户","enterpriseType":2,"legalpersonName":"统计客户","legalpersonIdNo":"统计客户","creditLine":1990000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-28 16:50:29","auditorName":"胡勤生","auditorTime":"2021-10-29 10:54:40","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"647895981223972864","enterpriseId":"647880580117172224","enterpriseName":"豆腐丝稀饭瑟瑟发抖","enterpriseType":2,"legalpersonName":"豆腐丝稀饭瑟瑟发抖","legalpersonIdNo":"豆腐丝稀饭瑟瑟发抖","creditLine":9990000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-19 17:48:24","auditorName":"胡勤生","auditorTime":"2021-10-19 17:51:18","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"12","paperSettlementIntervalTypeName":"月结45天"},{"id":"645258792631668736","enterpriseId":"635465709027201024","enterpriseName":"测试钟","enterpriseType":2,"legalpersonName":"测试钟","legalpersonIdNo":"370399198305239943","creditLine":100000000.00,"purpose":1,"creatorName":"贾晓堂","createTime":"2021-10-12 11:09:10","auditorName":"胡勤生","auditorTime":"2021-10-12 11:09:29","status":2,"remark":"1","serviceFeeRatio":null,"paperSettlementIntervalTypeId":"15","paperSettlementIntervalTypeName":"月结90天"},{"id":"644896867263582208","enterpriseId":"639554551388704768","enterpriseName":"企鹅王","enterpriseType":2,"legalpersonName":"企鹅王","legalpersonIdNo":"企鹅王","creditLine":1000000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-11 11:11:00","auditorName":"胡勤生","auditorTime":"2021-10-13 15:55:28","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"635885416976879616","enterpriseId":"635820806936596480","enterpriseName":"测试10","enterpriseType":2,"legalpersonName":"交接","legalpersonIdNo":"v 2345678765456g","creditLine":10000.00,"purpose":1,"creatorName":"贾晓堂","createTime":"2021-09-16 14:22:43","auditorName":"胡勤生","auditorTime":"2021-09-16 14:22:43","status":2,"remark":"1","serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"635198717397438464","enterpriseId":"635198331240452096","enterpriseName":"后台添加的企业","enterpriseType":2,"legalpersonName":"王冰泉","legalpersonIdNo":"210682199005255711","creditLine":150000.00,"purpose":1,"creatorName":"贾晓堂","createTime":"2021-09-14 16:54:01","auditorName":"胡勤生","auditorTime":"2021-09-14 16:54:01","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"12","paperSettlementIntervalTypeName":"月结45天"}],"total":48,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":5}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984877841223680', 'enterpriseId': '665984836372140032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-12-08 15:47:13', 'auditorName': '胡勤生', 'auditorTime': '2021-12-08 15:47:13', 'status': 1, 'remark': 'autotest_remark', 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '651470047725883392', 'enterpriseId': '651116289812729856', 'enterpriseName': '2222XXX', 'enterpriseType': 2, 'legalpersonName': '4444', 'legalpersonIdNo': '5555', 'creditLine': 300000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-29 14:30:28', 'auditorName': '胡勤生', 'auditorTime': '2021-10-29 14:30:28', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '651145828639051776', 'enterpriseId': '651116728784392192', 'enterpriseName': '1111ssxx', 'enterpriseType': 2, 'legalpersonName': '444', 'legalpersonIdNo': '555', 'creditLine': 100002.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-28 17:02:08', 'auditorName': '胡勤生', 'auditorTime': '2021-10-28 17:37:08', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '651145509817421824', 'enterpriseId': '635463418333237248', 'enterpriseName': '测试向企业', 'enterpriseType': 2, 'legalpersonName': '测试向', 'legalpersonIdNo': '371699199306169985', 'creditLine': 30000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-28 17:00:52', 'auditorName': '胡勤生', 'auditorTime': '2021-10-28 17:00:52', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '651142893398003712', 'enterpriseId': '651117713762160640', 'enterpriseName': '统计客户', 'enterpriseType': 2, 'legalpersonName': '统计客户', 'legalpersonIdNo': '统计客户', 'creditLine': 1990000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-28 16:50:29', 'auditorName': '胡勤生', 'auditorTime': '2021-10-29 10:54:40', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '647895981223972864', 'enterpriseId': '647880580117172224', 'enterpriseName': '豆腐丝稀饭瑟瑟发抖', 'enterpriseType': 2, 'legalpersonName': '豆腐丝稀饭瑟瑟发抖', 'legalpersonIdNo': '豆腐丝稀饭瑟瑟发抖', 'creditLine': 9990000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-19 17:48:24', 'auditorName': '胡勤生', 'auditorTime': '2021-10-19 17:51:18', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '12', 'paperSettlementIntervalTypeName': '月结45天'}, {'id': '645258792631668736', 'enterpriseId': '635465709027201024', 'enterpriseName': '测试钟', 'enterpriseType': 2, 'legalpersonName': '测试钟', 'legalpersonIdNo': '370399198305239943', 'creditLine': 100000000.0, 'purpose': 1, 'creatorName': '贾晓堂', 'createTime': '2021-10-12 11:09:10', 'auditorName': '胡勤生', 'auditorTime': '2021-10-12 11:09:29', 'status': 2, 'remark': '1', 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '15', 'paperSettlementIntervalTypeName': '月结90天'}, {'id': '644896867263582208', 'enterpriseId': '639554551388704768', 'enterpriseName': '企鹅王', 'enterpriseType': 2, 'legalpersonName': '企鹅王', 'legalpersonIdNo': '企鹅王', 'creditLine': 1000000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-11 11:11:00', 'auditorName': '胡勤生', 'auditorTime': '2021-10-13 15:55:28', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '635885416976879616', 'enterpriseId': '635820806936596480', 'enterpriseName': '测试10', 'enterpriseType': 2, 'legalpersonName': '交接', 'legalpersonIdNo': 'v 2345678765456g', 'creditLine': 10000.0, 'purpose': 1, 'creatorName': '贾晓堂', 'createTime': '2021-09-16 14:22:43', 'auditorName': '胡勤生', 'auditorTime': '2021-09-16 14:22:43', 'status': 2, 'remark': '1', 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '635198717397438464', 'enterpriseId': '635198331240452096', 'enterpriseName': '后台添加的企业', 'enterpriseType': 2, 'legalpersonName': '王冰泉', 'legalpersonIdNo': '210682199005255711', 'creditLine': 150000.0, 'purpose': 1, 'creatorName': '贾晓堂', 'createTime': '2021-09-14 16:54:01', 'auditorName': '胡勤生', 'auditorTime': '2021-09-14 16:54:01', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '12', 'paperSettlementIntervalTypeName': '月结45天'}], 'total': 48, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 5}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
timeBegin=${current_date} 00:00:00&timeEnd=${current_date} 23:59:59&enterpriseName=${printing_packaging_factory_name}&legalpersonName=${printing_packaging_factory_legalpersonname}
${param}
${param} = timeBegin=2021-12-08 00:00:00&timeEnd=2021-12-08 23:59:59&enterpriseName=autotest_printing_packaging_factory_name&legalpersonName=autotest_legalperson
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/application/get/application-order-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/get/application-order-list?timeBegin=2021-12-08%2000:00:00&timeEnd=2021-12-08%2023:59:59&enterpriseName=autotest_printing_packaging_factory_name&legalpersonName=autotest_legalperson
path_url=/cloud-print-user-center/admin/credit/application/get/application-order-list?timeBegin=2021-12-08%2000:00:00&timeEnd=2021-12-08%2023:59:59&enterpriseName=autotest_printing_packaging_factory_name&legalpersonName=autotest_legalperson
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/get/application-order-list?timeBegin=2021-12-08%2000:00:00&timeEnd=2021-12-08%2023:59:59&enterpriseName=autotest_printing_packaging_factory_name&legalpersonName=autotest_legalperson
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:15 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984877841223680","enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-12-08 15:47:13","auditorName":"胡勤生","auditorTime":"2021-12-08 15:47:13","status":1,"remark":"autotest_remark","serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984877841223680', 'enterpriseId': '665984836372140032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-12-08 15:47:13', 'auditorName': '胡勤生', 'auditorTime': '2021-12-08 15:47:13', 'status': 1, 'remark': 'autotest_remark', 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${printing_packaging_factory_credit_id}
${printing_packaging_factory_credit_id} = 665984877841223680
Makes a variable available everywhere within the scope of the current suite.
${printing_packaging_factory_credit_id}
${printing_packaging_factory_credit_id} = 665984877841223680
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
2
${printing_packaging_factory_verify_status}
${printing_packaging_factory_verify_status} = 2
Returns the given values which can then be assigned to a variables.
{"status":${printing_packaging_factory_verify_status}}
${body}
${body} = {"status":2}
Sends a PUT request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/application/verify/application-order/${printing_packaging_factory_credit_id}
${body.encode("utf8")}
${response}
PUT Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/verify/application-order/665984877841223680
path_url=/cloud-print-user-center/admin/credit/application/verify/application-order/665984877841223680
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'Content-Length': '12'}
body=b'{"status":2}'
PUT Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/verify/application-order/665984877841223680
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:15 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"id":"${printing_packaging_factory_credit_id}","creditLine":${printing_packaging_factory_credit_qniao_edit_creditLine},"enterpriseId":"${printing_packaging_factory_id}","enterpriseName":"${printing_packaging_factory_name}","enterpriseType":${printing_packaging_factory_credit_qniao_edit_type},"legalpersonIdNo":"${printing_packaging_factory_legalpersonidcardno}","legalpersonMobile":null,"legalpersonName":"${printing_packaging_factory_legalpersonname}","purpose":${printing_packaging_factory_credit_qniao_edit_purpose},"remark":"${printing_packaging_factory_credit_qniao_edit_remark}","paperSettlementIntervalTypeId":"${printing_packaging_factory_credit_qniao_edit_paperSettlementIntervalTypeId}"}
${body}
${body} = {"id":"665984877841223680","creditLine":990000,"enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonIdNo":"autotest_legalperso...
Sends a POST request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/application/update/application
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/update/application
path_url=/cloud-print-user-center/admin/credit/application/update/application
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'Content-Length': '353'}
body=b'{"id":"665984877841223680","creditLine":990000,"enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonIdNo":"autotest_legalpersonidcardno","legalpersonMobile":null,"legalpersonName":"autotest_legalperson","purpose":1,"remark":"autotest_remark","paperSettlementIntervalTypeId":"11"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/update/application
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:16 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
1
${printing_packaging_factory_verify_status}
${printing_packaging_factory_verify_status} = 1
Returns the given values which can then be assigned to a variables.
{"status":${printing_packaging_factory_verify_status}}
${body}
${body} = {"status":1}
Sends a PUT request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/application/verify/application-order/${printing_packaging_factory_credit_id}
${body.encode("utf8")}
${response}
PUT Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/verify/application-order/665984877841223680
path_url=/cloud-print-user-center/admin/credit/application/verify/application-order/665984877841223680
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'Content-Length': '12'}
body=b'{"status":1}'
PUT Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/verify/application-order/665984877841223680
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/get/enterprise-credit-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/get/enterprise-credit-list
path_url=/cloud-print-user-center/admin/credit/get/enterprise-credit-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/get/enterprise-credit-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984891946668032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":0.00,"availableCreditLine":990000.00,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665975453365964800","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665267881172406272","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665261646360481792","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665260223887446016","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665258993974906880","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665254923528704000","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665252908027219968","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"664196554336374784","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"664194014840492032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00}],"total":180,"size":10,"current":1,"orders":[{"column":"id","asc":false}],"searchCount":true,"pages":18}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984891946668032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665975453365964800', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665267881172406272', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665261646360481792', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665260223887446016', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665258993974906880', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665254923528704000', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665252908027219968', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '664196554336374784', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '664194014840492032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}], 'total': 180, 'size': 10, 'current': 1, 'orders': [{'column': 'id', 'asc': False}], 'searchCount': True, 'pages': 18}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
enterpriseName=${printing_packaging_factory_name}&legalpersonName=${printing_packaging_factory_legalpersonname}
${param}
${param} = enterpriseName=autotest_printing_packaging_factory_name&legalpersonName=autotest_legalperson
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/get/enterprise-credit-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/get/enterprise-credit-list?enterpriseName=autotest_printing_packaging_factory_name&legalpersonName=autotest_legalperson
path_url=/cloud-print-user-center/admin/credit/get/enterprise-credit-list?enterpriseName=autotest_printing_packaging_factory_name&legalpersonName=autotest_legalperson
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/get/enterprise-credit-list?enterpriseName=autotest_printing_packaging_factory_name&legalpersonName=autotest_legalperson
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984891946668032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":0.00,"availableCreditLine":990000.00,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665975453365964800","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665267881172406272","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665261646360481792","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665260223887446016","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665258993974906880","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665254923528704000","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"665252908027219968","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"664196554336374784","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"664194014840492032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00}],"total":138,"size":10,"current":1,"orders":[{"column":"id","asc":false}],"searchCount":true,"pages":14}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984891946668032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665975453365964800', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665267881172406272', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665261646360481792', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665260223887446016', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665258993974906880', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665254923528704000', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '665252908027219968', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '664196554336374784', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '664194014840492032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}], 'total': 138, 'size': 10, 'current': 1, 'orders': [{'column': 'id', 'asc': False}], 'searchCount': True, 'pages': 14}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${printing_packaging_factory_name}
${response.json()["data"]["records"][0]["enterpriseName"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${printing_packaging_factory_credit_details_id}
${printing_packaging_factory_credit_details_id} = 665984891946668032
Makes a variable available everywhere within the scope of the current suite.
${printing_packaging_factory_credit_details_id}
${printing_packaging_factory_credit_details_id} = 665984891946668032
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/cloud-print-user-center/admin/credit/order/get/order-list/${printing_packaging_factory_credit_details_id}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/order/get/order-list/665984891946668032
path_url=/cloud-print-user-center/admin/credit/order/get/order-list/665984891946668032
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/order/get/order-list/665984891946668032
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984891971833856","tradeType":3,"createTime":"2021-12-08 15:47:17","originalCreditLine":0.00,"currentCreditLine":990000.00,"floatingCreditLine":990000.00,"exOrderId":null}],"total":1,"size":10,"current":1,"orders":[{"column":"id","asc":false}],"searchCount":true,"pages":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984891971833856', 'tradeType': 3, 'createTime': '2021-12-08 15:47:17', 'originalCreditLine': 0.0, 'currentCreditLine': 990000.0, 'floatingCreditLine': 990000.0, 'exOrderId': None}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'id', 'asc': False}], 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to integers.
${printing_packaging_factory_credit_qniao_save_creditLine}
${response.json()["data"]["records"][0]["currentCreditLine"]}
Argument types are:
<type 'unicode'>
<class 'float'>
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/credit/payment-password/getstatus
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/getstatus
path_url=/cloud-print-user-center/credit/payment-password/getstatus
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/getstatus
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"admin":true,"setPassword":false}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'admin': True, 'setPassword': False}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
False
${response.json()["data"]["setPassword"]}
Argument types are:
<type 'unicode'>
<class 'bool'>
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}#
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"oldPassword":"","newPassword":"${customer_credit_password}","repeatPassword":"${customer_credit_password}","status":${save_creditpassword_type}}
${body}
${body} = {"oldPassword":"","newPassword":"123456","repeatPassword":"123456","status":0}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/credit/payment-password/save
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/save
path_url=/cloud-print-user-center/credit/payment-password/save
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '78'}
body=b'{"oldPassword":"","newPassword":"123456","repeatPassword":"123456","status":0}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/save
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"oldPassword":"${customer_credit_password}","newPassword":"${customer_credit_password_new}","repeatPassword":"${customer_credit_password_new}","status":${save_creditpassword_type_new}}
${body}
${body} = {"oldPassword":"123456","newPassword":"123456","repeatPassword":"123456","status":1}
Sends a POST request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/credit/payment-password/save
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/save
path_url=/cloud-print-user-center/credit/payment-password/save
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '84'}
body=b'{"oldPassword":"123456","newPassword":"123456","repeatPassword":"123456","status":1}'
POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/save
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id
path_url=/cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"665984891946668032","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.000,"usedCreditLine":0.000,"availableCreditLine":990000.000,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.0000}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984891946668032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/credit/get/enterprise-feisuan-credit
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/get/enterprise-feisuan-credit
path_url=/cloud-print-user-center/credit/get/enterprise-feisuan-credit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/get/enterprise-feisuan-credit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"categoryId":"${paper_categoryid}","paperManufacturerId":"${paper_Manufacturerid}","name":"${paper_brand_name}","paperName":"${paper_name}","characteristic":"${paper_characteristic}","description":"${paper_description}","img":"${paper_brand_img}"}
${body}
${body} = {"categoryId":"638458876659896320","paperManufacturerId":"638458967357526016","name":"aotutest_paper_brand_name","paperName":"aotutest_paper_name","characteristic":"This autotest_paper_characteristic"...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/save/product/brand
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/brand
path_url=/trading-center/save/product/brand
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '336'}
body=b'{"categoryId":"638458876659896320","paperManufacturerId":"638458967357526016","name":"aotutest_paper_brand_name","paperName":"aotutest_paper_name","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/brand
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:18 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/product/brand-list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/brand-list
path_url=/trading-center/get/product/brand-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/brand-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:19 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984898884046848","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","createTime":"2021-12-08 15:47:19","updateTime":"2021-12-08 15:47:19","shortName":"apm"},{"id":"652853213489401856","categoryId":"1","categoryName":"白板纸","name":"沙雕风格","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"622401477847158784","paperManufacturerName":"广州一会发给黄","paperName":"111111111111111111111111","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635818800517.png","characteristic":null,"description":null,"createTime":"2021-11-02 10:06:41","updateTime":"2021-11-02 10:06:45","shortName":"供货"},{"id":"651122232923394048","categoryId":"16","categoryName":"其他","name":"统计","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"623143179666984960","paperManufacturerName":"测试纸厂","paperName":"统计纸品","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635406102165.jpg","characteristic":null,"description":null,"createTime":"2021-10-28 15:28:23","updateTime":"2021-10-28 15:28:26","shortName":"test"},{"id":"650463564347346944","categoryId":"1","categoryName":"白板纸","name":"12312","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"34252345","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635249062613.jpg","characteristic":null,"description":null,"createTime":"2021-10-26 19:51:04","updateTime":"2021-10-26 19:51:08","shortName":"岳阳"},{"id":"647475598360449024","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"光明","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"624705315354578944","paperManufacturerName":"山东华泰纸业股份有限公司","paperName":"铁甲","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634536676230.jpg","characteristic":null,"description":null,"createTime":"2021-10-18 13:57:58","updateTime":"2021-10-18 13:58:05","shortName":"华泰"},{"id":"646442007052554240","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"橙光","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"岳阳特级牛卡","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634290245852.jpg","characteristic":"321","description":"123","createTime":"2021-10-15 17:30:50","updateTime":"2021-10-18 10:43:23","shortName":"岳阳"},{"id":"646077175493169152","categoryId":"8","categoryName":"白卡纸","name":"为人父","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"617760337176956928","paperManufacturerName":"广州测试纸厂","paperName":"口语课回家","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634203265867.jpg","characteristic":null,"description":null,"createTime":"2021-10-14 17:21:08","updateTime":"2021-10-14 17:21:48","shortName":"测试纸厂"},{"id":"639233011782651904","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"122","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"617785159873335296","paperManufacturerName":"aaa","paperName":"一休","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632571489513.jpg","characteristic":null,"description":null,"createTime":"2021-09-25 20:04:52","updateTime":"2021-09-25 20:05:35","shortName":"a"},{"id":"634846041195286528","categoryId":"633768048419016704","categoryName":"而","name":"123","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"213","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631525556370.jpg","characteristic":null,"description":null,"createTime":"2021-09-13 17:32:37","updateTime":"2021-09-13 17:58:36","shortName":"岳阳"},{"id":"633768148222480384","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"掏粪工","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"620256187698515968","paperManufacturerName":"APP金光集团","paperName":"电饭锅","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg","characteristic":null,"description":null,"createTime":"2021-09-10 18:09:27","updateTime":"2021-09-23 10:25:46","shortName":"APP金光"},{"id":"623228969491238912","categoryId":"1","categoryName":"白板纸","name":"海龙","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"623225300418957312","paperManufacturerName":"东莞玖龙纸业有限公司","paperName":"海龙白板","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","description":"涂布灰底白板纸为一种纸板,纸板的一面有光滑的涂布面层,以致具备优越的印刷适性。涂布灰底白板纸一般用作需要高质印刷适性的小型彩盒包装物料,例如:电子消费品丶化妆品或其他消费商品的包装,亦可连同高强瓦楞原纸及卡纸用作瓦楞纸板的外层。玖龙集团分别以玖龙丶海龙丶地龙区分不同档次产品,以适应客户不同需求。","createTime":"2021-08-12 16:10:31","updateTime":"2021-08-13 11:17:14","shortName":"东莞玖龙"},{"id":"623228646341087232","categoryId":"1","categoryName":"白板纸","name":"地龙","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"623225300418957312","paperManufacturerName":"东莞玖龙纸业有限公司","paperName":"地龙灰底白","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","description":"涂布灰底白板纸为一种纸板,纸板的一面有光滑的涂布面层,以致具备优越的印刷适性。涂布灰底白板纸一般用作需要高质印刷适性的小型彩盒包装物料,例如:电子消费品丶化妆品或其他消费商品的包装,亦可连同高强瓦楞原纸及卡纸用作瓦楞纸板的外层。玖龙集团分别以玖龙丶海龙丶地龙区分不同档次产品,以适应客户不同需求。","createTime":"2021-08-12 16:09:14","updateTime":"2021-08-12 16:09:21","shortName":"东莞玖龙"},{"id":"623143393647792128","categoryId":"9","categoryName":"金银卡","name":"测试纸品","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"623143179666984960","paperManufacturerName":"测试纸厂","paperName":"test测试纸品","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg","characteristic":null,"description":null,"createTime":"2021-08-12 10:30:28","updateTime":"2021-10-13 14:35:14","shortName":"test"},{"id":"622859344161148928","categoryId":"8","categoryName":"白卡纸","name":"丽锦","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"622858763329736704","paperManufacturerName":"湛江晨鸣纸厂","paperName":"晨鸣丽锦白卡","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628667626654.jpeg","characteristic":"表面均匀平滑、耐折度高、光泽度高、层间接合度高","description":"特点:表面均匀平滑、耐折度高、光泽度高、层间接合度高; \n用途:日用品包装、化妆品包装、医药品包装、手提袋等。 ","createTime":"2021-08-11 15:41:45","updateTime":"2021-08-11 15:41:52","shortName":"晨鸣"},{"id":"622154891854483456","categoryId":"622154152801341440","categoryName":"213测试","name":"213品牌","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"617725308912668672","paperManufacturerName":"55","paperName":"213白板","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"11","description":"22","createTime":"2021-08-09 17:02:31","updateTime":"2021-08-30 11:24:00","shortName":"5"},{"id":"620256796661125120","categoryId":"620255255233433600","categoryName":"特种牛皮纸","name":"金桂","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"620256187698515968","paperManufacturerName":"APP金光集团","paperName":"金桂特种牛皮纸","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"小贵,但质量好","description":"耐折,不掉粉,防潮","createTime":"2021-08-04 11:20:10","updateTime":"2021-08-13 11:17:29","shortName":"APP金光"},{"id":"618418545189064704","categoryId":"14","categoryName":"牛卡纸","name":"山东分公司表","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"618417503357505536","paperManufacturerName":"风格的风格的风格都过1","paperName":"2131","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":null,"description":null,"createTime":"2021-07-30 09:35:36","updateTime":"2021-08-13 11:17:14","shortName":"该删"},{"id":"618216372782108672","categoryId":"15","categoryName":"特种纸","name":"山东分公司表","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"618215479944810496","paperManufacturerName":"风格的风格的风格都过","paperName":"违法该如何更好","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":null,"description":null,"createTime":"2021-07-29 20:12:15","updateTime":"2021-08-13 11:17:17","shortName":"该删的"},{"id":"617825820777517056","categoryId":"15","categoryName":"特种纸","name":"ff","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"617789474298007552","paperManufacturerName":"gewgw","paperName":"fff11","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":null,"description":null,"createTime":"2021-07-28 18:20:20","updateTime":"2021-08-13 11:17:54","shortName":"gds"},{"id":"604400112793423872","categoryId":"8","categoryName":"白卡纸","name":"丽盈","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"617789474298007552","paperManufacturerName":"gewgw","paperName":"丽盈白卡纸","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","description":"可以从用途、硬度、白度等维度描述纸品","createTime":"2021-06-21 17:11:22","updateTime":"2021-08-13 11:17:28","shortName":"gds"}],"pageIdentifier":[1624295482000,60],"pageSize":20,"order":{},"next":true}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984898884046848', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'description': 'This apaper_description', 'createTime': '2021-12-08 15:47:19', 'updateTime': '2021-12-08 15:47:19', 'shortName': 'apm'}, {'id': '652853213489401856', 'categoryId': '1', 'categoryName': '白板纸', 'name': '沙雕风格', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '622401477847158784', 'paperManufacturerName': '广州一会发给黄', 'paperName': '111111111111111111111111', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635818800517.png', 'characteristic': None, 'description': None, 'createTime': '2021-11-02 10:06:41', 'updateTime': '2021-11-02 10:06:45', 'shortName': '供货'}, {'id': '651122232923394048', 'categoryId': '16', 'categoryName': '其他', 'name': '统计', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '623143179666984960', 'paperManufacturerName': '测试纸厂', 'paperName': '统计纸品', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635406102165.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-10-28 15:28:23', 'updateTime': '2021-10-28 15:28:26', 'shortName': 'test'}, {'id': '650463564347346944', 'categoryId': '1', 'categoryName': '白板纸', 'name': '12312', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '34252345', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635249062613.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-10-26 19:51:04', 'updateTime': '2021-10-26 19:51:08', 'shortName': '岳阳'}, {'id': '647475598360449024', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '光明', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '624705315354578944', 'paperManufacturerName': '山东华泰纸业股份有限公司', 'paperName': '铁甲', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634536676230.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-10-18 13:57:58', 'updateTime': '2021-10-18 13:58:05', 'shortName': '华泰'}, {'id': '646442007052554240', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '橙光', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '岳阳特级牛卡', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634290245852.jpg', 'characteristic': '321', 'description': '123', 'createTime': '2021-10-15 17:30:50', 'updateTime': '2021-10-18 10:43:23', 'shortName': '岳阳'}, {'id': '646077175493169152', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '为人父', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '617760337176956928', 'paperManufacturerName': '广州测试纸厂', 'paperName': '口语课回家', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634203265867.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-10-14 17:21:08', 'updateTime': '2021-10-14 17:21:48', 'shortName': '测试纸厂'}, {'id': '639233011782651904', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '122', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '617785159873335296', 'paperManufacturerName': 'aaa', 'paperName': '一休', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632571489513.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-09-25 20:04:52', 'updateTime': '2021-09-25 20:05:35', 'shortName': 'a'}, {'id': '634846041195286528', 'categoryId': '633768048419016704', 'categoryName': '而', 'name': '123', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '213', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631525556370.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-09-13 17:32:37', 'updateTime': '2021-09-13 17:58:36', 'shortName': '岳阳'}, {'id': '633768148222480384', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '掏粪工', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '620256187698515968', 'paperManufacturerName': 'APP金光集团', 'paperName': '电饭锅', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-09-10 18:09:27', 'updateTime': '2021-09-23 10:25:46', 'shortName': 'APP金光'}, {'id': '623228969491238912', 'categoryId': '1', 'categoryName': '白板纸', 'name': '海龙', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '623225300418957312', 'paperManufacturerName': '东莞玖龙纸业有限公司', 'paperName': '海龙白板', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'description': '涂布灰底白板纸为一种纸板,纸板的一面有光滑的涂布面层,以致具备优越的印刷适性。涂布灰底白板纸一般用作需要高质印刷适性的小型彩盒包装物料,例如:电子消费品丶化妆品或其他消费商品的包装,亦可连同高强瓦楞原纸及卡纸用作瓦楞纸板的外层。玖龙集团分别以玖龙丶海龙丶地龙区分不同档次产品,以适应客户不同需求。', 'createTime': '2021-08-12 16:10:31', 'updateTime': '2021-08-13 11:17:14', 'shortName': '东莞玖龙'}, {'id': '623228646341087232', 'categoryId': '1', 'categoryName': '白板纸', 'name': '地龙', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '623225300418957312', 'paperManufacturerName': '东莞玖龙纸业有限公司', 'paperName': '地龙灰底白', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'description': '涂布灰底白板纸为一种纸板,纸板的一面有光滑的涂布面层,以致具备优越的印刷适性。涂布灰底白板纸一般用作需要高质印刷适性的小型彩盒包装物料,例如:电子消费品丶化妆品或其他消费商品的包装,亦可连同高强瓦楞原纸及卡纸用作瓦楞纸板的外层。玖龙集团分别以玖龙丶海龙丶地龙区分不同档次产品,以适应客户不同需求。', 'createTime': '2021-08-12 16:09:14', 'updateTime': '2021-08-12 16:09:21', 'shortName': '东莞玖龙'}, {'id': '623143393647792128', 'categoryId': '9', 'categoryName': '金银卡', 'name': '测试纸品', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '623143179666984960', 'paperManufacturerName': '测试纸厂', 'paperName': 'test测试纸品', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-08-12 10:30:28', 'updateTime': '2021-10-13 14:35:14', 'shortName': 'test'}, {'id': '622859344161148928', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '丽锦', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '622858763329736704', 'paperManufacturerName': '湛江晨鸣纸厂', 'paperName': '晨鸣丽锦白卡', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628667626654.jpeg', 'characteristic': '表面均匀平滑、耐折度高、光泽度高、层间接合度高', 'description': '特点:表面均匀平滑、耐折度高、光泽度高、层间接合度高; \n用途:日用品包装、化妆品包装、医药品包装、手提袋等。 ', 'createTime': '2021-08-11 15:41:45', 'updateTime': '2021-08-11 15:41:52', 'shortName': '晨鸣'}, {'id': '622154891854483456', 'categoryId': '622154152801341440', 'categoryName': '213测试', 'name': '213品牌', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '617725308912668672', 'paperManufacturerName': '55', 'paperName': '213白板', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '11', 'description': '22', 'createTime': '2021-08-09 17:02:31', 'updateTime': '2021-08-30 11:24:00', 'shortName': '5'}, {'id': '620256796661125120', 'categoryId': '620255255233433600', 'categoryName': '特种牛皮纸', 'name': '金桂', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '620256187698515968', 'paperManufacturerName': 'APP金光集团', 'paperName': '金桂特种牛皮纸', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '小贵,但质量好', 'description': '耐折,不掉粉,防潮', 'createTime': '2021-08-04 11:20:10', 'updateTime': '2021-08-13 11:17:29', 'shortName': 'APP金光'}, {'id': '618418545189064704', 'categoryId': '14', 'categoryName': '牛卡纸', 'name': '山东分公司表', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '618417503357505536', 'paperManufacturerName': '风格的风格的风格都过1', 'paperName': '2131', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': None, 'description': None, 'createTime': '2021-07-30 09:35:36', 'updateTime': '2021-08-13 11:17:14', 'shortName': '该删'}, {'id': '618216372782108672', 'categoryId': '15', 'categoryName': '特种纸', 'name': '山东分公司表', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '618215479944810496', 'paperManufacturerName': '风格的风格的风格都过', 'paperName': '违法该如何更好', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': None, 'description': None, 'createTime': '2021-07-29 20:12:15', 'updateTime': '2021-08-13 11:17:17', 'shortName': '该删的'}, {'id': '617825820777517056', 'categoryId': '15', 'categoryName': '特种纸', 'name': 'ff', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '617789474298007552', 'paperManufacturerName': 'gewgw', 'paperName': 'fff11', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': None, 'description': None, 'createTime': '2021-07-28 18:20:20', 'updateTime': '2021-08-13 11:17:54', 'shortName': 'gds'}, {'id': '604400112793423872', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '丽盈', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '617789474298007552', 'paperManufacturerName': 'gewgw', 'paperName': '丽盈白卡纸', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'description': '可以从用途、硬度、白度等维度描述纸品', 'createTime': '2021-06-21 17:11:22', 'updateTime': '2021-08-13 11:17:28', 'shortName': 'gds'}], 'pageIdentifier': [1624295482000, 60], 'pageSize': 20, 'order': {}, 'next': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${paper_brand_name}
${response.json()["data"]["records"][0]["name"]}
Fails if objects are unequal after converting them to strings.
${paper_name}
${response.json()["data"]["records"][0]["paperName"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
searchValue=${paper_brand_name}
${param}
${param} = searchValue=aotutest_paper_brand_name
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/product/brand-list
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/brand-list?searchValue=aotutest_paper_brand_name
path_url=/trading-center/get/product/brand-list?searchValue=aotutest_paper_brand_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/brand-list?searchValue=aotutest_paper_brand_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:20 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984898884046848","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","createTime":"2021-12-08 15:47:19","updateTime":"2021-12-08 15:47:19","shortName":"apm"}],"pageIdentifier":[1638978439000,0.19429034,110],"pageSize":20,"order":{},"next":true}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984898884046848', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'description': 'This apaper_description', 'createTime': '2021-12-08 15:47:19', 'updateTime': '2021-12-08 15:47:19', 'shortName': 'apm'}], 'pageIdentifier': [1638978439000, 0.19429034, 110], 'pageSize': 20, 'order': {}, 'next': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${paper_brand_name}
${response.json()["data"]["records"][0]["name"]}
Fails if objects are unequal after converting them to strings.
${paper_name}
${response.json()["data"]["records"][0]["paperName"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${paper_brand_id}
${paper_brand_id} = 665984898884046848
Makes a variable available globally in all tests and suites.
${paper_brand_id}
${paper_brand_id} = 665984898884046848
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"id":"${paper_brand_id}","categoryId":"${paper_categoryid}","paperManufacturerId":"${paper_Manufacturerid}","name":"${paper_brand_name}","paperName":"${paper_name}","characteristic":"${paper_characteristic}","description":"${paper_description}","img":"${paper_brand_img}"}
${body}
${body} = {"id":"665984898884046848","categoryId":"638458876659896320","paperManufacturerId":"638458967357526016","name":"aotutest_paper_brand_name","paperName":"aotutest_paper_name","characteristic":"This auto...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/save/product/brand
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/brand
path_url=/trading-center/save/product/brand
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '362'}
body=b'{"id":"665984898884046848","categoryId":"638458876659896320","paperManufacturerId":"638458967357526016","name":"aotutest_paper_brand_name","paperName":"aotutest_paper_name","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/brand
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:20 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"idList":["${paper_brand_id}"],"status":0}
${body}
${body} = {"idList":["665984898884046848"],"status":0}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/update/category-brands/status/batch
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/update/category-brands/status/batch
path_url=/trading-center/update/category-brands/status/batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '44'}
body=b'{"idList":["665984898884046848"],"status":0}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/update/category-brands/status/batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:20 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"name":"${paper_category_name}"}
${body}
${body} = {"name":"autotest_paper_category_name"}
Makes a variable available everywhere within the scope of the current suite.
${paper_category_name}
${paper_category_name} = autotest_paper_category_name
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/save/product/paper-category
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
path_url=/trading-center/save/product/paper-category
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '39'}
body=b'{"name":"autotest_paper_category_name"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:20 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/product/paper-category-list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/paper-category-list
path_url=/trading-center/get/product/paper-category-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/paper-category-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:20 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984904491831296","name":"autotest_paper_category_name","status":0,"createTime":"2021-12-08 15:47:20"},{"id":"638458876659896320","name":"autotest_category","status":0,"createTime":"2021-09-23 16:48:44"},{"id":"634845798869372928","name":"撒旦法","status":1,"createTime":"2021-09-13 17:31:39"},{"id":"633768048419016704","name":"而","status":0,"createTime":"2021-09-10 18:09:03"},{"id":"622858543002947584","name":"特级牛卡","status":0,"createTime":"2021-08-11 15:38:34"},{"id":"622154152801341440","name":"213测试","status":0,"createTime":"2021-08-09 16:59:35"},{"id":"620601711232421888","name":"111231去 ","status":0,"createTime":"2021-08-05 10:10:44"},{"id":"620255255233433600","name":"特种牛皮纸","status":0,"createTime":"2021-08-04 11:14:02"},{"id":"620254327726018560","name":"11123","status":0,"createTime":"2021-08-04 11:10:21"},{"id":"620253839144128512","name":"11123","status":0,"createTime":"2021-08-04 11:08:25"}],"total":26,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984904491831296', 'name': 'autotest_paper_category_name', 'status': 0, 'createTime': '2021-12-08 15:47:20'}, {'id': '638458876659896320', 'name': 'autotest_category', 'status': 0, 'createTime': '2021-09-23 16:48:44'}, {'id': '634845798869372928', 'name': '撒旦法', 'status': 1, 'createTime': '2021-09-13 17:31:39'}, {'id': '633768048419016704', 'name': '而', 'status': 0, 'createTime': '2021-09-10 18:09:03'}, {'id': '622858543002947584', 'name': '特级牛卡', 'status': 0, 'createTime': '2021-08-11 15:38:34'}, {'id': '622154152801341440', 'name': '213测试', 'status': 0, 'createTime': '2021-08-09 16:59:35'}, {'id': '620601711232421888', 'name': '111231去 ', 'status': 0, 'createTime': '2021-08-05 10:10:44'}, {'id': '620255255233433600', 'name': '特种牛皮纸', 'status': 0, 'createTime': '2021-08-04 11:14:02'}, {'id': '620254327726018560', 'name': '11123', 'status': 0, 'createTime': '2021-08-04 11:10:21'}, {'id': '620253839144128512', 'name': '11123', 'status': 0, 'createTime': '2021-08-04 11:08:25'}], 'total': 26, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${paper_category_name}
${response.json()["data"]["records"][0]["name"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${paper_category_id}
${paper_category_id} = 665984904491831296
Makes a variable available globally in all tests and suites.
${paper_category_id}
${paper_category_id} = 665984904491831296
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
status
${paper_category_status}
${paper_category_status} = 0
Makes a variable available globally in all tests and suites.
${paper_category_status}
${paper_category_status} = 0
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"name":"${paper_category_name}","id":"${paper_category_id}","status":${paper_category_status}}
${body}
${body} = {"name":"autotest_paper_category_name","id":"665984904491831296","status":0}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/save/product/paper-category
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
path_url=/trading-center/save/product/paper-category
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '76'}
body=b'{"name":"autotest_paper_category_name","id":"665984904491831296","status":0}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:20 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"name":"${paper_category_name}","id":"${paper_category_id}","status":1}
${body}
${body} = {"name":"autotest_paper_category_name","id":"665984904491831296","status":1}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/save/product/paper-category
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
path_url=/trading-center/save/product/paper-category
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '76'}
body=b'{"name":"autotest_paper_category_name","id":"665984904491831296","status":1}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:20 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"name":"${paper_manufacturer_name}","shortName":"${paper_manufacturer_shortName}","description":"${paper_manufacturer_description}","logoImg":"${paper_manufacturer_logoImg}"}
${body}
${body} = {"name":"autotest_paper_manufacturer_name","shortName":"apmn","description":"autotest_paper_manufacturer","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847....
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/save/paper-manufacturer
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/paper-manufacturer
path_url=/trading-center/save/paper-manufacturer
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '205'}
body=b'{"name":"autotest_paper_manufacturer_name","shortName":"apmn","description":"autotest_paper_manufacturer","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/paper-manufacturer
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:20 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/paper-manufacturer/list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/paper-manufacturer/list
path_url=/trading-center/get/paper-manufacturer/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/paper-manufacturer/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:21 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984905565573120","creatorId":"0","editorId":"0","name":"autotest_paper_manufacturer_name","shortName":"apmn","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","description":"autotest_paper_manufacturer","createTime":"2021-12-08 15:47:21"},{"id":"638458967357526016","creatorId":"0","editorId":"0","name":"autotest_paper_manufacturer","shortName":"apm","logoImg":null,"description":"勿删AAA\n","createTime":"2021-09-23 16:49:05"},{"id":"624705488851963904","creatorId":"0","editorId":"0","name":"岳阳纸业股份有限公司","shortName":"岳阳","logoImg":null,"description":null,"createTime":"2021-08-16 17:57:41"},{"id":"624705379305132032","creatorId":"0","editorId":"0","name":"金东纸业(江苏)股份有限公司","shortName":"金东","logoImg":null,"description":null,"createTime":"2021-08-16 17:57:15"},{"id":"624705315354578944","creatorId":"0","editorId":"0","name":"山东华泰纸业股份有限公司","shortName":"华泰","logoImg":null,"description":null,"createTime":"2021-08-16 17:56:59"},{"id":"624705248644173824","creatorId":"0","editorId":"0","name":"宁波亚洲浆业有限公司","shortName":"宁波亚洲","logoImg":null,"description":null,"createTime":"2021-08-16 17:56:43"},{"id":"624705168600076288","creatorId":"0","editorId":"0","name":"江苏王子纸制有限公司","shortName":"王子","logoImg":null,"description":null,"createTime":"2021-08-16 17:56:24"},{"id":"624705094885183488","creatorId":"0","editorId":"0","name":"海南金海浆纸业有限公司","shortName":"金海","logoImg":null,"description":null,"createTime":"2021-08-16 17:56:07"},{"id":"624705020796997632","creatorId":"0","editorId":"0","name":"华劲集团股份有限公司","shortName":"华劲","logoImg":null,"description":null,"createTime":"2021-08-16 17:55:49"},{"id":"624704937565229056","creatorId":"0","editorId":"0","name":"开平市易大丰纸业有限公司","shortName":"易大丰","logoImg":null,"description":null,"createTime":"2021-08-16 17:55:29"},{"id":"624704870452170752","creatorId":"0","editorId":"0","name":"东莞市金田纸业有限公司","shortName":"金田","logoImg":null,"description":null,"createTime":"2021-08-16 17:55:13"},{"id":"624704810486206464","creatorId":"0","editorId":"0","name":"东莞市新富发纸业有限公司","shortName":"新富发","logoImg":null,"description":null,"createTime":"2021-08-16 17:54:59"},{"id":"624704736549015552","creatorId":"0","editorId":"0","name":"佛山市缘聚(聚义)纸类贸易有限公司","shortName":"缘聚","logoImg":null,"description":null,"createTime":"2021-08-16 17:54:41"},{"id":"624704646061101056","creatorId":"0","editorId":"0","name":"广州厚歆贸易有限公司","shortName":"厚歆","logoImg":null,"description":null,"createTime":"2021-08-16 17:54:20"},{"id":"624704583272370176","creatorId":"0","editorId":"0","name":"蕉岭金发纸业有限公司","shortName":"金发","logoImg":null,"description":null,"createTime":"2021-08-16 17:54:05"},{"id":"624704478167306240","creatorId":"0","editorId":"0","name":"东莞建晖纸业有限公司","shortName":"建晖","logoImg":null,"description":null,"createTime":"2021-08-16 17:53:40"},{"id":"624704401759670272","creatorId":"0","editorId":"0","name":"玖龙纸业(控股)有限公司","shortName":"玖龙","logoImg":null,"description":null,"createTime":"2021-08-16 17:53:21"},{"id":"624704319429677056","creatorId":"0","editorId":"0","name":"万国纸业太阳白卡纸有限公司","shortName":"万国","logoImg":null,"description":null,"createTime":"2021-08-16 17:53:02"},{"id":"624703581366390784","creatorId":"0","editorId":"0","name":"山东晨鸣纸业集团股份有限公司","shortName":"晨鸣","logoImg":null,"description":null,"createTime":"2021-08-16 17:50:06"},{"id":"624703270253891584","creatorId":"0","editorId":"0","name":"山东博汇纸业股份有限公司","shortName":"博汇","logoImg":null,"description":null,"createTime":"2021-08-16 17:48:52"}],"pageIdentifier":[1629136132000,38],"pageSize":20,"order":{},"next":true}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984905565573120', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_paper_manufacturer_name', 'shortName': 'apmn', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'description': 'autotest_paper_manufacturer', 'createTime': '2021-12-08 15:47:21'}, {'id': '638458967357526016', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_paper_manufacturer', 'shortName': 'apm', 'logoImg': None, 'description': '勿删AAA\n', 'createTime': '2021-09-23 16:49:05'}, {'id': '624705488851963904', 'creatorId': '0', 'editorId': '0', 'name': '岳阳纸业股份有限公司', 'shortName': '岳阳', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:57:41'}, {'id': '624705379305132032', 'creatorId': '0', 'editorId': '0', 'name': '金东纸业(江苏)股份有限公司', 'shortName': '金东', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:57:15'}, {'id': '624705315354578944', 'creatorId': '0', 'editorId': '0', 'name': '山东华泰纸业股份有限公司', 'shortName': '华泰', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:56:59'}, {'id': '624705248644173824', 'creatorId': '0', 'editorId': '0', 'name': '宁波亚洲浆业有限公司', 'shortName': '宁波亚洲', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:56:43'}, {'id': '624705168600076288', 'creatorId': '0', 'editorId': '0', 'name': '江苏王子纸制有限公司', 'shortName': '王子', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:56:24'}, {'id': '624705094885183488', 'creatorId': '0', 'editorId': '0', 'name': '海南金海浆纸业有限公司', 'shortName': '金海', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:56:07'}, {'id': '624705020796997632', 'creatorId': '0', 'editorId': '0', 'name': '华劲集团股份有限公司', 'shortName': '华劲', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:55:49'}, {'id': '624704937565229056', 'creatorId': '0', 'editorId': '0', 'name': '开平市易大丰纸业有限公司', 'shortName': '易大丰', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:55:29'}, {'id': '624704870452170752', 'creatorId': '0', 'editorId': '0', 'name': '东莞市金田纸业有限公司', 'shortName': '金田', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:55:13'}, {'id': '624704810486206464', 'creatorId': '0', 'editorId': '0', 'name': '东莞市新富发纸业有限公司', 'shortName': '新富发', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:54:59'}, {'id': '624704736549015552', 'creatorId': '0', 'editorId': '0', 'name': '佛山市缘聚(聚义)纸类贸易有限公司', 'shortName': '缘聚', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:54:41'}, {'id': '624704646061101056', 'creatorId': '0', 'editorId': '0', 'name': '广州厚歆贸易有限公司', 'shortName': '厚歆', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:54:20'}, {'id': '624704583272370176', 'creatorId': '0', 'editorId': '0', 'name': '蕉岭金发纸业有限公司', 'shortName': '金发', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:54:05'}, {'id': '624704478167306240', 'creatorId': '0', 'editorId': '0', 'name': '东莞建晖纸业有限公司', 'shortName': '建晖', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:53:40'}, {'id': '624704401759670272', 'creatorId': '0', 'editorId': '0', 'name': '玖龙纸业(控股)有限公司', 'shortName': '玖龙', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:53:21'}, {'id': '624704319429677056', 'creatorId': '0', 'editorId': '0', 'name': '万国纸业太阳白卡纸有限公司', 'shortName': '万国', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:53:02'}, {'id': '624703581366390784', 'creatorId': '0', 'editorId': '0', 'name': '山东晨鸣纸业集团股份有限公司', 'shortName': '晨鸣', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:50:06'}, {'id': '624703270253891584', 'creatorId': '0', 'editorId': '0', 'name': '山东博汇纸业股份有限公司', 'shortName': '博汇', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:48:52'}], 'pageIdentifier': [1629136132000, 38], 'pageSize': 20, 'order': {}, 'next': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${paper_manufacturer_name}
${response.json()["data"]["records"][0]["name"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${paper_manufacturer_id}
${paper_manufacturer_id} = 665984905565573120
Makes a variable available globally in all tests and suites.
${paper_manufacturer_id}
${paper_manufacturer_id} = 665984905565573120
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
searchValue=${paper_manufacturer_name}
${param}
${param} = searchValue=autotest_paper_manufacturer_name
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/paper-manufacturer/list
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/paper-manufacturer/list?searchValue=autotest_paper_manufacturer_name
path_url=/trading-center/get/paper-manufacturer/list?searchValue=autotest_paper_manufacturer_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/paper-manufacturer/list?searchValue=autotest_paper_manufacturer_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:21 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984905565573120","creatorId":"0","editorId":"0","name":"autotest_paper_manufacturer_name","shortName":"apmn","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","description":"autotest_paper_manufacturer","createTime":"2021-12-08 15:47:21"}],"pageIdentifier":[1638978441000,0.2260873,115],"pageSize":20,"order":{},"next":true}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984905565573120', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_paper_manufacturer_name', 'shortName': 'apmn', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'description': 'autotest_paper_manufacturer', 'createTime': '2021-12-08 15:47:21'}], 'pageIdentifier': [1638978441000, 0.2260873, 115], 'pageSize': 20, 'order': {}, 'next': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${paper_manufacturer_name}
${response.json()["data"]["records"][0]["name"]}
Fails if objects are unequal after converting them to strings.
${paper_manufacturer_id}
${response.json()["data"]["records"][0]["id"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"id":"${paper_manufacturer_id}","name":"${paper_manufacturer_name}","shortName":"${paper_manufacturer_shortName}","description":"${paper_manufacturer_description}","logoImg":"${paper_manufacturer_logoImg}"}
${body}
${body} = {"id":"665984905565573120","name":"autotest_paper_manufacturer_name","shortName":"apmn","description":"autotest_paper_manufacturer","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/save/paper-manufacturer
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/paper-manufacturer
path_url=/trading-center/save/paper-manufacturer
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '231'}
body=b'{"id":"665984905565573120","name":"autotest_paper_manufacturer_name","shortName":"apmn","description":"autotest_paper_manufacturer","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/paper-manufacturer
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:21 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"link":"${market_information_link}"}
${body}
${body} = {"link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&sc...
Sends a POST request on a previously created HTTP Session.
yytops
/trading-center/admin/save/market-information-link
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/save/market-information-link
path_url=/trading-center/admin/save/market-information-link
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '224'}
body=b'{"link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect"}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/save/market-information-link
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:21 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/market-information-link-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/market-information-link-list
path_url=/trading-center/admin/get/market-information-link-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/market-information-link-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:21 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984910808453120","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":0,"createTime":"2021-12-08 15:47:22","updateTime":null,"creatorName":"梁金满"},{"id":"665975477223165952","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":1,"createTime":"2021-12-08 15:09:53","updateTime":"2021-12-08 15:47:22","creatorName":"梁金满"},{"id":"665267904748589056","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":1,"createTime":"2021-12-06 16:18:14","updateTime":"2021-12-08 15:09:53","creatorName":"梁金满"},{"id":"665261669508845568","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":1,"createTime":"2021-12-06 15:53:28","updateTime":"2021-12-06 16:18:14","creatorName":"梁金满"},{"id":"665260246792540160","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":1,"createTime":"2021-12-06 15:47:48","updateTime":"2021-12-06 15:53:28","creatorName":"梁金满"},{"id":"665259017479786496","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":1,"createTime":"2021-12-06 15:42:55","updateTime":"2021-12-06 15:47:48","creatorName":"梁金满"},{"id":"665254948522561536","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":1,"createTime":"2021-12-06 15:26:45","updateTime":"2021-12-06 15:42:55","creatorName":"梁金满"},{"id":"665254181019455488","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":0,"createTime":"2021-12-06 15:23:42","updateTime":"2021-12-06 15:26:45","creatorName":"梁金满"},{"id":"665253462023475200","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":0,"createTime":"2021-12-06 15:20:51","updateTime":"2021-12-06 15:23:42","creatorName":"梁金满"},{"id":"664196577631539200","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect","clickNum":2,"createTime":"2021-12-03 17:21:10","updateTime":"2021-12-06 15:20:51","creatorName":"梁金满"}],"total":161,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984910808453120', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 0, 'createTime': '2021-12-08 15:47:22', 'updateTime': None, 'creatorName': '梁金满'}, {'id': '665975477223165952', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-12-08 15:09:53', 'updateTime': '2021-12-08 15:47:22', 'creatorName': '梁金满'}, {'id': '665267904748589056', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-12-06 16:18:14', 'updateTime': '2021-12-08 15:09:53', 'creatorName': '梁金满'}, {'id': '665261669508845568', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-12-06 15:53:28', 'updateTime': '2021-12-06 16:18:14', 'creatorName': '梁金满'}, {'id': '665260246792540160', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-12-06 15:47:48', 'updateTime': '2021-12-06 15:53:28', 'creatorName': '梁金满'}, {'id': '665259017479786496', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-12-06 15:42:55', 'updateTime': '2021-12-06 15:47:48', 'creatorName': '梁金满'}, {'id': '665254948522561536', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-12-06 15:26:45', 'updateTime': '2021-12-06 15:42:55', 'creatorName': '梁金满'}, {'id': '665254181019455488', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 0, 'createTime': '2021-12-06 15:23:42', 'updateTime': '2021-12-06 15:26:45', 'creatorName': '梁金满'}, {'id': '665253462023475200', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 0, 'createTime': '2021-12-06 15:20:51', 'updateTime': '2021-12-06 15:23:42', 'creatorName': '梁金满'}, {'id': '664196577631539200', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect', 'clickNum': 2, 'createTime': '2021-12-03 17:21:10', 'updateTime': '2021-12-06 15:20:51', 'creatorName': '梁金满'}], 'total': 161, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${market_information_link}
${response.json()["data"]["records"][0]["link"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/market-information-link
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/market-information-link
path_url=/trading-center/get/market-information-link
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/market-information-link
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:21 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${market_information_link}
${response.json()["data"]["link"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/record/market-information-link/view
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/record/market-information-link/view
path_url=/trading-center/record/market-information-link/view
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '0'}
body=None
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/record/market-information-link/view
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:21 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
categoryBrandId=${paper_brand_id}&salesEnterpriseId=${supplier_enterprise_id}
${param}
${param} = categoryBrandId=665984898884046848&salesEnterpriseId=665984859935739904
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/product/check-exist
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/product/check-exist?categoryBrandId=665984898884046848&salesEnterpriseId=665984859935739904
path_url=/trading-center/product/check-exist?categoryBrandId=665984898884046848&salesEnterpriseId=665984859935739904
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/product/check-exist?categoryBrandId=665984898884046848&salesEnterpriseId=665984859935739904
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:21 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":null,"categoryId":null,"categoryFirstId":null,"brandName":null,"name":null,"itemNo":null,"litPicUrl":null,"description":null,"shippingNote":null,"remark":null,"setNum":null,"setUnit":null,"stockUnit":null,"imageUrls":null,"sellingProposition":null,"introduction":null,"otherNote":null,"supplierName":null,"salesEnterpriseId":null,"videoUrls":null,"skuModelList":null,"skuList":null,"categoryName":null,"paperMill":null,"categoryBrandId":null,"status":0}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': None, 'categoryId': None, 'categoryFirstId': None, 'brandName': None, 'name': None, 'itemNo': None, 'litPicUrl': None, 'description': None, 'shippingNote': None, 'remark': None, 'setNum': None, 'setUnit': None, 'stockUnit': None, 'imageUrls': None, 'sellingProposition': None, 'introduction': None, 'otherNote': None, 'supplierName': None, 'salesEnterpriseId': None, 'videoUrls': None, 'skuModelList': None, 'skuList': None, 'categoryName': None, 'paperMill': None, 'categoryBrandId': None, 'status': 0}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"categoryId":null,"brandName":"${paper_brand_name}","name":"${paper_name}","itemNo":"无","description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","sellingProposition":"月结30天价格,不加服务费!","setUnit":"吨","skuList":[{"id":null,"2":${gramweight},"purchasePrice":${purchasePrice}}],"categoryBrandId":"${paper_brand_id}","categoryName":"${paper_category_name}","paperMill":"${paper_manufacturer_shortName}","salesEnterpriseId":${supplier_paper_id},"supplierName":"${supplier_paper_name}"}
${body}
${body} = {"categoryId":null,"brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","itemNo":"无","description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/save/product
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product
path_url=/trading-center/save/product
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '695'}
body=b'{"categoryId":null,"brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","itemNo":"\xe6\x97\xa0","description":"\xe6\x8a\xa5\xe4\xbb\xb7\xe5\x85\xa8\xe9\x83\xa8\xe4\xb8\xba\xe7\x8e\xb0\xe9\x87\x91\xe5\x90\xab\xe7\xa8\x8e\xe4\xbb\xb7\xef\xbc\x8c\xe6\x94\xaf\xe6\x8c\x81\xe5\x85\x88\xe7\x94\xa8\xe5\x90\x8e\xe4\xbb\x98\xef\xbc\x8c\xe6\xac\xa2\xe8\xbf\x8e\xe6\x9d\xa5\xe7\x94\xb5\xe6\x9f\xa5\xe8\xaf\xa2\xef\xbc\x81\xe8\xbf\x91\xe6\x9c\x9f\xe4\xbb\xb7\xe6\xa0\xbc\xe6\xb3\xa2\xe5\x8a\xa8\xe8\xbe\x83\xe5\xa4\xa7\xef\xbc\x8c\xe8\xaf\xb7\xe4\xb8\x8b\xe5\x8d\x95\xe5\x89\x8d\xe5\x85\x88\xe5\x92\xa8\xe8\xaf\xa2\xe4\xbb\xb7\xe6\xa0\xbc\xe3\x80\x82","shippingNote":"\xe5\x88\x86\xe5\x88\x87\xe7\xba\xb8\xe4\xb8\x8d\xe8\xb6\xb3\xe9\x87\x8d\xe9\x87\x8f\xe7\x9a\x84\xef\xbc\x8c\xe5\x8f\xa6\xe5\x8a\xa0\xe8\xb0\x83\xe6\x9c\xba\xe8\xb4\xb9\xef\xbc\x9b\xe4\xbd\x8e\xe4\xba\x8e\xe9\x80\x81\xe8\xb4\xa7\xe9\x87\x8d\xe9\x87\x8f\xe6\x88\x96\xe8\xb6\x85\xe5\x87\xba\xe9\x80\x81\xe8\xb4\xa7\xe8\x8c\x83\xe5\x9b\xb4\xe7\x9a\x84\xef\xbc\x8c\xe8\xbf\x90\xe8\xb4\xb9\xe5\x8f\xa6\xe8\xae\xa1\xe3\x80\x82","sellingProposition":"\xe6\x9c\x88\xe7\xbb\x9330\xe5\xa4\xa9\xe4\xbb\xb7\xe6\xa0\xbc\xef\xbc\x8c\xe4\xb8\x8d\xe5\x8a\xa0\xe6\x9c\x8d\xe5\x8a\xa1\xe8\xb4\xb9\xef\xbc\x81","setUnit":"\xe5\x90\xa8","skuList":[{"id":null,"2":678,"purchasePrice":5678}],"categoryBrandId":"665984898884046848","categoryName":"autotest_paper_category_name","paperMill":"apmn","salesEnterpriseId":665984854726414336,"supplierName":"autotest_supplier_paper_name"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:22 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"665984911987052544","categoryId":"638458876659896320","categoryFirstId":"5","brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","itemNo":"无","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","remark":null,"setNum":0E-7,"setUnit":"吨","stockUnit":"吨","imageUrls":[null],"sellingProposition":"月结30天价格,不加服务费!","introduction":"aotutest_paper_brand_name;克重:678","otherNote":null,"supplierName":"autotest_supplier_paper_name","salesEnterpriseId":"665984854726414336","videoUrls":[],"skuModelList":[{"id":"2","name":"克重","vals":[{"id":"536336519024218112","val":"200"},{"id":"536336519129075712","val":"300"},{"id":"538768767342219264","val":"230"},{"id":"538768767371579392","val":"250"},{"id":"538768767447076864","val":"400"},{"id":"538770448599617536","val":"80"},{"id":"538770448645754880","val":"157"},{"id":"538770998686781440","val":"60"},{"id":"538776086784380928","val":"350"},{"id":"538776086817935360","val":"400"},{"id":"538778845835300864","val":"100"},{"id":"538778845868855296","val":"105"},{"id":"538778845906604032","val":"115"},{"id":"538778845940158464","val":"120"},{"id":"538778845973712896","val":"128"},{"id":"538778846011461632","val":"150"},{"id":"538778846045016064","val":"157"},{"id":"538779972022702080","val":"90"},{"id":"538779972056256512","val":"110"},{"id":"538779972119171072","val":"130"},{"id":"538782186074148864","val":"140"},{"id":"538785717996883968","val":"70"},{"id":"538785718160461824","val":"180"},{"id":"538788511214604288","val":"58"},{"id":"538788511252353024","val":"65"},{"id":"538788511340433408","val":"68"},{"id":"538788511382376448","val":"75"},{"id":"538788511415930880","val":"78"},{"id":"538788511449485312","val":"95"},{"id":"538788511483039744","val":"98"},{"id":"538788511545954304","val":"118"},{"id":"538809934024937472","val":"62"},{"id":"538809934058491904","val":"71"},{"id":"541011288902471680","val":"210"},{"id":"541011288952803328","val":"400"},{"id":"541015765759954944","val":"230"},{"id":"541018415922548736","val":"102"},{"id":"541018415968686080","val":"128"},{"id":"541018415993851904","val":"180"},{"id":"541019992976658432","val":"220"},{"id":"541020785435873280","val":"400"},{"id":"543151777298649088","val":"220"},{"id":"543152860087586816","val":"102"},{"id":"544665952399265792","val":"280"},{"id":"544667785389805568","val":"999"},{"id":"550311978757918720","val":"1"},{"id":"552587825216884736","val":"7"},{"id":"552587825535651840","val":"9"},{"id":"553662082453737472","val":"2"},{"id":"554139389811363840","val":"323"},{"id":"554139490940227584","val":"32"},{"id":"554296904591216640","val":"3"},{"id":"564088425444151296","val":"686"},{"id":"564088901820616704","val":"123"},{"id":"564126949245587456","val":"410"},{"id":"564126949711155200","val":"450"},{"id":"565606046874341376","val":"111"},{"id":"580083174936285184","val":"500"},{"id":"580096957972877312","val":"55"},{"id":"584191393442959360","val":"190"},{"id":"588513741365186560","val":"222"},{"id":"589241094877876224","val":"170"},{"id":"590177065869905920","val":"320"},{"id":"592126865800564736","val":"160"},{"id":"592325410239418368","val":"5698"},{"id":"592326611043487744","val":"588"},{"id":"595350706626629632","val":"151"},{"id":"595702140685651968","val":"520"},{"id":"597865047296970752","val":"1400"},{"id":"598556468513476608","val":"1231"},{"id":"599296942652133376","val":"2313"},{"id":"599370213384916992","val":"4564"},{"id":"599371557239918592","val":"321"},{"id":"600022598272815104","val":"13"},{"id":"603266955499147264","val":"31"},{"id":"603683459742961664","val":"213"},{"id":"603689722082103296","val":"1321"},{"id":"604308035543896064","val":"1213"},{"id":"604309673205698560","val":"123123"},{"id":"604358737972563968","val":"3445"},{"id":"604359821583585280","val":"112312"},{"id":"604742080429953024","val":"67"},{"id":"604742159459028992","val":"6765"},{"id":"604756182527250432","val":"112"},{"id":"604798376105611264","val":"134"},{"id":"604850207171153920","val":"211"},{"id":"604871990934900736","val":"312"},{"id":"605378428308426752","val":"34534"},{"id":"605869497802428416","val":"456456"},{"id":"605871081575813120","val":"1276"},{"id":"606926942897311744","val":"132"},{"id":"606930610174431232","val":"453"},{"id":"606930839871295488","val":"6456"},{"id":"607291776000200704","val":"963"},{"id":"608294705981165568","val":"888"},{"id":"608388734093758464","val":"1000"},{"id":"608390183850741760","val":"9991"},{"id":"608390193430532096","val":"1001"},{"id":"608391434348924928","val":"399"},{"id":"608399296643076096","val":"1200"},{"id":"608742882039435264","val":"666"},{"id":"608746305870761984","val":"333"},{"id":"608752324160131072","val":"663"},{"id":"609370051778318336","val":"1121312"},{"id":"609392585408122880","val":"544"},{"id":"609425115062603776","val":"876"},{"id":"610149185353814016","val":"152"},{"id":"610161647641825280","val":"305"},{"id":"618221052174143488","val":"2341"},{"id":"619695748057010176","val":"34"},{"id":"619695772442693632","val":"3323"},{"id":"619697681912172544","val":"3234"},{"id":"619699469985910784","val":"2222"},{"id":"619699479800582144","val":"11111"},{"id":"620024322391674880","val":"243"},{"id":"620300258550878208","val":"345"},{"id":"620300683169632256","val":"4543"},{"id":"620306664461045760","val":"1344"},{"id":"620348596071567360","val":"1233"},{"id":"620773162442952704","val":"432"},{"id":"620773166226214912","val":"234"},{"id":"622134478336299008","val":"8989"},{"id":"622153514864480256","val":"900"},{"id":"622193869236342784","val":"133"},{"id":"622492750033588224","val":"88"},{"id":"622551793901113344","val":"343"},{"id":"622551802566545408","val":"314"},{"id":"622868979475681280","val":"240"},{"id":"623521594450513920","val":"600"},{"id":"624594849974325248","val":"2000"},{"id":"624759606408777728","val":"233"},{"id":"624759609084743680","val":"344"},{"id":"624947664802418688","val":"5645"},{"id":"625017294946439168","val":"3421"},{"id":"627192842661531648","val":"654"},{"id":"627192846151192576","val":"456"},{"id":"627238592305041408","val":"12323"},{"id":"627238594658045952","val":"213123"},{"id":"627282620425834496","val":"54234"},{"id":"627592755710922752","val":"3231"},{"id":"627613549325324288","val":"2132"},{"id":"632305653066633216","val":"3311"},{"id":"632677342476636160","val":"4234"},{"id":"632930468538486784","val":"1234"},{"id":"633730564851109888","val":"12"},{"id":"634820075391684608","val":"54345"},{"id":"635097158462345216","val":"89"},{"id":"635097158940495872","val":"255"},{"id":"635485597905063936","val":"2133"},{"id":"636176997281828864","val":"290"},{"id":"636210907168509952","val":"245"},{"id":"636262734345932800","val":"1900"},{"id":"638014204846149632","val":"9000"},{"id":"638106570395357184","val":"21"},{"id":"639081978032951296","val":"3000"},{"id":"639232160141807616","val":"122"},{"id":"639241932580720640","val":"23"},{"id":"639241932689772544","val":"322"},{"id":"639241932807213056","val":"23232"},{"id":"639241932924653568","val":"1212"},{"id":"639241933042094080","val":"32334"},{"id":"639241933155340288","val":"2123"},{"id":"639241933272780800","val":"21324"},{"id":"639241933386027008","val":"4321"},{"id":"639241933495078912","val":"2335"},{"id":"639241933604130816","val":"212111"},{"id":"639241933717377024","val":"38924"},{"id":"639241933830623232","val":"834"},{"id":"639241933943869440","val":"434"},{"id":"639241934052921344","val":"5"},{"id":"639241934161973248","val":"4"},{"id":"639241934447185920","val":"3489"},{"id":"639252076794351616","val":"12222"},{"id":"639470161807675392","val":"2300"},{"id":"639471515007586304","val":"235"},{"id":"645255965804990464","val":"800"},{"id":"645259961290592256","val":"890"},{"id":"645594792394362880","val":"678"},{"id":"645717517314166784","val":"677"},{"id":"645717520627666944","val":"3666"},{"id":"645717522481549312","val":"3777"},{"id":"646035902572924928","val":"10000"},{"id":"646062083779203072","val":"1332"},{"id":"646063159530098688","val":"13333"},{"id":"646421251270774784","val":"675"},{"id":"646421886397452288","val":"45656"},{"id":"646424680475004928","val":"555"},{"id":"646426055447547904","val":"168"},{"id":"646442507332358144","val":"435"},{"id":"647478960468398080","val":"5434"},{"id":"647478962733322240","val":"3454"},{"id":"647501709622513664","val":"45345"},{"id":"647514067677876224","val":"23423"},{"id":"647514068206358528","val":"34234"},{"id":"647769796099837952","val":"3123"},{"id":"647770024681017344","val":"2134"},{"id":"647845729284526080","val":"23123"},{"id":"647854994514644992","val":"390"},{"id":"647875834853593088","val":"231"},{"id":"647891572750422016","val":"55555"},{"id":"650429249760661504","val":"1020"},{"id":"650437580495654912","val":"4334"},{"id":"650464515766489088","val":"606"},{"id":"651395289508352000","val":"324"},{"id":"652547456227217408","val":"99"},{"id":"652559535701102592","val":"7688"},{"id":"652935168918687744","val":"41536"},{"id":"652935171024228352","val":"4556"},{"id":"652935172076998656","val":"6345"},{"id":"653927284167806976","val":"43223"}]},{"id":"3","name":"规格","vals":[{"id":"1","val":"正度"},{"id":"2","val":"大度"},{"id":"3","val":"卷筒"},{"id":"594943106122649600","val":"特规分切"}]}],"skuList":[{"2":"678","3":"特规分切","remark":null,"id":1466,"purchasePrice":5678.0000,"stock":0.00,"listPrice":5678.0000}],"categoryName":"autotest_category","paperMill":"apm","categoryBrandId":"665984898884046848"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984911987052544', 'categoryId': '638458876659896320', 'categoryFirstId': '5', 'brandName': 'aotutest_paper_brand_name', 'name': 'aotutest_paper_name', 'itemNo': '无', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'remark': None, 'setNum': 0.0, 'setUnit': '吨', 'stockUnit': '吨', 'imageUrls': [None], 'sellingProposition': '月结30天价格,不加服务费!', 'introduction': 'aotutest_paper_brand_name;克重:678', 'otherNote': None, 'supplierName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'videoUrls': [], 'skuModelList': [{'id': '2', 'name': '克重', 'vals': [{'id': '536336519024218112', 'val': '200'}, {'id': '536336519129075712', 'val': '300'}, {'id': '538768767342219264', 'val': '230'}, {'id': '538768767371579392', 'val': '250'}, {'id': '538768767447076864', 'val': '400'}, {'id': '538770448599617536', 'val': '80'}, {'id': '538770448645754880', 'val': '157'}, {'id': '538770998686781440', 'val': '60'}, {'id': '538776086784380928', 'val': '350'}, {'id': '538776086817935360', 'val': '400'}, {'id': '538778845835300864', 'val': '100'}, {'id': '538778845868855296', 'val': '105'}, {'id': '538778845906604032', 'val': '115'}, {'id': '538778845940158464', 'val': '120'}, {'id': '538778845973712896', 'val': '128'}, {'id': '538778846011461632', 'val': '150'}, {'id': '538778846045016064', 'val': '157'}, {'id': '538779972022702080', 'val': '90'}, {'id': '538779972056256512', 'val': '110'}, {'id': '538779972119171072', 'val': '130'}, {'id': '538782186074148864', 'val': '140'}, {'id': '538785717996883968', 'val': '70'}, {'id': '538785718160461824', 'val': '180'}, {'id': '538788511214604288', 'val': '58'}, {'id': '538788511252353024', 'val': '65'}, {'id': '538788511340433408', 'val': '68'}, {'id': '538788511382376448', 'val': '75'}, {'id': '538788511415930880', 'val': '78'}, {'id': '538788511449485312', 'val': '95'}, {'id': '538788511483039744', 'val': '98'}, {'id': '538788511545954304', 'val': '118'}, {'id': '538809934024937472', 'val': '62'}, {'id': '538809934058491904', 'val': '71'}, {'id': '541011288902471680', 'val': '210'}, {'id': '541011288952803328', 'val': '400'}, {'id': '541015765759954944', 'val': '230'}, {'id': '541018415922548736', 'val': '102'}, {'id': '541018415968686080', 'val': '128'}, {'id': '541018415993851904', 'val': '180'}, {'id': '541019992976658432', 'val': '220'}, {'id': '541020785435873280', 'val': '400'}, {'id': '543151777298649088', 'val': '220'}, {'id': '543152860087586816', 'val': '102'}, {'id': '544665952399265792', 'val': '280'}, {'id': '544667785389805568', 'val': '999'}, {'id': '550311978757918720', 'val': '1'}, {'id': '552587825216884736', 'val': '7'}, {'id': '552587825535651840', 'val': '9'}, {'id': '553662082453737472', 'val': '2'}, {'id': '554139389811363840', 'val': '323'}, {'id': '554139490940227584', 'val': '32'}, {'id': '554296904591216640', 'val': '3'}, {'id': '564088425444151296', 'val': '686'}, {'id': '564088901820616704', 'val': '123'}, {'id': '564126949245587456', 'val': '410'}, {'id': '564126949711155200', 'val': '450'}, {'id': '565606046874341376', 'val': '111'}, {'id': '580083174936285184', 'val': '500'}, {'id': '580096957972877312', 'val': '55'}, {'id': '584191393442959360', 'val': '190'}, {'id': '588513741365186560', 'val': '222'}, {'id': '589241094877876224', 'val': '170'}, {'id': '590177065869905920', 'val': '320'}, {'id': '592126865800564736', 'val': '160'}, {'id': '592325410239418368', 'val': '5698'}, {'id': '592326611043487744', 'val': '588'}, {'id': '595350706626629632', 'val': '151'}, {'id': '595702140685651968', 'val': '520'}, {'id': '597865047296970752', 'val': '1400'}, {'id': '598556468513476608', 'val': '1231'}, {'id': '599296942652133376', 'val': '2313'}, {'id': '599370213384916992', 'val': '4564'}, {'id': '599371557239918592', 'val': '321'}, {'id': '600022598272815104', 'val': '13'}, {'id': '603266955499147264', 'val': '31'}, {'id': '603683459742961664', 'val': '213'}, {'id': '603689722082103296', 'val': '1321'}, {'id': '604308035543896064', 'val': '1213'}, {'id': '604309673205698560', 'val': '123123'}, {'id': '604358737972563968', 'val': '3445'}, {'id': '604359821583585280', 'val': '112312'}, {'id': '604742080429953024', 'val': '67'}, {'id': '604742159459028992', 'val': '6765'}, {'id': '604756182527250432', 'val': '112'}, {'id': '604798376105611264', 'val': '134'}, {'id': '604850207171153920', 'val': '211'}, {'id': '604871990934900736', 'val': '312'}, {'id': '605378428308426752', 'val': '34534'}, {'id': '605869497802428416', 'val': '456456'}, {'id': '605871081575813120', 'val': '1276'}, {'id': '606926942897311744', 'val': '132'}, {'id': '606930610174431232', 'val': '453'}, {'id': '606930839871295488', 'val': '6456'}, {'id': '607291776000200704', 'val': '963'}, {'id': '608294705981165568', 'val': '888'}, {'id': '608388734093758464', 'val': '1000'}, {'id': '608390183850741760', 'val': '9991'}, {'id': '608390193430532096', 'val': '1001'}, {'id': '608391434348924928', 'val': '399'}, {'id': '608399296643076096', 'val': '1200'}, {'id': '608742882039435264', 'val': '666'}, {'id': '608746305870761984', 'val': '333'}, {'id': '608752324160131072', 'val': '663'}, {'id': '609370051778318336', 'val': '1121312'}, {'id': '609392585408122880', 'val': '544'}, {'id': '609425115062603776', 'val': '876'}, {'id': '610149185353814016', 'val': '152'}, {'id': '610161647641825280', 'val': '305'}, {'id': '618221052174143488', 'val': '2341'}, {'id': '619695748057010176', 'val': '34'}, {'id': '619695772442693632', 'val': '3323'}, {'id': '619697681912172544', 'val': '3234'}, {'id': '619699469985910784', 'val': '2222'}, {'id': '619699479800582144', 'val': '11111'}, {'id': '620024322391674880', 'val': '243'}, {'id': '620300258550878208', 'val': '345'}, {'id': '620300683169632256', 'val': '4543'}, {'id': '620306664461045760', 'val': '1344'}, {'id': '620348596071567360', 'val': '1233'}, {'id': '620773162442952704', 'val': '432'}, {'id': '620773166226214912', 'val': '234'}, {'id': '622134478336299008', 'val': '8989'}, {'id': '622153514864480256', 'val': '900'}, {'id': '622193869236342784', 'val': '133'}, {'id': '622492750033588224', 'val': '88'}, {'id': '622551793901113344', 'val': '343'}, {'id': '622551802566545408', 'val': '314'}, {'id': '622868979475681280', 'val': '240'}, {'id': '623521594450513920', 'val': '600'}, {'id': '624594849974325248', 'val': '2000'}, {'id': '624759606408777728', 'val': '233'}, {'id': '624759609084743680', 'val': '344'}, {'id': '624947664802418688', 'val': '5645'}, {'id': '625017294946439168', 'val': '3421'}, {'id': '627192842661531648', 'val': '654'}, {'id': '627192846151192576', 'val': '456'}, {'id': '627238592305041408', 'val': '12323'}, {'id': '627238594658045952', 'val': '213123'}, {'id': '627282620425834496', 'val': '54234'}, {'id': '627592755710922752', 'val': '3231'}, {'id': '627613549325324288', 'val': '2132'}, {'id': '632305653066633216', 'val': '3311'}, {'id': '632677342476636160', 'val': '4234'}, {'id': '632930468538486784', 'val': '1234'}, {'id': '633730564851109888', 'val': '12'}, {'id': '634820075391684608', 'val': '54345'}, {'id': '635097158462345216', 'val': '89'}, {'id': '635097158940495872', 'val': '255'}, {'id': '635485597905063936', 'val': '2133'}, {'id': '636176997281828864', 'val': '290'}, {'id': '636210907168509952', 'val': '245'}, {'id': '636262734345932800', 'val': '1900'}, {'id': '638014204846149632', 'val': '9000'}, {'id': '638106570395357184', 'val': '21'}, {'id': '639081978032951296', 'val': '3000'}, {'id': '639232160141807616', 'val': '122'}, {'id': '639241932580720640', 'val': '23'}, {'id': '639241932689772544', 'val': '322'}, {'id': '639241932807213056', 'val': '23232'}, {'id': '639241932924653568', 'val': '1212'}, {'id': '639241933042094080', 'val': '32334'}, {'id': '639241933155340288', 'val': '2123'}, {'id': '639241933272780800', 'val': '21324'}, {'id': '639241933386027008', 'val': '4321'}, {'id': '639241933495078912', 'val': '2335'}, {'id': '639241933604130816', 'val': '212111'}, {'id': '639241933717377024', 'val': '38924'}, {'id': '639241933830623232', 'val': '834'}, {'id': '639241933943869440', 'val': '434'}, {'id': '639241934052921344', 'val': '5'}, {'id': '639241934161973248', 'val': '4'}, {'id': '639241934447185920', 'val': '3489'}, {'id': '639252076794351616', 'val': '12222'}, {'id': '639470161807675392', 'val': '2300'}, {'id': '639471515007586304', 'val': '235'}, {'id': '645255965804990464', 'val': '800'}, {'id': '645259961290592256', 'val': '890'}, {'id': '645594792394362880', 'val': '678'}, {'id': '645717517314166784', 'val': '677'}, {'id': '645717520627666944', 'val': '3666'}, {'id': '645717522481549312', 'val': '3777'}, {'id': '646035902572924928', 'val': '10000'}, {'id': '646062083779203072', 'val': '1332'}, {'id': '646063159530098688', 'val': '13333'}, {'id': '646421251270774784', 'val': '675'}, {'id': '646421886397452288', 'val': '45656'}, {'id': '646424680475004928', 'val': '555'}, {'id': '646426055447547904', 'val': '168'}, {'id': '646442507332358144', 'val': '435'}, {'id': '647478960468398080', 'val': '5434'}, {'id': '647478962733322240', 'val': '3454'}, {'id': '647501709622513664', 'val': '45345'}, {'id': '647514067677876224', 'val': '23423'}, {'id': '647514068206358528', 'val': '34234'}, {'id': '647769796099837952', 'val': '3123'}, {'id': '647770024681017344', 'val': '2134'}, {'id': '647845729284526080', 'val': '23123'}, {'id': '647854994514644992', 'val': '390'}, {'id': '647875834853593088', 'val': '231'}, {'id': '647891572750422016', 'val': '55555'}, {'id': '650429249760661504', 'val': '1020'}, {'id': '650437580495654912', 'val': '4334'}, {'id': '650464515766489088', 'val': '606'}, {'id': '651395289508352000', 'val': '324'}, {'id': '652547456227217408', 'val': '99'}, {'id': '652559535701102592', 'val': '7688'}, {'id': '652935168918687744', 'val': '41536'}, {'id': '652935171024228352', 'val': '4556'}, {'id': '652935172076998656', 'val': '6345'}, {'id': '653927284167806976', 'val': '43223'}]}, {'id': '3', 'name': '规格', 'vals': [{'id': '1', 'val': '正度'}, {'id': '2', 'val': '大度'}, {'id': '3', 'val': '卷筒'}, {'id': '594943106122649600', 'val': '特规分切'}]}], 'skuList': [{'2': '678', '3': '特规分切', 'remark': None, 'id': 1466, 'purchasePrice': 5678.0, 'stock': 0.0, 'listPrice': 5678.0}], 'categoryName': 'autotest_category', 'paperMill': 'apm', 'categoryBrandId': '665984898884046848'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
id
${product_id}
${product_id} = 665984911987052544
Makes a variable available globally in all tests and suites.
${product_id}
${product_id} = 665984911987052544
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/seller/query-product-list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/query-product-list
path_url=/trading-center/get/seller/query-product-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/query-product-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984911987052544","brandName":"aotutest_paper_brand_name","categoryBrandId":"665984898884046848","categoryId":"638458876659896320","categoryName":"autotest_category","litPicUrl":null,"name":"aotutest_paper_name","paperMill":"apm","salesEnterpriseId":"665984854726414336","salesEnterpriseName":"autotest_supplier_paper_name","introduction":"678","status":30112,"createTime":"2021-12-08 15:47:22","skuList":[{"2":"678","3":"特规分切","remark":null,"id":1466,"purchasePrice":5678.0000,"stock":0.00,"listPrice":5678.0000}]},{"id":"658301546412511232","brandName":"沙雕风格","categoryBrandId":"652853213489401856","categoryId":"1","categoryName":"白板纸","litPicUrl":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711572607626.png","name":"111111111111111111111111","paperMill":"供货","salesEnterpriseId":"652564100836102144","salesEnterpriseName":"2为人妻我让请问请问","introduction":"678","status":30112,"createTime":"2021-11-17 10:56:25","skuList":[{"2":"678","3":"特规分切","remark":null,"id":1364,"purchasePrice":2513.0000,"stock":0.00,"listPrice":2513.0000}]},{"id":"653677869767200768","brandName":"测试纸品","categoryBrandId":"623143393647792128","categoryId":"9","categoryName":"金银卡","litPicUrl":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711585742630.png","name":"test测试纸品","paperMill":"test","salesEnterpriseId":"652564100836102144","salesEnterpriseName":"2为人妻我让请问请问","introduction":"123/1231/34234/43223","status":30112,"createTime":"2021-11-04 16:43:35","skuList":[{"2":"123","3":"特规分切","remark":null,"id":1334,"purchasePrice":5000.0000,"stock":0.00,"listPrice":5000.0000},{"2":"1231","3":"特规分切","remark":null,"id":1335,"purchasePrice":5000.0000,"stock":0.00,"listPrice":5000.0000},{"2":"43223","3":"特规分切","remark":null,"id":1337,"purchasePrice":2344.0000,"stock":0.00,"listPrice":2344.0000},{"2":"34234","3":"特规分切","remark":null,"id":1338,"purchasePrice":2344.0000,"stock":0.00,"listPrice":2344.0000}]},{"id":"652935171879866368","brandName":"橙光","categoryBrandId":"646442007052554240","categoryId":"622858543002947584","categoryName":"特级牛卡","litPicUrl":null,"name":"岳阳特级牛卡","paperMill":"岳阳","salesEnterpriseId":"651506009763876864","salesEnterpriseName":"1234123123","introduction":"6345","status":30112,"createTime":"2021-11-02 15:32:22","skuList":[{"2":"6345","3":"特规分切","remark":null,"id":1332,"purchasePrice":12.0000,"stock":0.00,"listPrice":12.0000}]},{"id":"652935172945219584","brandName":"122","categoryBrandId":"639233011782651904","categoryId":"622858543002947584","categoryName":"特级牛卡","litPicUrl":null,"name":"一休","paperMill":"a","salesEnterpriseId":"651054924326637568","salesEnterpriseName":"5645646457","introduction":"3123","status":30112,"createTime":"2021-11-02 15:32:22","skuList":[{"2":"3123","3":"特规分切","remark":null,"id":1333,"purchasePrice":333.0000,"stock":0.00,"listPrice":333.0000}]},{"id":"652935170873233408","brandName":"为人父","categoryBrandId":"646077175493169152","categoryId":"8","categoryName":"白卡纸","litPicUrl":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711581563528.png","name":"口语课回家","paperMill":"测试纸厂","salesEnterpriseId":"652561865410482176","salesEnterpriseName":"axxxx","introduction":"4556","status":30112,"createTime":"2021-11-02 15:32:21","skuList":[{"2":"4556","3":"特规分切","remark":null,"id":1331,"purchasePrice":456.0000,"stock":0.00,"listPrice":456.0000}]},{"id":"652935169854017536","brandName":"123","categoryBrandId":"634846041195286528","categoryId":"633768048419016704","categoryName":"而","litPicUrl":null,"name":"213","paperMill":"岳阳","salesEnterpriseId":"652562031479754752","salesEnterpriseName":"wwww","introduction":"1233","status":30112,"createTime":"2021-11-02 15:32:21","skuList":[{"2":"1233","3":"特规分切","remark":null,"id":1330,"purchasePrice":55.0000,"stock":0.00,"listPrice":55.0000}]},{"id":"652932945153232896","brandName":"122","categoryBrandId":"639233011782651904","categoryId":"622858543002947584","categoryName":"特级牛卡","litPicUrl":null,"name":"一休","paperMill":"a","salesEnterpriseId":"652561865410482176","salesEnterpriseName":"axxxx","introduction":"123","status":30112,"createTime":"2021-11-02 15:23:31","skuList":[{"2":"123","3":"特规分切","remark":null,"id":1327,"purchasePrice":1235.0000,"stock":0.00,"listPrice":1235.0000}]},{"id":"652932943462928384","brandName":"橙光","categoryBrandId":"646442007052554240","categoryId":"622858543002947584","categoryName":"特级牛卡","litPicUrl":null,"name":"岳阳特级牛卡","paperMill":"岳阳","salesEnterpriseId":"652564100836102144","salesEnterpriseName":"2为人妻我让请问请问","introduction":"213/41536","status":30112,"createTime":"2021-11-02 15:23:30","skuList":[{"2":"213","3":"特规分切","remark":null,"id":1325,"purchasePrice":1233.0000,"stock":0.00,"listPrice":1233.0000},{"2":"41536","3":"特规分切","remark":null,"id":1329,"purchasePrice":6.0000,"stock":0.00,"listPrice":6.0000}]},{"id":"652932944310177792","brandName":"为人父","categoryBrandId":"646077175493169152","categoryId":"8","categoryName":"白卡纸","litPicUrl":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711581563528.png","name":"口语课回家","paperMill":"测试纸厂","salesEnterpriseId":"652562031479754752","salesEnterpriseName":"wwww","introduction":"123","status":30112,"createTime":"2021-11-02 15:23:30","skuList":[{"2":"123","3":"特规分切","remark":null,"id":1326,"purchasePrice":3234.0000,"stock":0.00,"listPrice":3234.0000}]}],"total":283,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984911987052544', 'brandName': 'aotutest_paper_brand_name', 'categoryBrandId': '665984898884046848', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'litPicUrl': None, 'name': 'aotutest_paper_name', 'paperMill': 'apm', 'salesEnterpriseId': '665984854726414336', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'introduction': '678', 'status': 30112, 'createTime': '2021-12-08 15:47:22', 'skuList': [{'2': '678', '3': '特规分切', 'remark': None, 'id': 1466, 'purchasePrice': 5678.0, 'stock': 0.0, 'listPrice': 5678.0}]}, {'id': '658301546412511232', 'brandName': '沙雕风格', 'categoryBrandId': '652853213489401856', 'categoryId': '1', 'categoryName': '白板纸', 'litPicUrl': 'http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711572607626.png', 'name': '111111111111111111111111', 'paperMill': '供货', 'salesEnterpriseId': '652564100836102144', 'salesEnterpriseName': '2为人妻我让请问请问', 'introduction': '678', 'status': 30112, 'createTime': '2021-11-17 10:56:25', 'skuList': [{'2': '678', '3': '特规分切', 'remark': None, 'id': 1364, 'purchasePrice': 2513.0, 'stock': 0.0, 'listPrice': 2513.0}]}, {'id': '653677869767200768', 'brandName': '测试纸品', 'categoryBrandId': '623143393647792128', 'categoryId': '9', 'categoryName': '金银卡', 'litPicUrl': 'http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711585742630.png', 'name': 'test测试纸品', 'paperMill': 'test', 'salesEnterpriseId': '652564100836102144', 'salesEnterpriseName': '2为人妻我让请问请问', 'introduction': '123/1231/34234/43223', 'status': 30112, 'createTime': '2021-11-04 16:43:35', 'skuList': [{'2': '123', '3': '特规分切', 'remark': None, 'id': 1334, 'purchasePrice': 5000.0, 'stock': 0.0, 'listPrice': 5000.0}, {'2': '1231', '3': '特规分切', 'remark': None, 'id': 1335, 'purchasePrice': 5000.0, 'stock': 0.0, 'listPrice': 5000.0}, {'2': '43223', '3': '特规分切', 'remark': None, 'id': 1337, 'purchasePrice': 2344.0, 'stock': 0.0, 'listPrice': 2344.0}, {'2': '34234', '3': '特规分切', 'remark': None, 'id': 1338, 'purchasePrice': 2344.0, 'stock': 0.0, 'listPrice': 2344.0}]}, {'id': '652935171879866368', 'brandName': '橙光', 'categoryBrandId': '646442007052554240', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'litPicUrl': None, 'name': '岳阳特级牛卡', 'paperMill': '岳阳', 'salesEnterpriseId': '651506009763876864', 'salesEnterpriseName': '1234123123', 'introduction': '6345', 'status': 30112, 'createTime': '2021-11-02 15:32:22', 'skuList': [{'2': '6345', '3': '特规分切', 'remark': None, 'id': 1332, 'purchasePrice': 12.0, 'stock': 0.0, 'listPrice': 12.0}]}, {'id': '652935172945219584', 'brandName': '122', 'categoryBrandId': '639233011782651904', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'litPicUrl': None, 'name': '一休', 'paperMill': 'a', 'salesEnterpriseId': '651054924326637568', 'salesEnterpriseName': '5645646457', 'introduction': '3123', 'status': 30112, 'createTime': '2021-11-02 15:32:22', 'skuList': [{'2': '3123', '3': '特规分切', 'remark': None, 'id': 1333, 'purchasePrice': 333.0, 'stock': 0.0, 'listPrice': 333.0}]}, {'id': '652935170873233408', 'brandName': '为人父', 'categoryBrandId': '646077175493169152', 'categoryId': '8', 'categoryName': '白卡纸', 'litPicUrl': 'http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711581563528.png', 'name': '口语课回家', 'paperMill': '测试纸厂', 'salesEnterpriseId': '652561865410482176', 'salesEnterpriseName': 'axxxx', 'introduction': '4556', 'status': 30112, 'createTime': '2021-11-02 15:32:21', 'skuList': [{'2': '4556', '3': '特规分切', 'remark': None, 'id': 1331, 'purchasePrice': 456.0, 'stock': 0.0, 'listPrice': 456.0}]}, {'id': '652935169854017536', 'brandName': '123', 'categoryBrandId': '634846041195286528', 'categoryId': '633768048419016704', 'categoryName': '而', 'litPicUrl': None, 'name': '213', 'paperMill': '岳阳', 'salesEnterpriseId': '652562031479754752', 'salesEnterpriseName': 'wwww', 'introduction': '1233', 'status': 30112, 'createTime': '2021-11-02 15:32:21', 'skuList': [{'2': '1233', '3': '特规分切', 'remark': None, 'id': 1330, 'purchasePrice': 55.0, 'stock': 0.0, 'listPrice': 55.0}]}, {'id': '652932945153232896', 'brandName': '122', 'categoryBrandId': '639233011782651904', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'litPicUrl': None, 'name': '一休', 'paperMill': 'a', 'salesEnterpriseId': '652561865410482176', 'salesEnterpriseName': 'axxxx', 'introduction': '123', 'status': 30112, 'createTime': '2021-11-02 15:23:31', 'skuList': [{'2': '123', '3': '特规分切', 'remark': None, 'id': 1327, 'purchasePrice': 1235.0, 'stock': 0.0, 'listPrice': 1235.0}]}, {'id': '652932943462928384', 'brandName': '橙光', 'categoryBrandId': '646442007052554240', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'litPicUrl': None, 'name': '岳阳特级牛卡', 'paperMill': '岳阳', 'salesEnterpriseId': '652564100836102144', 'salesEnterpriseName': '2为人妻我让请问请问', 'introduction': '213/41536', 'status': 30112, 'createTime': '2021-11-02 15:23:30', 'skuList': [{'2': '213', '3': '特规分切', 'remark': None, 'id': 1325, 'purchasePrice': 1233.0, 'stock': 0.0, 'listPrice': 1233.0}, {'2': '41536', '3': '特规分切', 'remark': None, 'id': 1329, 'purchasePrice': 6.0, 'stock': 0.0, 'listPrice': 6.0}]}, {'id': '652932944310177792', 'brandName': '为人父', 'categoryBrandId': '646077175493169152', 'categoryId': '8', 'categoryName': '白卡纸', 'litPicUrl': 'http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711581563528.png', 'name': '口语课回家', 'paperMill': '测试纸厂', 'salesEnterpriseId': '652562031479754752', 'salesEnterpriseName': 'wwww', 'introduction': '123', 'status': 30112, 'createTime': '2021-11-02 15:23:30', 'skuList': [{'2': '123', '3': '特规分切', 'remark': None, 'id': 1326, 'purchasePrice': 3234.0, 'stock': 0.0, 'listPrice': 3234.0}]}], 'total': 283, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][1]}
id
${product_id1}
${product_id1} = 658301546412511232
Makes a variable available globally in all tests and suites.
${product_id1}
${product_id1} = 658301546412511232
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
30112
${product_status}
${product_status} = 30112
Returns the given values which can then be assigned to a variables.
salesEnterpriseId=${supplier_paper_id}&name=${paper_name}
${param}
${param} = salesEnterpriseId=665984854726414336&name=aotutest_paper_name
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/seller/query-product-list
params-${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/query-product-list?params-salesEnterpriseId=665984854726414336&name=aotutest_paper_name
path_url=/trading-center/get/seller/query-product-list?params-salesEnterpriseId=665984854726414336&name=aotutest_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/query-product-list?params-salesEnterpriseId=665984854726414336&name=aotutest_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984911987052544","brandName":"aotutest_paper_brand_name","categoryBrandId":"665984898884046848","categoryId":"638458876659896320","categoryName":"autotest_category","litPicUrl":null,"name":"aotutest_paper_name","paperMill":"apm","salesEnterpriseId":"665984854726414336","salesEnterpriseName":"autotest_supplier_paper_name","introduction":"678","status":30112,"createTime":"2021-12-08 15:47:22","skuList":[{"2":"678","3":"特规分切","remark":null,"id":1466,"purchasePrice":5678.0000,"stock":0.00,"listPrice":5678.0000}]}],"total":1,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984911987052544', 'brandName': 'aotutest_paper_brand_name', 'categoryBrandId': '665984898884046848', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'litPicUrl': None, 'name': 'aotutest_paper_name', 'paperMill': 'apm', 'salesEnterpriseId': '665984854726414336', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'introduction': '678', 'status': 30112, 'createTime': '2021-12-08 15:47:22', 'skuList': [{'2': '678', '3': '特规分切', 'remark': None, 'id': 1466, 'purchasePrice': 5678.0, 'stock': 0.0, 'listPrice': 5678.0}]}], 'total': 1, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${paper_name}
${response.json()["data"]["records"][0]["name"]}
Fails if objects are unequal after converting them to strings.
${product_id}
${response.json()["data"]["records"][0]["id"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
1
${product_status}
${product_status} = 1
Returns the given values which can then be assigned to a variables.
{"status":${product_status},"id":"${product_id}"}
${body}
${body} = {"status":1,"id":"665984911987052544"}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/edit/product/status/${product_id}
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/edit/product/status/665984911987052544
path_url=/trading-center/edit/product/status/665984911987052544
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '38'}
body=b'{"status":1,"id":"665984911987052544"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/edit/product/status/665984911987052544
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
2
${product_status}
${product_status} = 2
Returns the given values which can then be assigned to a variables.
{"status":${product_status},"id":"${product_id}"}
${body}
${body} = {"status":2,"id":"665984911987052544"}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/edit/product/status/${product_id}
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/edit/product/status/665984911987052544
path_url=/trading-center/edit/product/status/665984911987052544
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '38'}
body=b'{"status":2,"id":"665984911987052544"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/edit/product/status/665984911987052544
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
30111
${product_status}
${product_status} = 30111
Returns the given values which can then be assigned to a variables.
{"status":${product_status},"idList":["${product_id}","${product_id1}"]}
${body}
${body} = {"status":30111,"idList":["665984911987052544","658301546412511232"]}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/update/product-status/batch
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/update/product-status/batch
path_url=/trading-center/update/product-status/batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '69'}
body=b'{"status":30111,"idList":["665984911987052544","658301546412511232"]}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/update/product-status/batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
isOnSale=0
${param}
${param} = isOnSale=0
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/on-sale-category-brand-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0
path_url=/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984898884046848","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","createTime":null,"onSaleSort":0},{"id":"652853213489401856","categoryId":"1","categoryName":"白板纸","name":"沙雕风格","paperManufacturerId":"622401477847158784","paperManufacturerName":"广州一会发给黄","paperName":"111111111111111111111111","createTime":null,"onSaleSort":0},{"id":"651122232923394048","categoryId":"16","categoryName":"其他","name":"统计","paperManufacturerId":"623143179666984960","paperManufacturerName":"测试纸厂","paperName":"统计纸品","createTime":null,"onSaleSort":0},{"id":"650463564347346944","categoryId":"1","categoryName":"白板纸","name":"12312","paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"34252345","createTime":null,"onSaleSort":0},{"id":"647475598360449024","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"光明","paperManufacturerId":"624705315354578944","paperManufacturerName":"山东华泰纸业股份有限公司","paperName":"铁甲","createTime":null,"onSaleSort":0},{"id":"646442007052554240","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"橙光","paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"岳阳特级牛卡","createTime":null,"onSaleSort":0},{"id":"646077175493169152","categoryId":"8","categoryName":"白卡纸","name":"为人父","paperManufacturerId":"617760337176956928","paperManufacturerName":"广州测试纸厂","paperName":"口语课回家","createTime":null,"onSaleSort":0},{"id":"639233011782651904","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"122","paperManufacturerId":"617785159873335296","paperManufacturerName":"aaa","paperName":"一休","createTime":null,"onSaleSort":0},{"id":"634846041195286528","categoryId":"633768048419016704","categoryName":"而","name":"123","paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"213","createTime":null,"onSaleSort":0},{"id":"633768148222480384","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"掏粪工","paperManufacturerId":"620256187698515968","paperManufacturerName":"APP金光集团","paperName":"电饭锅","createTime":null,"onSaleSort":0}],"total":28,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984898884046848', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'createTime': None, 'onSaleSort': 0}, {'id': '652853213489401856', 'categoryId': '1', 'categoryName': '白板纸', 'name': '沙雕风格', 'paperManufacturerId': '622401477847158784', 'paperManufacturerName': '广州一会发给黄', 'paperName': '111111111111111111111111', 'createTime': None, 'onSaleSort': 0}, {'id': '651122232923394048', 'categoryId': '16', 'categoryName': '其他', 'name': '统计', 'paperManufacturerId': '623143179666984960', 'paperManufacturerName': '测试纸厂', 'paperName': '统计纸品', 'createTime': None, 'onSaleSort': 0}, {'id': '650463564347346944', 'categoryId': '1', 'categoryName': '白板纸', 'name': '12312', 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '34252345', 'createTime': None, 'onSaleSort': 0}, {'id': '647475598360449024', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '光明', 'paperManufacturerId': '624705315354578944', 'paperManufacturerName': '山东华泰纸业股份有限公司', 'paperName': '铁甲', 'createTime': None, 'onSaleSort': 0}, {'id': '646442007052554240', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '橙光', 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '岳阳特级牛卡', 'createTime': None, 'onSaleSort': 0}, {'id': '646077175493169152', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '为人父', 'paperManufacturerId': '617760337176956928', 'paperManufacturerName': '广州测试纸厂', 'paperName': '口语课回家', 'createTime': None, 'onSaleSort': 0}, {'id': '639233011782651904', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '122', 'paperManufacturerId': '617785159873335296', 'paperManufacturerName': 'aaa', 'paperName': '一休', 'createTime': None, 'onSaleSort': 0}, {'id': '634846041195286528', 'categoryId': '633768048419016704', 'categoryName': '而', 'name': '123', 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '213', 'createTime': None, 'onSaleSort': 0}, {'id': '633768148222480384', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '掏粪工', 'paperManufacturerId': '620256187698515968', 'paperManufacturerName': 'APP金光集团', 'paperName': '电饭锅', 'createTime': None, 'onSaleSort': 0}], 'total': 28, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
isOnSale=0&name=${paper_brand_name}&paperName=${paper_name}
${param}
${param} = isOnSale=0&name=aotutest_paper_brand_name&paperName=aotutest_paper_name
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/on-sale-category-brand-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0&name=aotutest_paper_brand_name&paperName=aotutest_paper_name
path_url=/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0&name=aotutest_paper_brand_name&paperName=aotutest_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0&name=aotutest_paper_brand_name&paperName=aotutest_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984898884046848","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","createTime":null,"onSaleSort":0}],"total":1,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984898884046848', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'createTime': None, 'onSaleSort': 0}], 'total': 1, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${on_sale_product_paper_id}
${on_sale_product_paper_id} = 665984898884046848
Makes a variable available globally in all tests and suites.
${on_sale_product_paper_id}
${on_sale_product_paper_id} = 665984898884046848
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
1
${product_isOnSale}
${product_isOnSale} = 1
Returns the given values which can then be assigned to a variables.
{"categoryBrandIds":["${on_sale_product_paper_id}"],"isOnSale":${product_isOnSale}}
${body}
${body} = {"categoryBrandIds":["665984898884046848"],"isOnSale":1}
Sends a POST request on a previously created HTTP Session.
yytops
trading-center/admin/add-or-remove/on-sale-category-brands
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/add-or-remove/on-sale-category-brands
path_url=/trading-center/admin/add-or-remove/on-sale-category-brands
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '56'}
body=b'{"categoryBrandIds":["665984898884046848"],"isOnSale":1}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/add-or-remove/on-sale-category-brands
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
isOnSale=1
${param}
${param} = isOnSale=1
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/on-sale-category-brand-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=1
path_url=/trading-center/admin/get/on-sale-category-brand-list?isOnSale=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984898884046848","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","createTime":"2021-12-08 15:47:24","onSaleSort":5},{"id":"623143393647792128","categoryId":"9","categoryName":"金银卡","name":"测试纸品","paperManufacturerId":"623143179666984960","paperManufacturerName":"测试纸厂","paperName":"test测试纸品","createTime":"2021-10-13 14:26:50","onSaleSort":4},{"id":"599233095564136448","categoryId":"8","categoryName":"白卡纸","name":"丽品","paperManufacturerId":"617789474298007552","paperManufacturerName":"gewgw","paperName":"丽品白卡纸","createTime":"2021-08-16 16:01:10","onSaleSort":3},{"id":"617825820777517056","categoryId":"15","categoryName":"特种纸","name":"ff","paperManufacturerId":"617789474298007552","paperManufacturerName":"gewgw","paperName":"fff11","createTime":"2021-08-13 11:17:54","onSaleSort":2}],"total":4,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984898884046848', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'createTime': '2021-12-08 15:47:24', 'onSaleSort': 5}, {'id': '623143393647792128', 'categoryId': '9', 'categoryName': '金银卡', 'name': '测试纸品', 'paperManufacturerId': '623143179666984960', 'paperManufacturerName': '测试纸厂', 'paperName': 'test测试纸品', 'createTime': '2021-10-13 14:26:50', 'onSaleSort': 4}, {'id': '599233095564136448', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '丽品', 'paperManufacturerId': '617789474298007552', 'paperManufacturerName': 'gewgw', 'paperName': '丽品白卡纸', 'createTime': '2021-08-16 16:01:10', 'onSaleSort': 3}, {'id': '617825820777517056', 'categoryId': '15', 'categoryName': '特种纸', 'name': 'ff', 'paperManufacturerId': '617789474298007552', 'paperManufacturerName': 'gewgw', 'paperName': 'fff11', 'createTime': '2021-08-13 11:17:54', 'onSaleSort': 2}], 'total': 4, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${on_sale_product_paper_id}
${response.json()["data"]["records"][0]["id"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
isOnSale=1
${param}
${param} = isOnSale=1
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/get/paper-brand/brand-list
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list?isOnSale=1
path_url=/trading-center/wechatapplet/get/paper-brand/brand-list?isOnSale=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list?isOnSale=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984898884046848","name":"aotutest_paper_name","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","gramWeight":["678"],"salesRank":28,"saleWeight":0.00,"minPrice":5848,"weights":"678","categoryId":"638458876659896320","salesEnterpriseId":"665984854726414336","premiumRate":0.03,"priceUpdateTime":"2021-12-08 15:47:22","createTime":null},{"id":"623143393647792128","name":"test测试纸品","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg","characteristic":null,"gramWeight":[],"salesRank":1,"saleWeight":3989.59,"minPrice":0,"weights":null,"categoryId":"9","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 10:30:28","createTime":null},{"id":"599233095564136448","name":"丽品白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["230","300","400"],"salesRank":8,"saleWeight":32.41,"minPrice":8086,"weights":"230,230,400,300","categoryId":"8","salesEnterpriseId":"553703427180466176","premiumRate":0.03,"priceUpdateTime":"2021-05-27 10:32:17","createTime":null},{"id":"617825820777517056","name":"fff11","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":null,"gramWeight":["100","123","200","343","4543"],"salesRank":11,"saleWeight":18.21,"minPrice":219,"weights":"343,123,100,200,4543","categoryId":"15","salesEnterpriseId":"592358467470233600","premiumRate":0.03,"priceUpdateTime":"2021-08-11 15:00:45","createTime":null}],"total":4,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984898884046848', 'name': 'aotutest_paper_name', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'gramWeight': ['678'], 'salesRank': 28, 'saleWeight': 0.0, 'minPrice': 5848, 'weights': '678', 'categoryId': '638458876659896320', 'salesEnterpriseId': '665984854726414336', 'premiumRate': 0.03, 'priceUpdateTime': '2021-12-08 15:47:22', 'createTime': None}, {'id': '623143393647792128', 'name': 'test测试纸品', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 1, 'saleWeight': 3989.59, 'minPrice': 0, 'weights': None, 'categoryId': '9', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 10:30:28', 'createTime': None}, {'id': '599233095564136448', 'name': '丽品白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['230', '300', '400'], 'salesRank': 8, 'saleWeight': 32.41, 'minPrice': 8086, 'weights': '230,230,400,300', 'categoryId': '8', 'salesEnterpriseId': '553703427180466176', 'premiumRate': 0.03, 'priceUpdateTime': '2021-05-27 10:32:17', 'createTime': None}, {'id': '617825820777517056', 'name': 'fff11', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': None, 'gramWeight': ['100', '123', '200', '343', '4543'], 'salesRank': 11, 'saleWeight': 18.21, 'minPrice': 219, 'weights': '343,123,100,200,4543', 'categoryId': '15', 'salesEnterpriseId': '592358467470233600', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-11 15:00:45', 'createTime': None}], 'total': 4, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${on_sale_product_paper_id}
${response.json()["data"]["records"][0]["id"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationbackend_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
0
${product_isOnSale}
${product_isOnSale} = 0
Returns the given values which can then be assigned to a variables.
{"categoryBrandIds":["${on_sale_product_paper_id}"],"isOnSale":${product_isOnSale}}
${body}
${body} = {"categoryBrandIds":["665984898884046848"],"isOnSale":0}
Sends a POST request on a previously created HTTP Session.
yytops
trading-center/admin/add-or-remove/on-sale-category-brands
${body.encode("utf8")}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/add-or-remove/on-sale-category-brands
path_url=/trading-center/admin/add-or-remove/on-sale-category-brands
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '56'}
body=b'{"categoryBrandIds":["665984898884046848"],"isOnSale":0}'
POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/add-or-remove/on-sale-category-brands
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/get/settlement-interval/two-dimension/list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/two-dimension/list
path_url=/cloud-print-user-center/get/settlement-interval/two-dimension/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/two-dimension/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"rowList":[{"rowId":"11","rowName":"月结30天","columnList":[{"colId":"1","rowId":"11","id":"622136611982938112","columnName":"现结","columnVal":1.00,"valid":0,"type":0},{"colId":"2","rowId":"11","id":"622142109939535872","columnName":"月结30天","columnVal":2.00,"valid":0,"type":0},{"colId":"3","rowId":"11","id":"622142204592394240","columnName":"月结45天","columnVal":3.00,"valid":0,"type":0},{"colId":"4","rowId":"11","id":"622142211924037632","columnName":"月结60天","columnVal":4.00,"valid":0,"type":0},{"colId":"5","rowId":"11","id":"622142217556987904","columnName":"月结75天","columnVal":5.00,"valid":0,"type":0},{"colId":"6","rowId":"11","id":"622142226239197184","columnName":"月结90天","columnVal":6.00,"valid":0,"type":0}]},{"rowId":"12","rowName":"月结45天","columnList":[{"colId":"1","rowId":"12","id":"622142016821792768","columnName":"现结","columnVal":11.00,"valid":0,"type":0},{"colId":"2","rowId":"12","id":"622142241846202368","columnName":"月结30天","columnVal":12.00,"valid":0,"type":0},{"colId":"3","rowId":"12","id":"622142311454871552","columnName":"月结45天","columnVal":13.00,"valid":0,"type":0},{"colId":"4","rowId":"12","id":"622142357202145280","columnName":"月结60天","columnVal":14.00,"valid":0,"type":0},{"colId":"5","rowId":"12","id":"622142395202539520","columnName":"月结75天","columnVal":15.00,"valid":0,"type":0},{"colId":"6","rowId":"12","id":"622142452140216320","columnName":"月结90天","columnVal":16.00,"valid":0,"type":0}]},{"rowId":"13","rowName":"月结60天","columnList":[{"colId":"1","rowId":"13","id":"622142033770975232","columnName":"现结","columnVal":21.00,"valid":0,"type":0},{"colId":"2","rowId":"13","id":"622142257004417024","columnName":"月结30天","columnVal":22.00,"valid":0,"type":0},{"colId":"3","rowId":"13","id":"622142316504813568","columnName":"月结45天","columnVal":23.00,"valid":0,"type":0},{"colId":"4","rowId":"13","id":"622142363371966464","columnName":"月结60天","columnVal":24.00,"valid":0,"type":0},{"colId":"5","rowId":"13","id":"622142403041693696","columnName":"月结75天","columnVal":25.00,"valid":0,"type":0},{"colId":"6","rowId":"13","id":"622142468766437376","columnName":"月结90天","columnVal":26.00,"valid":0,"type":0}]},{"rowId":"14","rowName":"月结75天","columnList":[{"colId":"1","rowId":"14","id":"622142051399634944","columnName":"现结","columnVal":31.00,"valid":0,"type":0},{"colId":"2","rowId":"14","id":"622142272795971584","columnName":"月结30天","columnVal":32.00,"valid":0,"type":0},{"colId":"3","rowId":"14","id":"622142320963358720","columnName":"月结45天","columnVal":33.00,"valid":0,"type":0},{"colId":"4","rowId":"14","id":"622142368690343936","columnName":"月结60天","columnVal":34.00,"valid":0,"type":0},{"colId":"5","rowId":"14","id":"622142412545986560","columnName":"月结75天","columnVal":35.00,"valid":0,"type":0},{"colId":"6","rowId":"14","id":"622142484599934976","columnName":"月结90天","columnVal":36.00,"valid":0,"type":0}]},{"rowId":"15","rowName":"月结90天","columnList":[{"colId":"6","rowId":"15","id":"622141632002789376","columnName":"月结90天","columnVal":-10.00,"valid":0,"type":0},{"colId":"1","rowId":"15","id":"622142097511813120","columnName":"现结","columnVal":-50.00,"valid":0,"type":0},{"colId":"2","rowId":"15","id":"622142301367570432","columnName":"月结30天","columnVal":-90.00,"valid":0,"type":0},{"colId":"3","rowId":"15","id":"622142333290418176","columnName":"月结45天","columnVal":10.00,"valid":0,"type":0},{"colId":"4","rowId":"15","id":"622142375078268928","columnName":"月结60天","columnVal":50.00,"valid":0,"type":0},{"colId":"5","rowId":"15","id":"622142441704787968","columnName":"月结75天","columnVal":90.00,"valid":0,"type":0}]}],"flyloanList":[{"rowId":"22","rowName":"先息后本·1期","columnList":[{"colId":"5","rowId":"22","id":"631497391060684800","columnName":"月结75天","columnVal":6.00,"valid":0,"type":1},{"colId":"1","rowId":"22","id":"632216107373170688","columnName":"现结","columnVal":2.00,"valid":0,"type":1},{"colId":"2","rowId":"22","id":"632218246287855616","columnName":"月结30天","columnVal":2.00,"valid":0,"type":1},{"colId":"3","rowId":"22","id":"632218281255768064","columnName":"月结45天","columnVal":50.00,"valid":0,"type":1},{"colId":"4","rowId":"22","id":"632218295726116864","columnName":"月结60天","columnVal":-50.00,"valid":0,"type":1},{"colId":"6","rowId":"22","id":"632218384125267968","columnName":"月结90天","columnVal":8.00,"valid":0,"type":1}]},{"rowId":"23","rowName":"先息后本·3期","columnList":[{"colId":"1","rowId":"23","id":"632218406766120960","columnName":"现结","columnVal":12.00,"valid":0,"type":1},{"colId":"2","rowId":"23","id":"632218417658728448","columnName":"月结30天","columnVal":2.00,"valid":0,"type":1},{"colId":"3","rowId":"23","id":"632218424357031936","columnName":"月结45天","columnVal":50.00,"valid":0,"type":1},{"colId":"4","rowId":"23","id":"632218431525097472","columnName":"月结60天","columnVal":100.00,"valid":0,"type":1},{"colId":"5","rowId":"23","id":"632218437007052800","columnName":"月结75天","columnVal":7.00,"valid":0,"type":1},{"colId":"6","rowId":"23","id":"632218454384054272","columnName":"月结90天","columnVal":2.00,"valid":0,"type":1}]}]}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'rowList': [{'rowId': '11', 'rowName': '月结30天', 'columnList': [{'colId': '1', 'rowId': '11', 'id': '622136611982938112', 'columnName': '现结', 'columnVal': 1.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '11', 'id': '622142109939535872', 'columnName': '月结30天', 'columnVal': 2.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '11', 'id': '622142204592394240', 'columnName': '月结45天', 'columnVal': 3.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '11', 'id': '622142211924037632', 'columnName': '月结60天', 'columnVal': 4.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '11', 'id': '622142217556987904', 'columnName': '月结75天', 'columnVal': 5.0, 'valid': 0, 'type': 0}, {'colId': '6', 'rowId': '11', 'id': '622142226239197184', 'columnName': '月结90天', 'columnVal': 6.0, 'valid': 0, 'type': 0}]}, {'rowId': '12', 'rowName': '月结45天', 'columnList': [{'colId': '1', 'rowId': '12', 'id': '622142016821792768', 'columnName': '现结', 'columnVal': 11.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '12', 'id': '622142241846202368', 'columnName': '月结30天', 'columnVal': 12.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '12', 'id': '622142311454871552', 'columnName': '月结45天', 'columnVal': 13.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '12', 'id': '622142357202145280', 'columnName': '月结60天', 'columnVal': 14.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '12', 'id': '622142395202539520', 'columnName': '月结75天', 'columnVal': 15.0, 'valid': 0, 'type': 0}, {'colId': '6', 'rowId': '12', 'id': '622142452140216320', 'columnName': '月结90天', 'columnVal': 16.0, 'valid': 0, 'type': 0}]}, {'rowId': '13', 'rowName': '月结60天', 'columnList': [{'colId': '1', 'rowId': '13', 'id': '622142033770975232', 'columnName': '现结', 'columnVal': 21.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '13', 'id': '622142257004417024', 'columnName': '月结30天', 'columnVal': 22.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '13', 'id': '622142316504813568', 'columnName': '月结45天', 'columnVal': 23.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '13', 'id': '622142363371966464', 'columnName': '月结60天', 'columnVal': 24.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '13', 'id': '622142403041693696', 'columnName': '月结75天', 'columnVal': 25.0, 'valid': 0, 'type': 0}, {'colId': '6', 'rowId': '13', 'id': '622142468766437376', 'columnName': '月结90天', 'columnVal': 26.0, 'valid': 0, 'type': 0}]}, {'rowId': '14', 'rowName': '月结75天', 'columnList': [{'colId': '1', 'rowId': '14', 'id': '622142051399634944', 'columnName': '现结', 'columnVal': 31.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '14', 'id': '622142272795971584', 'columnName': '月结30天', 'columnVal': 32.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '14', 'id': '622142320963358720', 'columnName': '月结45天', 'columnVal': 33.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '14', 'id': '622142368690343936', 'columnName': '月结60天', 'columnVal': 34.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '14', 'id': '622142412545986560', 'columnName': '月结75天', 'columnVal': 35.0, 'valid': 0, 'type': 0}, {'colId': '6', 'rowId': '14', 'id': '622142484599934976', 'columnName': '月结90天', 'columnVal': 36.0, 'valid': 0, 'type': 0}]}, {'rowId': '15', 'rowName': '月结90天', 'columnList': [{'colId': '6', 'rowId': '15', 'id': '622141632002789376', 'columnName': '月结90天', 'columnVal': -10.0, 'valid': 0, 'type': 0}, {'colId': '1', 'rowId': '15', 'id': '622142097511813120', 'columnName': '现结', 'columnVal': -50.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '15', 'id': '622142301367570432', 'columnName': '月结30天', 'columnVal': -90.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '15', 'id': '622142333290418176', 'columnName': '月结45天', 'columnVal': 10.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '15', 'id': '622142375078268928', 'columnName': '月结60天', 'columnVal': 50.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '15', 'id': '622142441704787968', 'columnName': '月结75天', 'columnVal': 90.0, 'valid': 0, 'type': 0}]}], 'flyloanList': [{'rowId': '22', 'rowName': '先息后本·1期', 'columnList': [{'colId': '5', 'rowId': '22', 'id': '631497391060684800', 'columnName': '月结75天', 'columnVal': 6.0, 'valid': 0, 'type': 1}, {'colId': '1', 'rowId': '22', 'id': '632216107373170688', 'columnName': '现结', 'columnVal': 2.0, 'valid': 0, 'type': 1}, {'colId': '2', 'rowId': '22', 'id': '632218246287855616', 'columnName': '月结30天', 'columnVal': 2.0, 'valid': 0, 'type': 1}, {'colId': '3', 'rowId': '22', 'id': '632218281255768064', 'columnName': '月结45天', 'columnVal': 50.0, 'valid': 0, 'type': 1}, {'colId': '4', 'rowId': '22', 'id': '632218295726116864', 'columnName': '月结60天', 'columnVal': -50.0, 'valid': 0, 'type': 1}, {'colId': '6', 'rowId': '22', 'id': '632218384125267968', 'columnName': '月结90天', 'columnVal': 8.0, 'valid': 0, 'type': 1}]}, {'rowId': '23', 'rowName': '先息后本·3期', 'columnList': [{'colId': '1', 'rowId': '23', 'id': '632218406766120960', 'columnName': '现结', 'columnVal': 12.0, 'valid': 0, 'type': 1}, {'colId': '2', 'rowId': '23', 'id': '632218417658728448', 'columnName': '月结30天', 'columnVal': 2.0, 'valid': 0, 'type': 1}, {'colId': '3', 'rowId': '23', 'id': '632218424357031936', 'columnName': '月结45天', 'columnVal': 50.0, 'valid': 0, 'type': 1}, {'colId': '4', 'rowId': '23', 'id': '632218431525097472', 'columnName': '月结60天', 'columnVal': 100.0, 'valid': 0, 'type': 1}, {'colId': '5', 'rowId': '23', 'id': '632218437007052800', 'columnName': '月结75天', 'columnVal': 7.0, 'valid': 0, 'type': 1}, {'colId': '6', 'rowId': '23', 'id': '632218454384054272', 'columnName': '月结90天', 'columnVal': 2.0, 'valid': 0, 'type': 1}]}]}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/get/paper/premium-rate/history/page
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/paper/premium-rate/history/page
path_url=/cloud-print-user-center/get/paper/premium-rate/history/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/paper/premium-rate/history/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"648642015323623424","createTime":"2021-10-21 19:12:53","editorId":"579717994788294656","editorName":"梓健","oldPremiumRate":1.00,"newPremiumRate":1.00,"dataId":"622136611982938112","clientSettlementIntervalType":"11","clientSettlementIntervalName":"月结30天","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"645619701015252992","createTime":"2021-10-13 11:03:17","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":2.00,"newPremiumRate":2.00,"dataId":"632218417658728448","clientSettlementIntervalType":"23","clientSettlementIntervalName":"先息后本·3期","supplierSettlementIntervalType":"2","supplierSettlementIntervalName":"月结30天"},{"id":"644887453668347904","createTime":"2021-10-11 10:33:36","editorId":"572831485514616832","editorName":"梁金满","oldPremiumRate":8.00,"newPremiumRate":2.00,"dataId":"632218454384054272","clientSettlementIntervalType":"23","clientSettlementIntervalName":"先息后本·3期","supplierSettlementIntervalType":"6","supplierSettlementIntervalName":"月结90天"},{"id":"644886440962035712","createTime":"2021-10-11 10:29:34","editorId":"572831485514616832","editorName":"梁金满","oldPremiumRate":7.00,"newPremiumRate":8.00,"dataId":"632218384125267968","clientSettlementIntervalType":"22","clientSettlementIntervalName":"先息后本·1期","supplierSettlementIntervalType":"6","supplierSettlementIntervalName":"月结90天"},{"id":"635931286199996416","createTime":"2021-09-16 17:24:59","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":12.00,"newPremiumRate":12.00,"dataId":"632218406766120960","clientSettlementIntervalType":"23","clientSettlementIntervalName":"先息后本·3期","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"635931277048025088","createTime":"2021-09-16 17:24:57","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":2.00,"newPremiumRate":12.00,"dataId":"632218406766120960","clientSettlementIntervalType":"23","clientSettlementIntervalName":"先息后本·3期","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"635931254583332864","createTime":"2021-09-16 17:24:51","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":2.00,"newPremiumRate":2.00,"dataId":"632216107373170688","clientSettlementIntervalType":"22","clientSettlementIntervalName":"先息后本·1期","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"635928020548456448","createTime":"2021-09-16 17:12:00","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":3.00,"newPremiumRate":2.00,"dataId":"632216107373170688","clientSettlementIntervalType":"22","clientSettlementIntervalName":"先息后本·1期","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"635928016740028416","createTime":"2021-09-16 17:11:59","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":2.00,"newPremiumRate":2.00,"dataId":"632218246287855616","clientSettlementIntervalType":"22","clientSettlementIntervalName":"先息后本·1期","supplierSettlementIntervalType":"2","supplierSettlementIntervalName":"月结30天"},{"id":"635928007596445696","createTime":"2021-09-16 17:11:57","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":31.00,"newPremiumRate":31.00,"dataId":"622142051399634944","clientSettlementIntervalType":"14","clientSettlementIntervalName":"月结75天","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"}],"total":414,"size":10,"current":1,"orders":null,"searchCount":true,"pages":42}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '648642015323623424', 'createTime': '2021-10-21 19:12:53', 'editorId': '579717994788294656', 'editorName': '梓健', 'oldPremiumRate': 1.0, 'newPremiumRate': 1.0, 'dataId': '622136611982938112', 'clientSettlementIntervalType': '11', 'clientSettlementIntervalName': '月结30天', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '645619701015252992', 'createTime': '2021-10-13 11:03:17', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 2.0, 'newPremiumRate': 2.0, 'dataId': '632218417658728448', 'clientSettlementIntervalType': '23', 'clientSettlementIntervalName': '先息后本·3期', 'supplierSettlementIntervalType': '2', 'supplierSettlementIntervalName': '月结30天'}, {'id': '644887453668347904', 'createTime': '2021-10-11 10:33:36', 'editorId': '572831485514616832', 'editorName': '梁金满', 'oldPremiumRate': 8.0, 'newPremiumRate': 2.0, 'dataId': '632218454384054272', 'clientSettlementIntervalType': '23', 'clientSettlementIntervalName': '先息后本·3期', 'supplierSettlementIntervalType': '6', 'supplierSettlementIntervalName': '月结90天'}, {'id': '644886440962035712', 'createTime': '2021-10-11 10:29:34', 'editorId': '572831485514616832', 'editorName': '梁金满', 'oldPremiumRate': 7.0, 'newPremiumRate': 8.0, 'dataId': '632218384125267968', 'clientSettlementIntervalType': '22', 'clientSettlementIntervalName': '先息后本·1期', 'supplierSettlementIntervalType': '6', 'supplierSettlementIntervalName': '月结90天'}, {'id': '635931286199996416', 'createTime': '2021-09-16 17:24:59', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 12.0, 'newPremiumRate': 12.0, 'dataId': '632218406766120960', 'clientSettlementIntervalType': '23', 'clientSettlementIntervalName': '先息后本·3期', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '635931277048025088', 'createTime': '2021-09-16 17:24:57', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 2.0, 'newPremiumRate': 12.0, 'dataId': '632218406766120960', 'clientSettlementIntervalType': '23', 'clientSettlementIntervalName': '先息后本·3期', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '635931254583332864', 'createTime': '2021-09-16 17:24:51', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 2.0, 'newPremiumRate': 2.0, 'dataId': '632216107373170688', 'clientSettlementIntervalType': '22', 'clientSettlementIntervalName': '先息后本·1期', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '635928020548456448', 'createTime': '2021-09-16 17:12:00', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 3.0, 'newPremiumRate': 2.0, 'dataId': '632216107373170688', 'clientSettlementIntervalType': '22', 'clientSettlementIntervalName': '先息后本·1期', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '635928016740028416', 'createTime': '2021-09-16 17:11:59', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 2.0, 'newPremiumRate': 2.0, 'dataId': '632218246287855616', 'clientSettlementIntervalType': '22', 'clientSettlementIntervalName': '先息后本·1期', 'supplierSettlementIntervalType': '2', 'supplierSettlementIntervalName': '月结30天'}, {'id': '635928007596445696', 'createTime': '2021-09-16 17:11:57', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 31.0, 'newPremiumRate': 31.0, 'dataId': '622142051399634944', 'clientSettlementIntervalType': '14', 'clientSettlementIntervalName': '月结75天', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}], 'total': 414, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 42}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/seller/product-sku-list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/product-sku-list
path_url=/trading-center/get/seller/product-sku-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/product-sku-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984911987052544","skuId":"1466","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","supplierName":"autotest_supplier_paper_name","weightId":"645594792394362880","weightValue":"678","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":5678.0000,"purchasePrice":5678.0000,"stock":0.00,"stockUnit":"吨","status":"30111","createTime":"2021-12-08T15:47:22"},{"id":"658301546412511232","skuId":"1364","categoryName":"白板纸","brandName":"沙雕风格","name":"111111111111111111111111","supplierName":"2为人妻我让请问请问","weightId":"645594792394362880","weightValue":"678","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":2513.0000,"purchasePrice":2513.0000,"stock":0.00,"stockUnit":"吨","status":"30111","createTime":"2021-11-17T10:56:25"},{"id":"653677869767200768","skuId":"1338","categoryName":"金银卡","brandName":"测试纸品","name":"test测试纸品","supplierName":"2为人妻我让请问请问","weightId":"647514068206358528","weightValue":"34234","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":2344.0000,"purchasePrice":2344.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-04T16:43:35"},{"id":"653677869767200768","skuId":"1337","categoryName":"金银卡","brandName":"测试纸品","name":"test测试纸品","supplierName":"2为人妻我让请问请问","weightId":"653927284167806976","weightValue":"43223","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":2344.0000,"purchasePrice":2344.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-04T16:43:35"},{"id":"653677869767200768","skuId":"1335","categoryName":"金银卡","brandName":"测试纸品","name":"test测试纸品","supplierName":"2为人妻我让请问请问","weightId":"598556468513476608","weightValue":"1231","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":5000.0000,"purchasePrice":5000.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-04T16:43:35"},{"id":"653677869767200768","skuId":"1334","categoryName":"金银卡","brandName":"测试纸品","name":"test测试纸品","supplierName":"2为人妻我让请问请问","weightId":"564088901820616704","weightValue":"123","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":5000.0000,"purchasePrice":5000.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-04T16:43:35"},{"id":"652935172945219584","skuId":"1333","categoryName":"特级牛卡","brandName":"122","name":"一休","supplierName":"5645646457","weightId":"647769796099837952","weightValue":"3123","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":333.0000,"purchasePrice":333.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-02T15:32:22"},{"id":"652935171879866368","skuId":"1332","categoryName":"特级牛卡","brandName":"橙光","name":"岳阳特级牛卡","supplierName":"1234123123","weightId":"652935172076998656","weightValue":"6345","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":12.0000,"purchasePrice":12.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-02T15:32:22"},{"id":"652935170873233408","skuId":"1331","categoryName":"白卡纸","brandName":"为人父","name":"口语课回家","supplierName":"axxxx","weightId":"652935171024228352","weightValue":"4556","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":456.0000,"purchasePrice":456.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-02T15:32:21"},{"id":"652935169854017536","skuId":"1330","categoryName":"而","brandName":"123","name":"213","supplierName":"wwww","weightId":"620348596071567360","weightValue":"1233","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":55.0000,"purchasePrice":55.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-02T15:32:21"}],"total":632,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984911987052544', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'name': 'aotutest_paper_name', 'supplierName': 'autotest_supplier_paper_name', 'weightId': '645594792394362880', 'weightValue': '678', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 5678.0, 'purchasePrice': 5678.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30111', 'createTime': '2021-12-08T15:47:22'}, {'id': '658301546412511232', 'skuId': '1364', 'categoryName': '白板纸', 'brandName': '沙雕风格', 'name': '111111111111111111111111', 'supplierName': '2为人妻我让请问请问', 'weightId': '645594792394362880', 'weightValue': '678', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 2513.0, 'purchasePrice': 2513.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30111', 'createTime': '2021-11-17T10:56:25'}, {'id': '653677869767200768', 'skuId': '1338', 'categoryName': '金银卡', 'brandName': '测试纸品', 'name': 'test测试纸品', 'supplierName': '2为人妻我让请问请问', 'weightId': '647514068206358528', 'weightValue': '34234', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 2344.0, 'purchasePrice': 2344.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-04T16:43:35'}, {'id': '653677869767200768', 'skuId': '1337', 'categoryName': '金银卡', 'brandName': '测试纸品', 'name': 'test测试纸品', 'supplierName': '2为人妻我让请问请问', 'weightId': '653927284167806976', 'weightValue': '43223', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 2344.0, 'purchasePrice': 2344.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-04T16:43:35'}, {'id': '653677869767200768', 'skuId': '1335', 'categoryName': '金银卡', 'brandName': '测试纸品', 'name': 'test测试纸品', 'supplierName': '2为人妻我让请问请问', 'weightId': '598556468513476608', 'weightValue': '1231', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 5000.0, 'purchasePrice': 5000.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-04T16:43:35'}, {'id': '653677869767200768', 'skuId': '1334', 'categoryName': '金银卡', 'brandName': '测试纸品', 'name': 'test测试纸品', 'supplierName': '2为人妻我让请问请问', 'weightId': '564088901820616704', 'weightValue': '123', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 5000.0, 'purchasePrice': 5000.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-04T16:43:35'}, {'id': '652935172945219584', 'skuId': '1333', 'categoryName': '特级牛卡', 'brandName': '122', 'name': '一休', 'supplierName': '5645646457', 'weightId': '647769796099837952', 'weightValue': '3123', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 333.0, 'purchasePrice': 333.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-02T15:32:22'}, {'id': '652935171879866368', 'skuId': '1332', 'categoryName': '特级牛卡', 'brandName': '橙光', 'name': '岳阳特级牛卡', 'supplierName': '1234123123', 'weightId': '652935172076998656', 'weightValue': '6345', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 12.0, 'purchasePrice': 12.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-02T15:32:22'}, {'id': '652935170873233408', 'skuId': '1331', 'categoryName': '白卡纸', 'brandName': '为人父', 'name': '口语课回家', 'supplierName': 'axxxx', 'weightId': '652935171024228352', 'weightValue': '4556', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 456.0, 'purchasePrice': 456.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-02T15:32:21'}, {'id': '652935169854017536', 'skuId': '1330', 'categoryName': '而', 'brandName': '123', 'name': '213', 'supplierName': 'wwww', 'weightId': '620348596071567360', 'weightValue': '1233', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 55.0, 'purchasePrice': 55.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-02T15:32:21'}], 'total': 632, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
salesEnterpriseId=${supplier_paper_id}&name=${paper_name}
${param}
${param} = salesEnterpriseId=665984854726414336&name=aotutest_paper_name
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/seller/product-sku-list
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/product-sku-list?salesEnterpriseId=665984854726414336&name=aotutest_paper_name
path_url=/trading-center/get/seller/product-sku-list?salesEnterpriseId=665984854726414336&name=aotutest_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/product-sku-list?salesEnterpriseId=665984854726414336&name=aotutest_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984911987052544","skuId":"1466","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","supplierName":"autotest_supplier_paper_name","weightId":"645594792394362880","weightValue":"678","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":5678.0000,"purchasePrice":5678.0000,"stock":0.00,"stockUnit":"吨","status":"30111","createTime":"2021-12-08T15:47:22"}],"total":1,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984911987052544', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'name': 'aotutest_paper_name', 'supplierName': 'autotest_supplier_paper_name', 'weightId': '645594792394362880', 'weightValue': '678', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 5678.0, 'purchasePrice': 5678.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30111', 'createTime': '2021-12-08T15:47:22'}], 'total': 1, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
skuId
${product_price_sku_id}
${product_price_sku_id} = 1466
Makes a variable available globally in all tests and suites.
${product_price_sku_id}
${product_price_sku_id} = 1466
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"skuids":["${product_price_sku_id}"],"alterType":${product_price_sku_alterType},"price":${product_price_sku_new}}
${body}
${body} = {"skuids":["1466"],"alterType":1,"price":6789}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/product/unify/alter/purchasing-cost
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/product/unify/alter/purchasing-cost
path_url=/trading-center/product/unify/alter/purchasing-cost
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '46'}
body=b'{"skuids":["1466"],"alterType":1,"price":6789}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/product/unify/alter/purchasing-cost
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Makes a variable available globally in all tests and suites.
${product_price_sku_new}
${product_price_sku_new} = 6789
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/get/paper-brand/brand-list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list
path_url=/trading-center/wechatapplet/get/paper-brand/brand-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"623143393647792128","name":"test测试纸品","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg","characteristic":null,"gramWeight":[],"salesRank":1,"saleWeight":3989.59,"minPrice":0,"weights":null,"categoryId":"9","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 10:30:28","createTime":null},{"id":"623228646341087232","name":"地龙灰底白","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","gramWeight":[],"salesRank":2,"saleWeight":579.49,"minPrice":0,"weights":null,"categoryId":"1","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 16:09:14","createTime":null},{"id":"603317946856640512","name":"提交提交白板纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["213","314"],"salesRank":3,"saleWeight":397.95,"minPrice":219,"weights":"314,213","categoryId":"1","salesEnterpriseId":"639897124376547328","premiumRate":0.03,"priceUpdateTime":"2021-10-14 17:20:24","createTime":null},{"id":"603317864300154880","name":"给多发点白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":4,"saleWeight":179.93,"minPrice":0,"weights":null,"categoryId":"8","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:30:54","createTime":null},{"id":"603317899079323648","name":"少的发给对方双胶纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":5,"saleWeight":87.00,"minPrice":0,"weights":null,"categoryId":"3","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:31:02","createTime":null},{"id":"603317809983918080","name":"的改地方是个哑粉纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":6,"saleWeight":43.24,"minPrice":0,"weights":null,"categoryId":"11","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:30:41","createTime":null},{"id":"633768148222480384","name":"电饭锅","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg","characteristic":null,"gramWeight":[],"salesRank":7,"saleWeight":35.91,"minPrice":0,"weights":null,"categoryId":"622858543002947584","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-09-10 18:09:27","createTime":null},{"id":"599233095564136448","name":"丽品白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["230","300","400"],"salesRank":8,"saleWeight":32.41,"minPrice":8086,"weights":"230,230,400,300","categoryId":"8","salesEnterpriseId":"553703427180466176","premiumRate":0.03,"priceUpdateTime":"2021-05-27 10:32:17","createTime":null},{"id":"623228969491238912","name":"海龙白板","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","gramWeight":["300"],"salesRank":9,"saleWeight":26.10,"minPrice":6281,"weights":"300","categoryId":"1","salesEnterpriseId":"588472929885491200","premiumRate":0.03,"priceUpdateTime":"2021-08-13 10:35:33","createTime":null},{"id":"622154891854483456","name":"213白板","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"11","gramWeight":["1000"],"salesRank":10,"saleWeight":23.02,"minPrice":9155,"weights":"1000","categoryId":"622154152801341440","salesEnterpriseId":"624974007590064128","premiumRate":0.03,"priceUpdateTime":"2021-08-30 11:26:01","createTime":null}],"total":28,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '623143393647792128', 'name': 'test测试纸品', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 1, 'saleWeight': 3989.59, 'minPrice': 0, 'weights': None, 'categoryId': '9', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 10:30:28', 'createTime': None}, {'id': '623228646341087232', 'name': '地龙灰底白', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'gramWeight': [], 'salesRank': 2, 'saleWeight': 579.49, 'minPrice': 0, 'weights': None, 'categoryId': '1', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 16:09:14', 'createTime': None}, {'id': '603317946856640512', 'name': '提交提交白板纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['213', '314'], 'salesRank': 3, 'saleWeight': 397.95, 'minPrice': 219, 'weights': '314,213', 'categoryId': '1', 'salesEnterpriseId': '639897124376547328', 'premiumRate': 0.03, 'priceUpdateTime': '2021-10-14 17:20:24', 'createTime': None}, {'id': '603317864300154880', 'name': '给多发点白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 4, 'saleWeight': 179.93, 'minPrice': 0, 'weights': None, 'categoryId': '8', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:30:54', 'createTime': None}, {'id': '603317899079323648', 'name': '少的发给对方双胶纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 5, 'saleWeight': 87.0, 'minPrice': 0, 'weights': None, 'categoryId': '3', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:31:02', 'createTime': None}, {'id': '603317809983918080', 'name': '的改地方是个哑粉纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 6, 'saleWeight': 43.24, 'minPrice': 0, 'weights': None, 'categoryId': '11', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:30:41', 'createTime': None}, {'id': '633768148222480384', 'name': '电饭锅', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 7, 'saleWeight': 35.91, 'minPrice': 0, 'weights': None, 'categoryId': '622858543002947584', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-09-10 18:09:27', 'createTime': None}, {'id': '599233095564136448', 'name': '丽品白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['230', '300', '400'], 'salesRank': 8, 'saleWeight': 32.41, 'minPrice': 8086, 'weights': '230,230,400,300', 'categoryId': '8', 'salesEnterpriseId': '553703427180466176', 'premiumRate': 0.03, 'priceUpdateTime': '2021-05-27 10:32:17', 'createTime': None}, {'id': '623228969491238912', 'name': '海龙白板', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'gramWeight': ['300'], 'salesRank': 9, 'saleWeight': 26.1, 'minPrice': 6281, 'weights': '300', 'categoryId': '1', 'salesEnterpriseId': '588472929885491200', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-13 10:35:33', 'createTime': None}, {'id': '622154891854483456', 'name': '213白板', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '11', 'gramWeight': ['1000'], 'salesRank': 10, 'saleWeight': 23.02, 'minPrice': 9155, 'weights': '1000', 'categoryId': '622154152801341440', 'salesEnterpriseId': '624974007590064128', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-30 11:26:01', 'createTime': None}], 'total': 28, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
searchValue=${paper_name}
${param}
${param} = searchValue=aotutest_paper_name
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/get/home/search-paper-product
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/home/search-paper-product?searchValue=aotutest_paper_name
path_url=/trading-center/wechatapplet/get/home/search-paper-product?searchValue=aotutest_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/home/search-paper-product?searchValue=aotutest_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984898884046848","name":"aotutest_paper_name","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","gramWeight":["678"],"salesRank":28,"saleWeight":0.00,"minPrice":6993,"weights":"678","categoryId":"638458876659896320","salesEnterpriseId":null,"premiumRate":null,"priceUpdateTime":"2021-12-08 15:47:24","createTime":"2021-12-08 15:47:22"}],"pageIdentifier":[0.7248041,267],"pageSize":20,"order":{},"next":true}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984898884046848', 'name': 'aotutest_paper_name', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'gramWeight': ['678'], 'salesRank': 28, 'saleWeight': 0.0, 'minPrice': 6993, 'weights': '678', 'categoryId': '638458876659896320', 'salesEnterpriseId': None, 'premiumRate': None, 'priceUpdateTime': '2021-12-08 15:47:24', 'createTime': '2021-12-08 15:47:22'}], 'pageIdentifier': [0.7248041, 267], 'pageSize': 20, 'order': {}, 'next': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${paper_id}
${paper_id} = 665984898884046848
Makes a variable available everywhere within the scope of the current suite.
${paper_id}
${paper_id} = 665984898884046848
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/get/category-brand/detail/${paper_id}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/category-brand/detail/665984898884046848
path_url=/trading-center/wechatapplet/get/category-brand/detail/665984898884046848
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/category-brand/detail/665984898884046848
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"665984898884046848","paperName":"aotutest_paper_name","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","salesRank":1,"soldWeight":0,"isFocused":0,"weightList":[{"id":"645594792394362880","weight":"678"}]}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984898884046848', 'paperName': 'aotutest_paper_name', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'description': 'This apaper_description', 'salesRank': 1, 'soldWeight': 0, 'isFocused': 0, 'weightList': [{'id': '645594792394362880', 'weight': '678'}]}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["weightList"][0]}
id
${paper_weight_id}
${paper_weight_id} = 645594792394362880
Makes a variable available globally in all tests and suites.
${paper_weight_id}
${paper_weight_id} = 645594792394362880
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
0
${paper_focus_type}
${paper_focus_type} = 0
Returns the given values which can then be assigned to a variables.
{"categoryId":"${paper_id}","status":${paper_focus_type}}
${body}
${body} = {"categoryId":"665984898884046848","status":0}
Sends a POST request on a previously created HTTP Session.
yytclient
trading-center/wechatapplet/add/paper-brand/focus
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/add/paper-brand/focus
path_url=/trading-center/wechatapplet/add/paper-brand/focus
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '46'}
body=b'{"categoryId":"665984898884046848","status":0}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/add/paper-brand/focus
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
categoryI=0
${param}
${param} = categoryI=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/get/paper-brand/brand-list
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list?categoryI=0
path_url=/trading-center/wechatapplet/get/paper-brand/brand-list?categoryI=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list?categoryI=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"623143393647792128","name":"test测试纸品","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg","characteristic":null,"gramWeight":[],"salesRank":1,"saleWeight":3989.59,"minPrice":0,"weights":null,"categoryId":"9","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 10:30:28","createTime":null},{"id":"623228646341087232","name":"地龙灰底白","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","gramWeight":[],"salesRank":2,"saleWeight":579.49,"minPrice":0,"weights":null,"categoryId":"1","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 16:09:14","createTime":null},{"id":"603317946856640512","name":"提交提交白板纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["213","314"],"salesRank":3,"saleWeight":397.95,"minPrice":219,"weights":"314,213","categoryId":"1","salesEnterpriseId":"639897124376547328","premiumRate":0.03,"priceUpdateTime":"2021-10-14 17:20:24","createTime":null},{"id":"603317864300154880","name":"给多发点白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":4,"saleWeight":179.93,"minPrice":0,"weights":null,"categoryId":"8","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:30:54","createTime":null},{"id":"603317899079323648","name":"少的发给对方双胶纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":5,"saleWeight":87.00,"minPrice":0,"weights":null,"categoryId":"3","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:31:02","createTime":null},{"id":"603317809983918080","name":"的改地方是个哑粉纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":6,"saleWeight":43.24,"minPrice":0,"weights":null,"categoryId":"11","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:30:41","createTime":null},{"id":"633768148222480384","name":"电饭锅","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg","characteristic":null,"gramWeight":[],"salesRank":7,"saleWeight":35.91,"minPrice":0,"weights":null,"categoryId":"622858543002947584","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-09-10 18:09:27","createTime":null},{"id":"599233095564136448","name":"丽品白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["230","300","400"],"salesRank":8,"saleWeight":32.41,"minPrice":8086,"weights":"230,230,400,300","categoryId":"8","salesEnterpriseId":"553703427180466176","premiumRate":0.03,"priceUpdateTime":"2021-05-27 10:32:17","createTime":null},{"id":"623228969491238912","name":"海龙白板","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","gramWeight":["300"],"salesRank":9,"saleWeight":26.10,"minPrice":6281,"weights":"300","categoryId":"1","salesEnterpriseId":"588472929885491200","premiumRate":0.03,"priceUpdateTime":"2021-08-13 10:35:33","createTime":null},{"id":"622154891854483456","name":"213白板","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"11","gramWeight":["1000"],"salesRank":10,"saleWeight":23.02,"minPrice":9155,"weights":"1000","categoryId":"622154152801341440","salesEnterpriseId":"624974007590064128","premiumRate":0.03,"priceUpdateTime":"2021-08-30 11:26:01","createTime":null}],"total":28,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '623143393647792128', 'name': 'test测试纸品', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 1, 'saleWeight': 3989.59, 'minPrice': 0, 'weights': None, 'categoryId': '9', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 10:30:28', 'createTime': None}, {'id': '623228646341087232', 'name': '地龙灰底白', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'gramWeight': [], 'salesRank': 2, 'saleWeight': 579.49, 'minPrice': 0, 'weights': None, 'categoryId': '1', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 16:09:14', 'createTime': None}, {'id': '603317946856640512', 'name': '提交提交白板纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['213', '314'], 'salesRank': 3, 'saleWeight': 397.95, 'minPrice': 219, 'weights': '314,213', 'categoryId': '1', 'salesEnterpriseId': '639897124376547328', 'premiumRate': 0.03, 'priceUpdateTime': '2021-10-14 17:20:24', 'createTime': None}, {'id': '603317864300154880', 'name': '给多发点白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 4, 'saleWeight': 179.93, 'minPrice': 0, 'weights': None, 'categoryId': '8', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:30:54', 'createTime': None}, {'id': '603317899079323648', 'name': '少的发给对方双胶纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 5, 'saleWeight': 87.0, 'minPrice': 0, 'weights': None, 'categoryId': '3', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:31:02', 'createTime': None}, {'id': '603317809983918080', 'name': '的改地方是个哑粉纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 6, 'saleWeight': 43.24, 'minPrice': 0, 'weights': None, 'categoryId': '11', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:30:41', 'createTime': None}, {'id': '633768148222480384', 'name': '电饭锅', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 7, 'saleWeight': 35.91, 'minPrice': 0, 'weights': None, 'categoryId': '622858543002947584', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-09-10 18:09:27', 'createTime': None}, {'id': '599233095564136448', 'name': '丽品白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['230', '300', '400'], 'salesRank': 8, 'saleWeight': 32.41, 'minPrice': 8086, 'weights': '230,230,400,300', 'categoryId': '8', 'salesEnterpriseId': '553703427180466176', 'premiumRate': 0.03, 'priceUpdateTime': '2021-05-27 10:32:17', 'createTime': None}, {'id': '623228969491238912', 'name': '海龙白板', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'gramWeight': ['300'], 'salesRank': 9, 'saleWeight': 26.1, 'minPrice': 6281, 'weights': '300', 'categoryId': '1', 'salesEnterpriseId': '588472929885491200', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-13 10:35:33', 'createTime': None}, {'id': '622154891854483456', 'name': '213白板', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '11', 'gramWeight': ['1000'], 'salesRank': 10, 'saleWeight': 23.02, 'minPrice': 9155, 'weights': '1000', 'categoryId': '622154152801341440', 'salesEnterpriseId': '624974007590064128', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-30 11:26:01', 'createTime': None}], 'total': 28, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
uecclient
/uec/get/enterprise-shipping-address-list/by-userId
${response}
GET Request : url=https://api-client-uec-test.qniao.cn/uec/get/enterprise-shipping-address-list/by-userId
path_url=/uec/get/enterprise-shipping-address-list/by-userId
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-uec-test.qniao.cn/uec/get/enterprise-shipping-address-list/by-userId
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"id":"665984851178033152","creatorId":null,"editorId":null,"enterpriseId":"665984836372140032","provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","detail":"autotest_printing_packaging_factory_locdetail","receiver":null,"receiverMobile":null,"isDefault":0}]}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': [{'id': '665984851178033152', 'creatorId': None, 'editorId': None, 'enterpriseId': '665984836372140032', 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'detail': 'autotest_printing_packaging_factory_locdetail', 'receiver': None, 'receiverMobile': None, 'isDefault': 0}]}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"isDefault":${customer_enterprise_shipping_address_isDefault},"receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":${customer_enterprise_shipping_address_receiverMobile},"detail":"${customer_enterprise_shipping_address_detail}","provinceId":${customer_enterprise_shipping_address_provinceid},"cityId":${customer_enterprise_shipping_address_cityid},"districtId":${customer_enterprise_shipping_address_districtid},"streetId":${customer_enterprise_shipping_address_streetid},"provinceName":"${customer_enterprise_shipping_address_provincename}","cityName":"${customer_enterprise_shipping_address_cityname}","districtName":"${customer_enterprise_shipping_address_districtname}","streetName":"${customer_enterprise_shipping_address_streetname}"}
${body}
${body} = {"isDefault":1,"receiver":"autotest_receiver","receiverMobile":13800138000,"detail":"autotest_customer_enterprise_shipping_address_detail","provinceId":440000,"cityId":440100,"districtId":440106,"stre...
Sends a POST request on a previously created HTTP Session.
uecclient
/uec/save/enterprise-shipping-address
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/save/enterprise-shipping-address
path_url=/uec/save/enterprise-shipping-address
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '321'}
body=b'{"isDefault":1,"receiver":"autotest_receiver","receiverMobile":13800138000,"detail":"autotest_customer_enterprise_shipping_address_detail","provinceId":440000,"cityId":440100,"districtId":440106,"streetId":440106003,"provinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","cityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","districtName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","streetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93"}'
POST Response : url=https://api-client-uec-test.qniao.cn/uec/save/enterprise-shipping-address
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":"665984924813234176"}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': '665984924813234176'}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${customer_enterprise_shipping_address_id}
${customer_enterprise_shipping_address_id} = 665984924813234176
Makes a variable available globally in all tests and suites.
${customer_enterprise_shipping_address_id}
${customer_enterprise_shipping_address_id} = 665984924813234176
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
0
${settlement_interval_premium_rate_type}
${settlement_interval_premium_rate_type} = 0
Returns the given values which can then be assigned to a variables.
clientEnterpriseId=${printing_packaging_factory_id}&supplierId=${supplier_paper_id}&type=${settlement_interval_premium_rate_type}
${param}
${param} = clientEnterpriseId=665984836372140032&supplierId=665984854726414336&type=0
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/get/settlement-interval/premium-rate
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=665984836372140032&supplierId=665984854726414336&type=0
path_url=/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=665984836372140032&supplierId=665984854726414336&type=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=665984836372140032&supplierId=665984854726414336&type=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":0.03}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': 0.03}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${settlement_interval_premium_rate_qniao}
${settlement_interval_premium_rate_qniao} = 0.03
Makes a variable available globally in all tests and suites.
${settlement_interval_premium_rate_qniao}
${settlement_interval_premium_rate_qniao} = 0.03
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
1
${settlement_interval_premium_rate_type}
${settlement_interval_premium_rate_type} = 1
Returns the given values which can then be assigned to a variables.
clientEnterpriseId=${printing_packaging_factory_id}&supplierId=${supplier_paper_id}&type=${settlement_interval_premium_rate_type}
${param}
${param} = clientEnterpriseId=665984836372140032&supplierId=665984854726414336&type=1
Sends a GET request on a previously created HTTP Session.
yytclient
/cloud-print-user-center/get/settlement-interval/premium-rate
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=665984836372140032&supplierId=665984854726414336&type=1
path_url=/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=665984836372140032&supplierId=665984854726414336&type=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=665984836372140032&supplierId=665984854726414336&type=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":0.02}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': 0.02}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${settlement_interval_premium_rate_feisuan}
${settlement_interval_premium_rate_feisuan} = 0.02
Makes a variable available globally in all tests and suites.
${settlement_interval_premium_rate_feisuan}
${settlement_interval_premium_rate_feisuan} = 0.02
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Evaluates the given expression in Python and returns the results.
${gramweight}*${customer_create_order_width}*${customer_create_order_length}*${customer_create_order_quantity}/1000000000000
${customer_create_order_buyton}
${customer_create_order_buyton} = 2.91337956
Converts the given item to a floating point number.
${customer_create_order_buyton}
4
${customer_create_order_buyTon}
${customer_create_order_buyTon} = 2.9134
Evaluates the given expression in Python and returns the results.
${product_price_sku_new}*(1+${settlement_interval_premium_rate_qniao})
${customer_create_order_price}
${customer_create_order_price} = 6992.67
Converts the given item to a floating point number.
${customer_create_order_price}
2
${customer_create_order_Price}
${customer_create_order_Price} = 6992.67
Evaluates the given expression in Python and returns the results.
${customer_create_order_Price}*${customer_create_order_buyTon}+${customer_create_order_cuttingFee}+${customer_create_order_bootFee}+${customer_create_order_otherFee}+${customer_create_order_freightFee}+${customer_create_order_serviceFee}
${customer_create_order_totalOfferPrice}
${customer_create_order_totalOfferPrice} = 20372.444778
Converts the given item to a floating point number.
${customer_create_order_totalOfferPrice}
2
${customer_create_order_totalOfferPrice_item}
${customer_create_order_totalOfferPrice_item} = 20372.44
Returns the given values which can then be assigned to a variables.
${customer_create_order_totalOfferPrice_item}
${customer_create_order_realPayPrice}
${customer_create_order_realPayPrice} = 20372.44
Returns the given values which can then be assigned to a variables.
[{"gramWeight":"${gramweight}","width":"${customer_create_order_width}","length":"${customer_create_order_length}","quantity":${customer_create_order_quantity},"buyTon":${customer_create_order_buyTon},"productName":"${paper_name}","unitPrice":${customer_create_order_Price},"bootFee":${customer_create_order_bootFee},"cuttingFee":${customer_create_order_cuttingFee},"freightFee":${customer_create_order_freightFee},"serviceFee":${customer_create_order_serviceFee},"otherFee":${customer_create_order_otherFee},"totalOfferPrice":${customer_create_order_totalOfferPrice_item},"remark":"autotest_customer_create_order_remark","productSkuId":"${product_price_sku_id}"}]
${customer_create_order_productSkuList}
${customer_create_order_productSkuList} = [{"gramWeight":"678","width":"787","length":"1092","quantity":5000,"buyTon":2.9134,"productName":"aotutest_paper_name","unitPrice":6992.67,"bootFee":0,"cuttingFee":0,"freightFee":0,"serviceFee":0,"oth...
Returns the given values which can then be assigned to a variables.
{"receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","receiver":"${customer_enterprise_shipping_address_receiver}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryId":"${customer_enterprise_shipping_address_id}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","paymentMethod":${customer_create_order_paymentMethod},"realPayPrice":${customer_create_order_realPayPrice},"totalOfferPrice":${customer_create_order_realPayPrice},"password":"${customer_credit_password_new}","productSkuList":${customer_create_order_productSkuList.encode("utf-8")}}
${body}
${body} = {"receiverMobile":"13800138000","receiver":"autotest_receiver","deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"de...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/buyer/create/order
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/create/order
path_url=/trading-center/buyer/create/order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '831'}
body=b'{"receiverMobile":"13800138000","receiver":"autotest_receiver","deliveryProvinceId":440000,"deliveryProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","deliveryCityId":440100,"deliveryCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","deliveryDistrictId":440106,"deliveryDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","deliveryStreetId":440106003,"deliveryStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","deliveryId":"665984924813234176","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","paymentMethod":2,"realPayPrice":20372.44,"totalOfferPrice":20372.44,"password":"123456","productSkuList":[{"gramWeight":"678","width":"787","length":"1092","quantity":5000,"buyTon":2.9134,"productName":"aotutest_paper_name","unitPrice":6992.67,"bootFee":0,"cuttingFee":0,"freightFee":0,"serviceFee":0,"otherFee":0,"totalOfferPrice":20372.44,"remark":"autotest_customer_create_order_remark","productSkuId":"1466"}]}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/create/order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"orderId":"665984925996027904","realPayPrice":20372.44,"channelId":null,"contractNo":"QNS202112080003","signUrl":null,"customerEnterpriseName":"autotest_printing_packaging_factory_name"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '665984925996027904', 'realPayPrice': 20372.44, 'channelId': None, 'contractNo': 'QNS202112080003', 'signUrl': None, 'customerEnterpriseName': 'autotest_printing_packaging_factory_name'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
orderId
${customer_create_order_id}
${customer_create_order_id} = 665984925996027904
Makes a variable available globally in all tests and suites.
${customer_create_order_id}
${customer_create_order_id} = 665984925996027904
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"enquiryContent":"${customer_enquiryContent}","picUrl":"","deliveryDay":${customer_enquiry_deliveryDay},"deliveryArea":"${customer_enquiry_deliveryArea}"}
${body}
${body} = {"enquiryContent":"autotest_enquiryContent","picUrl":"","deliveryDay":48,"deliveryArea":"广东省 广州市 天河区"}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/add/enquiry-order
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/add/enquiry-order
path_url=/trading-center/add/enquiry-order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '120'}
body=b'{"enquiryContent":"autotest_enquiryContent","picUrl":"","deliveryDay":48,"deliveryArea":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81 \xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82 \xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/add/enquiry-order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":"665984927594057728"}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': '665984927594057728'}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()}
data
${customer_enquiry_id}
${customer_enquiry_id} = 665984927594057728
Makes a variable available globally in all tests and suites.
${customer_enquiry_id}
${customer_enquiry_id} = 665984927594057728
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/enquiry-order/order-list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/order-list
path_url=/trading-center/get/enquiry-order/order-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/order-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:27 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984927594057728","clientContractNoId":null,"clientOrderId":null,"clientContractNo":null,"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-08 15:47:26","status":"30114","userId":"665984809100775424","userName":"autotest_name_customer","valid":"0","picUrl":null,"enterpriseId":"665984836372140032","isDistribute":0,"receiverMobile":"13012345678","replyTtime":null},{"id":"665975501566906368","clientContractNoId":["665975532478926848"],"clientOrderId":["665975532143382528"],"clientContractNo":["QNS202112080002"],"supplierContractNoId":["665975559536381952"],"supplierOrderId":["665975559427330048"],"supplierContractNo":["QNP202112080001"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-08 15:09:58","status":"30131","userId":"665975347535286272","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"665975386378735616","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-08 15:09:21"},{"id":"665267929763418112","clientContractNoId":["665267959823994880"],"clientOrderId":["665267959622668288"],"clientContractNo":["QNS202112060011"],"supplierContractNoId":["665267987330240512"],"supplierOrderId":["665267987275714560"],"supplierContractNo":["QNP202112060005"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-06 16:18:20","status":"30131","userId":"665267776834899968","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"665267815741263872","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-06 16:17:42"},{"id":"665261694393651200","clientContractNoId":["665261724647165952"],"clientOrderId":["665261724374536192"],"clientContractNo":["QNS202112060009"],"supplierContractNoId":["665261751566209024"],"supplierOrderId":["665261751482322944"],"supplierContractNo":["QNP202112060004"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-06 15:53:33","status":"30131","userId":"665261543012831232","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"665261580983865344","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-06 15:52:58"},{"id":"665260272977580032","clientContractNoId":["665260304975925248"],"clientOrderId":["665260304699101184"],"clientContractNo":["QNS202112060007"],"supplierContractNoId":["665260331966271488"],"supplierOrderId":["665260331882385408"],"supplierContractNo":["QNP202112060003"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-06 15:47:55","status":"30131","userId":"665260123161235456","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"665260159563599872","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-06 15:47:19"},{"id":"665259044285583360","clientContractNoId":null,"clientOrderId":null,"clientContractNo":null,"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-06 15:43:02","status":"30116","userId":"665258893701681152","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"665258929672032256","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-06 15:42:26"},{"id":"665254974430777344","clientContractNoId":["665255004294221824"],"clientOrderId":["665255004097089536"],"clientContractNo":["QNS202112060004"],"supplierContractNoId":["665255030345043968"],"supplierOrderId":["665255030286323712"],"supplierContractNo":["QNP202112060002"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-06 15:26:51","status":"30131","userId":"665254822785716224","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"665254857938178048","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-06 15:26:15"},{"id":"665252957272543232","clientContractNoId":["665252988008402944"],"clientOrderId":["665252987572195328"],"clientContractNo":["QNS202112060002"],"supplierContractNoId":["665253014784839680"],"supplierOrderId":["665253014692564992"],"supplierContractNo":["QNP202112060001"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-06 15:18:50","status":"30131","userId":"665252802544668672","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"665252841203568640","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-06 15:18:14"},{"id":"664196603401342976","clientContractNoId":["664196633940070400"],"clientOrderId":["664196633612914688"],"clientContractNo":["QNS202112030006"],"supplierContractNoId":["664196661236600832"],"supplierOrderId":["664196661140131840"],"supplierContractNo":["QNP202112030002"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-03 17:21:16","status":"30131","userId":"664196449436831744","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"664196488766820352","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-03 17:20:39"},{"id":"664194062785581056","clientContractNoId":["664194093135564800"],"clientOrderId":["664194092904878080"],"clientContractNo":["QNS202112030004"],"supplierContractNoId":["664194118439800832"],"supplierOrderId":["664194118368497664"],"supplierContractNo":["QNP202112030001"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-03 17:11:10","status":"30131","userId":"664193911689973760","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"664193949270937600","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-03 17:10:34"},{"id":"664192468216057856","clientContractNoId":["664192498486349824"],"clientOrderId":["664192498247274496"],"clientContractNo":["QNS202112030002"],"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-03 17:04:50","status":"30131","userId":"664192317774761984","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"664192352893669376","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-03 17:04:14"},{"id":"664191631360135168","clientContractNoId":null,"clientOrderId":null,"clientContractNo":null,"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-03 17:01:31","status":"30116","userId":"664191476170887168","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"664191513852514304","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-03 17:01:33"},{"id":"663435652502786048","clientContractNoId":["663435680403296256"],"clientOrderId":["663435680134860800"],"clientContractNo":["QNS202112010008"],"supplierContractNoId":["663435705573314560"],"supplierOrderId":["663435705481039872"],"supplierContractNo":["QNP202112010004"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-01 14:57:31","status":"30131","userId":"663435527009210368","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"663435557187227648","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-01 14:57:00"},{"id":"663367517787525120","clientContractNoId":["663367545448960000"],"clientOrderId":["663367545201496064"],"clientContractNo":["QNS202112010006"],"supplierContractNoId":["663367569671065600"],"supplierOrderId":["663367569587179520"],"supplierContractNo":["QNP202112010003"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-01 10:26:47","status":"30131","userId":"663367392243617792","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"663367422539075584","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-01 10:26:16"},{"id":"663367201591529472","clientContractNoId":["663367230314123264"],"clientOrderId":["663367229794029568"],"clientContractNo":["QNS202112010004"],"supplierContractNoId":["663367254821441536"],"supplierOrderId":["663367254720778240"],"supplierContractNo":["QNP202112010002"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-01 10:25:31","status":"30131","userId":"663367070280454144","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"663367102580789248","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-12-01 10:24:59"},{"id":"663364724171345920","clientContractNoId":["663364755448270848"],"clientOrderId":["663364755188224000"],"clientContractNo":["QNS202112010002"],"supplierContractNoId":["663364782832881664"],"supplierOrderId":["663364782757384192"],"supplierContractNo":["QNP202112010001"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-01 10:15:41","status":"30131","userId":"663358612789399552","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"6633645981... (set the log level to DEBUG or TRACE to see the full content)
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984927594057728', 'clientContractNoId': None, 'clientOrderId': None, 'clientContractNo': None, 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-08 15:47:26', 'status': '30114', 'userId': '665984809100775424', 'userName': 'autotest_name_customer', 'valid': '0', 'picUrl': None, 'enterpriseId': '665984836372140032', 'isDistribute': 0, 'receiverMobile': '13012345678', 'replyTtime': None}, {'id': '665975501566906368', 'clientContractNoId': ['665975532478926848'], 'clientOrderId': ['665975532143382528'], 'clientContractNo': ['QNS202112080002'], 'supplierContractNoId': ['665975559536381952'], 'supplierOrderId': ['665975559427330048'], 'supplierContractNo': ['QNP202112080001'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-08 15:09:58', 'status': '30131', 'userId': '665975347535286272', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '665975386378735616', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-08 15:09:21'}, {'id': '665267929763418112', 'clientContractNoId': ['665267959823994880'], 'clientOrderId': ['665267959622668288'], 'clientContractNo': ['QNS202112060011'], 'supplierContractNoId': ['665267987330240512'], 'supplierOrderId': ['665267987275714560'], 'supplierContractNo': ['QNP202112060005'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-06 16:18:20', 'status': '30131', 'userId': '665267776834899968', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '665267815741263872', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-06 16:17:42'}, {'id': '665261694393651200', 'clientContractNoId': ['665261724647165952'], 'clientOrderId': ['665261724374536192'], 'clientContractNo': ['QNS202112060009'], 'supplierContractNoId': ['665261751566209024'], 'supplierOrderId': ['665261751482322944'], 'supplierContractNo': ['QNP202112060004'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-06 15:53:33', 'status': '30131', 'userId': '665261543012831232', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '665261580983865344', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-06 15:52:58'}, {'id': '665260272977580032', 'clientContractNoId': ['665260304975925248'], 'clientOrderId': ['665260304699101184'], 'clientContractNo': ['QNS202112060007'], 'supplierContractNoId': ['665260331966271488'], 'supplierOrderId': ['665260331882385408'], 'supplierContractNo': ['QNP202112060003'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-06 15:47:55', 'status': '30131', 'userId': '665260123161235456', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '665260159563599872', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-06 15:47:19'}, {'id': '665259044285583360', 'clientContractNoId': None, 'clientOrderId': None, 'clientContractNo': None, 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-06 15:43:02', 'status': '30116', 'userId': '665258893701681152', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '665258929672032256', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-06 15:42:26'}, {'id': '665254974430777344', 'clientContractNoId': ['665255004294221824'], 'clientOrderId': ['665255004097089536'], 'clientContractNo': ['QNS202112060004'], 'supplierContractNoId': ['665255030345043968'], 'supplierOrderId': ['665255030286323712'], 'supplierContractNo': ['QNP202112060002'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-06 15:26:51', 'status': '30131', 'userId': '665254822785716224', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '665254857938178048', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-06 15:26:15'}, {'id': '665252957272543232', 'clientContractNoId': ['665252988008402944'], 'clientOrderId': ['665252987572195328'], 'clientContractNo': ['QNS202112060002'], 'supplierContractNoId': ['665253014784839680'], 'supplierOrderId': ['665253014692564992'], 'supplierContractNo': ['QNP202112060001'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-06 15:18:50', 'status': '30131', 'userId': '665252802544668672', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '665252841203568640', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-06 15:18:14'}, {'id': '664196603401342976', 'clientContractNoId': ['664196633940070400'], 'clientOrderId': ['664196633612914688'], 'clientContractNo': ['QNS202112030006'], 'supplierContractNoId': ['664196661236600832'], 'supplierOrderId': ['664196661140131840'], 'supplierContractNo': ['QNP202112030002'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-03 17:21:16', 'status': '30131', 'userId': '664196449436831744', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '664196488766820352', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-03 17:20:39'}, {'id': '664194062785581056', 'clientContractNoId': ['664194093135564800'], 'clientOrderId': ['664194092904878080'], 'clientContractNo': ['QNS202112030004'], 'supplierContractNoId': ['664194118439800832'], 'supplierOrderId': ['664194118368497664'], 'supplierContractNo': ['QNP202112030001'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-03 17:11:10', 'status': '30131', 'userId': '664193911689973760', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '664193949270937600', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-03 17:10:34'}, {'id': '664192468216057856', 'clientContractNoId': ['664192498486349824'], 'clientOrderId': ['664192498247274496'], 'clientContractNo': ['QNS202112030002'], 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-03 17:04:50', 'status': '30131', 'userId': '664192317774761984', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '664192352893669376', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-03 17:04:14'}, {'id': '664191631360135168', 'clientContractNoId': None, 'clientOrderId': None, 'clientContractNo': None, 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-03 17:01:31', 'status': '30116', 'userId': '664191476170887168', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '664191513852514304', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-03 17:01:33'}, {'id': '663435652502786048', 'clientContractNoId': ['663435680403296256'], 'clientOrderId': ['663435680134860800'], 'clientContractNo': ['QNS202112010008'], 'supplierContractNoId': ['663435705573314560'], 'supplierOrderId': ['663435705481039872'], 'supplierContractNo': ['QNP202112010004'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-01 14:57:31', 'status': '30131', 'userId': '663435527009210368', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '663435557187227648', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-01 14:57:00'}, {'id': '663367517787525120', 'clientContractNoId': ['663367545448960000'], 'clientOrderId': ['663367545201496064'], 'clientContractNo': ['QNS202112010006'], 'supplierContractNoId': ['663367569671065600'], 'supplierOrderId': ['663367569587179520'], 'supplierContractNo': ['QNP202112010003'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-01 10:26:47', 'status': '30131', 'userId': '663367392243617792', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '663367422539075584', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-01 10:26:16'}, {'id': '663367201591529472', 'clientContractNoId': ['663367230314123264'], 'clientOrderId': ['663367229794029568'], 'clientContractNo': ['QNS202112010004'], 'supplierContractNoId': ['663367254821441536'], 'supplierOrderId': ['663367254720778240'], 'supplierContractNo': ['QNP202112010002'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-01 10:25:31', 'status': '30131', 'userId': '663367070280454144', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '663367102580789248', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-01 10:24:59'}, {'id': '663364724171345920', 'clientContractNoId': ['663364755448270848'], 'clientOrderId': ['663364755188224000'], 'clientContractNo': ['QNS202112010002'], 'supplierContractNoId': ['663364782832881664'], 'supplierOrderId': ['663364782757384192'], 'supplierContractNo': ['QNP202112010001'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-01 10:15:41', 'status': '30131', 'userId': '663358612789399552', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '663364598187036672', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-12-01 10:15:01'}, {'id': '663147631895252992', 'clientContractNoId': ['663147659531522048'], 'clientOrderId': ['663147659237920768'], 'clientContractNo': ['QNS202111300010'], 'supplierContractNoId': ['663147683229339648'], 'supplierOrderId': ['663147683137064960'], 'supplierContractNo': ['QNP202111300005'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-30 19:53:02', 'status': '30131', 'userId': '663147456351047680', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '663147484402552832', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-30 19:52:19'}, {'id': '663147332111568896', 'clientContractNoId': ['663147359877861376'], 'clientOrderId': ['663147359491985408'], 'clientContractNo': ['QNS202111300008'], 'supplierContractNoId': ['663147384196435968'], 'supplierOrderId': ['663147384099966976'], 'supplierContractNo': ['QNP202111300004'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-30 19:51:50', 'status': '30131', 'userId': '663147154084335616', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '663147183071170560', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-30 19:51:07'}, {'id': '663131334499241984', 'clientContractNoId': ['663131364538847232'], 'clientOrderId': ['663131364241051648'], 'clientContractNo': ['QNS202111300006'], 'supplierContractNoId': ['663131389989883904'], 'supplierOrderId': ['663131389897609216'], 'supplierContractNo': ['QNP202111300003'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-30 18:48:16', 'status': '30131', 'userId': '663131130953863168', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '663131166676750336', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-30 18:47:27'}, {'id': '663130057149124608', 'clientContractNoId': ['663130087968870400'], 'clientOrderId': ['663130087666880512'], 'clientContractNo': ['QNS202111300004'], 'supplierContractNoId': ['663130113436684288'], 'supplierOrderId': ['663130113348603904'], 'supplierContractNo': ['QNP202111300002'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-30 18:43:12', 'status': '30131', 'userId': '663129855860281344', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '663129892799516672', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-30 18:42:23'}], 'pageIdentifier': [1638297792000, 432], 'pageSize': 20, 'order': {}, 'next': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
0
${enquiry_status}
${enquiry_status} = 0
Returns the given values which can then be assigned to a variables.
0
${enquiry_valid_status}
${enquiry_valid_status} = 0
Returns the given values which can then be assigned to a variables.
searchValue=${customer_enquiryContent}&status=${enquiry_status}&valid=${enquiry_valid_status}
${param}
${param} = searchValue=autotest_enquiryContent&status=0&valid=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/enquiry-order/order-list
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/order-list?searchValue=autotest_enquiryContent&status=0&valid=0
path_url=/trading-center/get/enquiry-order/order-list?searchValue=autotest_enquiryContent&status=0&valid=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/order-list?searchValue=autotest_enquiryContent&status=0&valid=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:27 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984927594057728","clientContractNoId":null,"clientOrderId":null,"clientContractNo":null,"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-12-08 15:47:26","status":"30114","userId":"665984809100775424","userName":"autotest_name_customer","valid":"0","picUrl":null,"enterpriseId":"665984836372140032","isDistribute":0,"receiverMobile":"13012345678","replyTtime":null}],"pageIdentifier":[1638978446000,1.7349391,448],"pageSize":20,"order":{},"next":true}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984927594057728', 'clientContractNoId': None, 'clientOrderId': None, 'clientContractNo': None, 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-12-08 15:47:26', 'status': '30114', 'userId': '665984809100775424', 'userName': 'autotest_name_customer', 'valid': '0', 'picUrl': None, 'enterpriseId': '665984836372140032', 'isDistribute': 0, 'receiverMobile': '13012345678', 'replyTtime': None}], 'pageIdentifier': [1638978446000, 1.7349391, 448], 'pageSize': 20, 'order': {}, 'next': True}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${customer_enquiry_id}
${response.json()["data"]["records"][0]["id"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"addList":[{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"${paper_brand_id}","gramWeight":${enquiry_gramWeight1},"width":${enquiry_width1},"length":${enquiry_length1},"quantity":${enquiry_quantity1},"brandName":"${paper_name}","enquiryId":"${customer_enquiry_id}","remark":"${customer_enquiry_remark}"},{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"${paper_brand_id}","gramWeight":${enquiry_gramWeight2},"width":${enquiry_width2},"length":${enquiry_length2},"quantity":${enquiry_quantity2},"brandName":"${paper_name}","enquiryId":"${customer_enquiry_id}","remark":"${customer_enquiry_remark}"}],"delList":[],"updateList":[],"id":"${customer_enquiry_id}","askEnterprise":"${printing_packaging_factory_id}","belongEnterpriseName":"${printing_packaging_factory_name}","deliveryDay":${customer_enquiry_deliveryDay},"deliveryArea":"${customer_enquiry_deliveryArea}","enquiryContent":"${customer_enquiryContent}","picUrl":null,"receiver":null,"receiverMobile":null,"deliveryProvinceId":null,"deliveryCityId":null,"deliveryDistrictId":null,"deliveryStreetId":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetail":null,"deliveryId":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null}
${body}
${body} = {"addList":[{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreet...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/update/enquiry-order
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/update/enquiry-order
path_url=/trading-center/update/enquiry-order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '1621'}
body=b'{"addList":[{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"665984898884046848","gramWeight":678,"width":787,"length":1000,"quantity":5500,"brandName":"aotutest_paper_name","enquiryId":"665984927594057728","remark":"autotest_remark"},{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"665984898884046848","gramWeight":678,"width":787,"length":1092,"quantity":5000,"brandName":"aotutest_paper_name","enquiryId":"665984927594057728","remark":"autotest_remark"}],"delList":[],"updateList":[],"id":"665984927594057728","askEnterprise":"665984836372140032","belongEnterpriseName":"autotest_printing_packaging_factory_name","deliveryDay":48,"deliveryArea":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81 \xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82 \xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","enquiryContent":"autotest_enquiryContent","picUrl":null,"receiver":null,"receiverMobile":null,"deliveryProvinceId":null,"deliveryCityId":null,"deliveryDistrictId":null,"deliveryStreetId":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetail":null,"deliveryId":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/update/enquiry-order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:27 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"id":"${customer_enquiry_id}"}
${body}
${body} = {"id":"665984927594057728"}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/distribute/enquiry-reply
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/distribute/enquiry-reply
path_url=/trading-center/distribute/enquiry-reply
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '27'}
body=b'{"id":"665984927594057728"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/distribute/enquiry-reply
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:28 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/enquiry-order/${customer_enquiry_id}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/665984927594057728
path_url=/trading-center/get/enquiry-order/665984927594057728
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/665984927594057728
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:29 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"665984927594057728","enquiryDetailList":[{"isDelete":false,"createTime":"2021-12-08T15:47:27","updateTime":"2021-12-08T15:47:27","id":"665984933319282688","paperName":null,"gramWeight":678,"length":1000,"width":787,"quantity":5500,"enquiryId":"665984927594057728","brandName":"aotutest_paper_name","remark":"autotest_remark","paperId":null,"brandId":"665984898884046848","deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"deliveryId":null},{"isDelete":false,"createTime":"2021-12-08T15:47:27","updateTime":"2021-12-08T15:47:27","id":"665984933319282689","paperName":null,"gramWeight":678,"length":1092,"width":787,"quantity":5000,"enquiryId":"665984927594057728","brandName":"aotutest_paper_name","remark":"autotest_remark","paperId":null,"brandId":"665984898884046848","deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"deliveryId":null}],"receiver":"autotest_name_customer","receiverMobile":"13012345678","deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"picUrl":"","belongEnterpriseName":"autotest_printing_packaging_factory_name","createTime":"2021-12-08 15:47:26","remark":null,"enquiryContent":"autotest_enquiryContent","askEnterprise":"665984836372140032","deliveryId":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"isDistribute":1,"status":30114,"isValid":0,"deliveryDay":48.00,"deliveryArea":"广东省 广州市 天河区","userName":"autotest_name_customer"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984927594057728', 'enquiryDetailList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:27', 'updateTime': '2021-12-08T15:47:27', 'id': '665984933319282688', 'paperName': None, 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 5500, 'enquiryId': '665984927594057728', 'brandName': 'aotutest_paper_name', 'remark': 'autotest_remark', 'paperId': None, 'brandId': '665984898884046848', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'deliveryId': None}, {'isDelete': False, 'createTime': '2021-12-08T15:47:27', 'updateTime': '2021-12-08T15:47:27', 'id': '665984933319282689', 'paperName': None, 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 5000, 'enquiryId': '665984927594057728', 'brandName': 'aotutest_paper_name', 'remark': 'autotest_remark', 'paperId': None, 'brandId': '665984898884046848', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'deliveryId': None}], 'receiver': 'autotest_name_customer', 'receiverMobile': '13012345678', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'picUrl': '', 'belongEnterpriseName': 'autotest_printing_packaging_factory_name', 'createTime': '2021-12-08 15:47:26', 'remark': None, 'enquiryContent': 'autotest_enquiryContent', 'askEnterprise': '665984836372140032', 'deliveryId': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'isDistribute': 1, 'status': 30114, 'isValid': 0, 'deliveryDay': 48.0, 'deliveryArea': '广东省 广州市 天河区', 'userName': 'autotest_name_customer'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to real numbers.
1
${response.json()["data"]["isDistribute"]}
Argument types are:
<type 'unicode'>
<class 'int'>
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
enquiryId=${customer_enquiry_id}
${param}
${param} = enquiryId=665984927594057728
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/obtain-paper-quotes/list
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/obtain-paper-quotes/list?enquiryId=665984927594057728
path_url=/trading-center/get/obtain-paper-quotes/list?enquiryId=665984927594057728
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/obtain-paper-quotes/list?enquiryId=665984927594057728
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:29 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","remark":null,"replyList":[{"enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","id":"665984937924628480","productSkuId":null,"paperId":null,"brandId":"665984898884046848","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5500,"length":1000,"width":787,"weight":2.9347,"unitFee":null,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":null,"createTime":"2021-12-08 15:47:28","updateTime":"2021-12-08 15:47:28","effectiveTime":"2021-12-09 15:47:28","salesEnterpriseId":null,"name":null,"status":30118,"remark":"autotest_remark","isValid":0,"premiumRate":null,"purchasePrice":null,"otherFee":null,"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":null},{"enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","id":"665984937958182912","productSkuId":null,"paperId":null,"brandId":"665984898884046848","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1092,"width":787,"weight":2.9134,"unitFee":null,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":null,"createTime":"2021-12-08 15:47:28","updateTime":"2021-12-08 15:47:28","effectiveTime":"2021-12-09 15:47:28","salesEnterpriseId":null,"name":null,"status":30118,"remark":"autotest_remark","isValid":0,"premiumRate":null,"purchasePrice":null,"otherFee":null,"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":null}]}]}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': [{'repEnterprise': '553652487819759617', 'repEnterpriseName': '千鸟官方直营', 'remark': None, 'replyList': [{'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'id': '665984937924628480', 'productSkuId': None, 'paperId': None, 'brandId': '665984898884046848', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5500, 'length': 1000, 'width': 787, 'weight': 2.9347, 'unitFee': None, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': None, 'createTime': '2021-12-08 15:47:28', 'updateTime': '2021-12-08 15:47:28', 'effectiveTime': '2021-12-09 15:47:28', 'salesEnterpriseId': None, 'name': None, 'status': 30118, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': None, 'purchasePrice': None, 'otherFee': None, 'repEnterprise': '553652487819759617', 'repEnterpriseName': '千鸟官方直营', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': None}, {'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'id': '665984937958182912', 'productSkuId': None, 'paperId': None, 'brandId': '665984898884046848', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5000, 'length': 1092, 'width': 787, 'weight': 2.9134, 'unitFee': None, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': None, 'createTime': '2021-12-08 15:47:28', 'updateTime': '2021-12-08 15:47:28', 'effectiveTime': '2021-12-09 15:47:28', 'salesEnterpriseId': None, 'name': None, 'status': 30118, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': None, 'purchasePrice': None, 'otherFee': None, 'repEnterprise': '553652487819759617', 'repEnterpriseName': '千鸟官方直营', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': None}]}]}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"][0]["replyList"][0]}
id
${paper_quotes_item_id1}
${paper_quotes_item_id1} = 665984937924628480
Makes a variable available globally in all tests and suites.
${paper_quotes_item_id1}
${paper_quotes_item_id1} = 665984937924628480
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"][0]["replyList"][1]}
id
${paper_quotes_item_id2}
${paper_quotes_item_id2} = 665984937958182912
Makes a variable available globally in all tests and suites.
${paper_quotes_item_id2}
${paper_quotes_item_id2} = 665984937958182912
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"][0]["replyList"][0]}
paperQuotedPriceId
${paperQuotedPriceId}
${paperQuotedPriceId} = 665984927631806464
Makes a variable available globally in all tests and suites.
${paperQuotedPriceId}
${paperQuotedPriceId} = 665984927631806464
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Evaluates the given expression in Python and returns the results.
${paper_quotation_gramWeight1}*${paper_quotation_width1}*${paper_quotation_length1}*${paper_quotation_quantity1}/1000000000000
${paper_quotation_buyton1}
${paper_quotation_buyton1} = 2.934723
Converts the given item to a floating point number.
${paper_quotation_buyton1}
4
${paper_quotation_buyTon1}
${paper_quotation_buyTon1} = 2.9347
Evaluates the given expression in Python and returns the results.
${product_price_sku_new}*(1+${settlement_interval_premium_rate_qniao})
${paper_quotation_unitfee1}
${paper_quotation_unitfee1} = 6992.67
Evaluates the given expression in Python and returns the results.
${product_price_sku_new}*(1+${settlement_interval_premium_rate_feisuan})
${paper_quotation_flyCalcSalesprice1}
${paper_quotation_flyCalcSalesprice1} = 6924.78
Converts the given item to a floating point number.
${paper_quotation_unitfee1}
${paper_quotation_unitFee1}
${paper_quotation_unitFee1} = 6992.67
Converts the given item to a floating point number.
${paper_quotation_flyCalcSalesprice1}
${paper_quotation_flyCalcSalesPrice1}
${paper_quotation_flyCalcSalesPrice1} = 6924.78
Evaluates the given expression in Python and returns the results.
${paper_quotation_unitFee1}*${paper_quotation_buyTon1}+${paper_quotation_otherFee}
${paper_quotation_totalOfferPrice1}
${paper_quotation_totalOfferPrice1} = 20521.388649
Converts the given item to a floating point number.
${paper_quotation_totalOfferPrice1}
2
${paper_quotation_totalOfferPrice_item1}
${paper_quotation_totalOfferPrice_item1} = 20521.39
Evaluates the given expression in Python and returns the results.
${paper_quotation_gramWeight2}*${paper_quotation_width2}*${paper_quotation_length2}*${paper_quotation_quantity2}/1000000000000
${paper_quotation_buyton2}
${paper_quotation_buyton2} = 2.91337956
Converts the given item to a floating point number.
${paper_quotation_buyton2}
4
${paper_quotation_buyTon2}
${paper_quotation_buyTon2} = 2.9134
Evaluates the given expression in Python and returns the results.
${product_price_sku_new}*(1+${settlement_interval_premium_rate_qniao})
${paper_quotation_unitfee2}
${paper_quotation_unitfee2} = 6992.67
Evaluates the given expression in Python and returns the results.
${product_price_sku_new}*(1+${settlement_interval_premium_rate_feisuan})
${paper_quotation_flyCalcSalesprice2}
${paper_quotation_flyCalcSalesprice2} = 6924.78
Converts the given item to a floating point number.
${paper_quotation_unitfee2}
${paper_quotation_unitFee2}
${paper_quotation_unitFee2} = 6992.67
Converts the given item to a floating point number.
${paper_quotation_flyCalcSalesprice2}
${paper_quotation_flyCalcSalesPrice2}
${paper_quotation_flyCalcSalesPrice2} = 6924.78
Evaluates the given expression in Python and returns the results.
${paper_quotation_unitFee2}*${paper_quotation_buyTon2}+${paper_quotation_otherFee}
${paper_quotation_totalOfferPrice2}
${paper_quotation_totalOfferPrice2} = 20372.444778
Converts the given item to a floating point number.
${paper_quotation_totalOfferPrice2}
2
${paper_quotation_totalOfferPrice_item2}
${paper_quotation_totalOfferPrice_item2} = 20372.44
Returns the given values which can then be assigned to a variables.
{"addList":[],"delList":[],"enquiryId":"${customer_enquiry_id}","updateList":[{"enquiryId":"${customer_enquiry_id}","paperQuotedPriceId":"${paperQuotedPriceId}","id":"${paper_quotes_item_id1}","productSkuId":"${product_price_sku_id}","paperId":null,"brandId":"${paper_brand_id}","paperName":null,"brandName":"${paper_name}","productName":null,"gramWeight":${paper_quotation_gramWeight1},"quantity":${paper_quotation_quantity1},"length":${paper_quotation_length1},"width":${paper_quotation_width1},"weight":${paper_quotation_buyTon1},"unitFee":${paper_quotation_unitFee1},"totalPrice":"${paper_quotation_totalOfferPrice_item1}","createTime":"${current_date_second.encode('utf-8')}","updateTime":"${current_date_second.encode('utf-8')}","effectiveTime":"${current_date_second.encode('utf-8')}","salesEnterpriseId":"${supplier_paper_id}","remark":"${customer_enquiry_remark}","purchasePrice":${product_price_sku_new},"otherFee":${paper_quotation_otherFee},"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","salesEnterpriseName":"${printing_packaging_factory_name}","flyCalcSalesPrice":${paper_quotation_flyCalcSalesPrice1}},{"enquiryId":"${customer_enquiry_id}","paperQuotedPriceId":"${paperQuotedPriceId}","id":"${paper_quotes_item_id2}","productSkuId":"${product_price_sku_id}","paperId":null,"brandId":"${paper_brand_id}","paperName":null,"brandName":"${paper_name}","productName":null,"gramWeight":${paper_quotation_gramWeight2},"quantity":${paper_quotation_quantity2},"length":${paper_quotation_length2},"width":${paper_quotation_width2},"weight":${paper_quotation_buyTon2},"unitFee":${paper_quotation_unitFee2},"totalPrice":"${paper_quotation_totalOfferPrice_item2}","createTime ":"${current_date_second.encode('utf-8')}","updateTime":"${current_date_second.encode('utf-8')}","effectiveTime":"${current_date_second.encode('utf-8')}","salesEnterpriseId":"${supplier_paper_id}","remark":"${customer_enquiry_remark}","purchasePrice":${product_price_sku_new},"otherFee":${paper_quotation_otherFee},"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","salesEnterpriseName":"${printing_packaging_factory_name}","flyCalcSalesPrice":${paper_quotation_flyCalcSalesPrice2}}],"remark":"${supplierfocus_paper_quotation_remark}"}
${body}
${body} = {"addList":[],"delList":[],"enquiryId":"665984927594057728","updateList":[{"enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","id":"665984937924628480","productSkuId":"1466","p...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/submit/paper-quotation
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/submit/paper-quotation
path_url=/trading-center/submit/paper-quotation
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '1611'}
body=b'{"addList":[],"delList":[],"enquiryId":"665984927594057728","updateList":[{"enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","id":"665984937924628480","productSkuId":"1466","paperId":null,"brandId":"665984898884046848","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5500,"length":1000,"width":787,"weight":2.9347,"unitFee":6992.67,"totalPrice":"20521.39","createTime":"2021-12-08 15:46:56","updateTime":"2021-12-08 15:46:56","effectiveTime":"2021-12-08 15:46:56","salesEnterpriseId":"665984854726414336","remark":"autotest_remark","purchasePrice":6789,"otherFee":0,"repEnterprise":"553652487819759617","repEnterpriseName":"\xe5\x8d\x83\xe9\xb8\x9f\xe5\xae\x98\xe6\x96\xb9\xe7\x9b\xb4\xe8\x90\xa5","salesEnterpriseName":"autotest_printing_packaging_factory_name","flyCalcSalesPrice":6924.78},{"enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","id":"665984937958182912","productSkuId":"1466","paperId":null,"brandId":"665984898884046848","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1092,"width":787,"weight":2.9134,"unitFee":6992.67,"totalPrice":"20372.44","createTime ":"2021-12-08 15:46:56","updateTime":"2021-12-08 15:46:56","effectiveTime":"2021-12-08 15:46:56","salesEnterpriseId":"665984854726414336","remark":"autotest_remark","purchasePrice":6789,"otherFee":0,"repEnterprise":"553652487819759617","repEnterpriseName":"\xe5\x8d\x83\xe9\xb8\x9f\xe5\xae\x98\xe6\x96\xb9\xe7\x9b\xb4\xe8\x90\xa5","salesEnterpriseName":"autotest_printing_packaging_factory_name","flyCalcSalesPrice":6924.78}],"remark":"autotest_supplierfocus_paper_quotation_remark"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/submit/paper-quotation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:29 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Makes a variable available globally in all tests and suites.
${paper_quotation_buyTon1}
${paper_quotation_buyTon1} = 2.9347
Makes a variable available globally in all tests and suites.
${paper_quotation_unitFee1}
${paper_quotation_unitFee1} = 6992.67
Makes a variable available globally in all tests and suites.
${paper_quotation_flyCalcSalesPrice1}
${paper_quotation_flyCalcSalesPrice1} = 6924.78
Makes a variable available globally in all tests and suites.
${paper_quotation_totalOfferPrice_item1}
${paper_quotation_totalOfferPrice_item1} = 20521.39
Makes a variable available globally in all tests and suites.
${paper_quotation_buyTon2}
${paper_quotation_buyTon2} = 2.9134
Makes a variable available globally in all tests and suites.
${paper_quotation_unitFee2}
${paper_quotation_unitFee2} = 6992.67
Makes a variable available globally in all tests and suites.
${paper_quotation_flyCalcSalesPrice2}
${paper_quotation_flyCalcSalesPrice2} = 6924.78
Makes a variable available globally in all tests and suites.
${paper_quotation_totalOfferPrice_item2}
${paper_quotation_totalOfferPrice_item2} = 20372.44
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloud_factory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
autotest_supplier_paper_quotation_remark
${supplier_paper_quotation_remark}
${supplier_paper_quotation_remark} = autotest_supplier_paper_quotation_remark
Returns the given values which can then be assigned to a variables.
{"enquiryId":"${customer_enquiry_id}","replyList":[{"brandName":"${paper_name}","brandId":"${paper_brand_id}","width":787,"length":1000,"gramWeight":678,"quantity":5000,"weight":2.6679,"unitFee":5000,"otherFee":0,"totalPrice":13339.5,"remark":"${customer_enquiry_remark}"},{"brandName":"${paper_name}","brandId":"${paper_brand_id}","width":787,"length":1092,"gramWeight":678,"quantity":5000,"weight":2.9134,"unitFee":5000,"otherFee":0,"totalPrice":14567,"remark":"${customer_enquiry_remark}"}],"remark":"${supplier_paper_quotation_remark}"}
${body}
${body} = {"enquiryId":"665984927594057728","replyList":[{"brandName":"aotutest_paper_name","brandId":"665984898884046848","width":787,"length":1000,"gramWeight":678,"quantity":5000,"weight":2.6679,"unitFee":50...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/add/enquiry-reply-batch
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/add/enquiry-reply-batch
path_url=/trading-center/wechatapplet/add/enquiry-reply-batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==', 'Content-Length': '534'}
body=b'{"enquiryId":"665984927594057728","replyList":[{"brandName":"aotutest_paper_name","brandId":"665984898884046848","width":787,"length":1000,"gramWeight":678,"quantity":5000,"weight":2.6679,"unitFee":5000,"otherFee":0,"totalPrice":13339.5,"remark":"autotest_remark"},{"brandName":"aotutest_paper_name","brandId":"665984898884046848","width":787,"length":1092,"gramWeight":678,"quantity":5000,"weight":2.9134,"unitFee":5000,"otherFee":0,"totalPrice":14567,"remark":"autotest_remark"}],"remark":"autotest_supplier_paper_quotation_remark"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/add/enquiry-reply-batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:30 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
enquiryId=${customer_enquiry_id}
${param}
${param} = enquiryId=665984927594057728
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/supplier-quotation-record/list
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier-quotation-record/list?enquiryId=665984927594057728
path_url=/trading-center/get/supplier-quotation-record/list?enquiryId=665984927594057728
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier-quotation-record/list?enquiryId=665984927594057728
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:31 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"repEnterprise":"665984854726414336","repEnterpriseName":"autotest_supplier_paper_name","remark":"autotest_supplier_paper_quotation_remark","replyList":[{"enquiryId":null,"paperQuotedPriceId":"665984927631806464","id":"665984948355862528","productSkuId":"1466","paperId":null,"brandId":"665984898884046848","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1000,"width":787,"weight":2.6679,"unitFee":5150,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":13739.69,"createTime":"2021-12-08 15:47:31","updateTime":"2021-12-08 15:47:31","effectiveTime":"2021-12-09 15:47:31","salesEnterpriseId":"665984854726414336","name":null,"status":30122,"remark":"autotest_remark","isValid":0,"premiumRate":0.030000,"purchasePrice":5000.0000,"otherFee":0.00,"repEnterprise":"665984854726414336","repEnterpriseName":"autotest_supplier_paper_name","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":5100.00},{"enquiryId":null,"paperQuotedPriceId":"665984927631806464","id":"665984948662046720","productSkuId":"1466","paperId":null,"brandId":"665984898884046848","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1092,"width":787,"weight":2.9134,"unitFee":5150,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":15004.01,"createTime":"2021-12-08 15:47:31","updateTime":"2021-12-08 15:47:31","effectiveTime":"2021-12-09 15:47:31","salesEnterpriseId":"665984854726414336","name":null,"status":30122,"remark":"autotest_remark","isValid":0,"premiumRate":0.030000,"purchasePrice":5000.0000,"otherFee":0.00,"repEnterprise":"665984854726414336","repEnterpriseName":"autotest_supplier_paper_name","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":5100.00}]}]}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': [{'repEnterprise': '665984854726414336', 'repEnterpriseName': 'autotest_supplier_paper_name', 'remark': 'autotest_supplier_paper_quotation_remark', 'replyList': [{'enquiryId': None, 'paperQuotedPriceId': '665984927631806464', 'id': '665984948355862528', 'productSkuId': '1466', 'paperId': None, 'brandId': '665984898884046848', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5000, 'length': 1000, 'width': 787, 'weight': 2.6679, 'unitFee': 5150, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': 13739.69, 'createTime': '2021-12-08 15:47:31', 'updateTime': '2021-12-08 15:47:31', 'effectiveTime': '2021-12-09 15:47:31', 'salesEnterpriseId': '665984854726414336', 'name': None, 'status': 30122, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': 0.03, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '665984854726414336', 'repEnterpriseName': 'autotest_supplier_paper_name', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': 5100.0}, {'enquiryId': None, 'paperQuotedPriceId': '665984927631806464', 'id': '665984948662046720', 'productSkuId': '1466', 'paperId': None, 'brandId': '665984898884046848', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5000, 'length': 1092, 'width': 787, 'weight': 2.9134, 'unitFee': 5150, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': 15004.01, 'createTime': '2021-12-08 15:47:31', 'updateTime': '2021-12-08 15:47:31', 'effectiveTime': '2021-12-09 15:47:31', 'salesEnterpriseId': '665984854726414336', 'name': None, 'status': 30122, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': 0.03, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '665984854726414336', 'repEnterpriseName': 'autotest_supplier_paper_name', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': 5100.0}]}]}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/enquiry-result/${customer_enquiry_id}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-result/665984927594057728
path_url=/trading-center/get/enquiry-result/665984927594057728
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-result/665984927594057728
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:32 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"665984927594057728","status":30116,"createTime":"2021-12-08 15:47:26","remark":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"picUrl":"","replyList":[{"id":"665984937924628480","enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","unitFee":6992.67,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":20521.39,"weight":2.9347,"status":30122,"repEnterpriseName":"千鸟官方直营","repUserName":null,"updateTime":"2021-12-08 15:47:30","createTime":"2021-12-08 15:46:56","productSkuId":"1466","orderId":null,"product":{"id":"665984911987052544","name":"aotutest_paper_name","skuId":"1466","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"665984854726414336","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5500,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1000,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-12-08 15:46:56","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"665984854726414336","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"665984898884046848","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":6789.0000,"otherFee":0.00,"repEnterprise":"553652487819759617","flyCalcSalesPrice":6924.78},{"id":"665984937958182912","enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","unitFee":6992.67,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":20372.44,"weight":2.9134,"status":30122,"repEnterpriseName":"千鸟官方直营","repUserName":null,"updateTime":"2021-12-08 15:47:30","createTime":"2021-12-08 15:47:28","productSkuId":"1466","orderId":null,"product":{"id":"665984911987052544","name":"aotutest_paper_name","skuId":"1466","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"665984854726414336","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5000,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1092,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-12-08 15:46:56","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"665984854726414336","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"665984898884046848","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":6789.0000,"otherFee":0.00,"repEnterprise":"553652487819759617","flyCalcSalesPrice":6924.78},{"id":"665984948355862528","enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","unitFee":5150.00,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":13739.69,"weight":2.6679,"status":30122,"repEnterpriseName":"autotest_supplier_paper_name","repUserName":null,"updateTime":"2021-12-08 15:47:31","createTime":"2021-12-08 15:47:31","productSkuId":"1466","orderId":null,"product":{"id":"665984911987052544","name":"aotutest_paper_name","skuId":"1466","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"665984854726414336","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5000,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1000,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-12-09 15:47:31","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"665984854726414336","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"665984898884046848","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":5000.0000,"otherFee":0.00,"repEnterprise":"665984854726414336","flyCalcSalesPrice":5100.00},{"id":"665984948662046720","enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","unitFee":5150.00,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":15004.01,"weight":2.9134,"status":30122,"repEnterpriseName":"autotest_supplier_paper_name","repUserName":null,"updateTime":"2021-12-08 15:47:31","createTime":"2021-12-08 15:47:31","productSkuId":"1466","orderId":null,"product":{"id":"665984911987052544","name":"aotutest_paper_name","skuId":"1466","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"665984854726414336","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5000,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1092,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-12-09 15:47:31","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"665984854726414336","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"665984898884046848","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":5000.0000,"otherFee":0.00,"repEnterprise":"665984854726414336","flyCalcSalesPrice":5100.00}],"supplierPriceList":[{"enquiryId":"665984927594057728","supplierId":"665984854726414336","supplierName":"autotest_supplier_paper_name","otherExpenses":0.00,"totalPrice":28743.70,"score":5,"createTime":"2021-12-08 15:47:31","supplierPricePaperProducts":[{"id":"665984948355862528","enquiryId":"665984927594057728","paperQuotedPriceId":"665984927631806464","unitFee":5150.00,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":13739.69,"weight":2.6679,"status":30122,"repEnterpriseName":"autotest_supplier_paper_name","repUserName":null,"updateTime":"2021-12-08 15:47:31","createTime":"2021-12-08 15:47:31","productSkuId":"1466","orderId":null,"product":{"id":"665984911987052544","name":"aotutest_paper_name","skuId":"1466","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"665984854726414336","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5000,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1000,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-12-09 15:47:31","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"665984854726414336","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"665984898884046848","isValid":0,"serviceFee":0,"orderStatus":null,"purchaseP... (set the log level to DEBUG or TRACE to see the full content)
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984927594057728', 'status': 30116, 'createTime': '2021-12-08 15:47:26', 'remark': None, 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'picUrl': '', 'replyList': [{'id': '665984937924628480', 'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'unitFee': 6992.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 20521.39, 'weight': 2.9347, 'status': 30122, 'repEnterpriseName': '千鸟官方直营', 'repUserName': None, 'updateTime': '2021-12-08 15:47:30', 'createTime': '2021-12-08 15:46:56', 'productSkuId': '1466', 'orderId': None, 'product': {'id': '665984911987052544', 'name': 'aotutest_paper_name', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5500, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1000, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-12-08 15:46:56', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '665984854726414336', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '665984898884046848', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '553652487819759617', 'flyCalcSalesPrice': 6924.78}, {'id': '665984937958182912', 'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'unitFee': 6992.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 20372.44, 'weight': 2.9134, 'status': 30122, 'repEnterpriseName': '千鸟官方直营', 'repUserName': None, 'updateTime': '2021-12-08 15:47:30', 'createTime': '2021-12-08 15:47:28', 'productSkuId': '1466', 'orderId': None, 'product': {'id': '665984911987052544', 'name': 'aotutest_paper_name', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1092, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-12-08 15:46:56', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '665984854726414336', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '665984898884046848', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '553652487819759617', 'flyCalcSalesPrice': 6924.78}, {'id': '665984948355862528', 'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'unitFee': 5150.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 13739.69, 'weight': 2.6679, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-12-08 15:47:31', 'createTime': '2021-12-08 15:47:31', 'productSkuId': '1466', 'orderId': None, 'product': {'id': '665984911987052544', 'name': 'aotutest_paper_name', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1000, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-12-09 15:47:31', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '665984854726414336', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '665984898884046848', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '665984854726414336', 'flyCalcSalesPrice': 5100.0}, {'id': '665984948662046720', 'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'unitFee': 5150.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 15004.01, 'weight': 2.9134, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-12-08 15:47:31', 'createTime': '2021-12-08 15:47:31', 'productSkuId': '1466', 'orderId': None, 'product': {'id': '665984911987052544', 'name': 'aotutest_paper_name', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1092, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-12-09 15:47:31', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '665984854726414336', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '665984898884046848', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '665984854726414336', 'flyCalcSalesPrice': 5100.0}], 'supplierPriceList': [{'enquiryId': '665984927594057728', 'supplierId': '665984854726414336', 'supplierName': 'autotest_supplier_paper_name', 'otherExpenses': 0.0, 'totalPrice': 28743.7, 'score': 5, 'createTime': '2021-12-08 15:47:31', 'supplierPricePaperProducts': [{'id': '665984948355862528', 'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'unitFee': 5150.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 13739.69, 'weight': 2.6679, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-12-08 15:47:31', 'createTime': '2021-12-08 15:47:31', 'productSkuId': '1466', 'orderId': None, 'product': {'id': '665984911987052544', 'name': 'aotutest_paper_name', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1000, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-12-09 15:47:31', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '665984854726414336', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '665984898884046848', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '665984854726414336', 'flyCalcSalesPrice': 5100.0}, {'id': '665984948662046720', 'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'unitFee': 5150.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 15004.01, 'weight': 2.9134, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-12-08 15:47:31', 'createTime': '2021-12-08 15:47:31', 'productSkuId': '1466', 'orderId': None, 'product': {'id': '665984911987052544', 'name': 'aotutest_paper_name', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1092, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-12-09 15:47:31', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '665984854726414336', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '665984898884046848', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '665984854726414336', 'flyCalcSalesPrice': 5100.0}], 'status': 30122, 'orderId': None, 'remark': 'autotest_supplier_paper_quotation_remark'}, {'enquiryId': '665984927594057728', 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'otherExpenses': 0.0, 'totalPrice': 40893.83, 'score': 5, 'createTime': '2021-12-08 15:46:56', 'supplierPricePaperProducts': [{'id': '665984937924628480', 'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'unitFee': 6992.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 20521.39, 'weight': 2.9347, 'status': 30122, 'repEnterpriseName': '千鸟官方直营', 'repUserName': None, 'updateTime': '2021-12-08 15:47:30', 'createTime': '2021-12-08 15:46:56', 'productSkuId': '1466', 'orderId': None, 'product': {'id': '665984911987052544', 'name': 'aotutest_paper_name', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5500, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1000, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-12-08 15:46:56', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '665984854726414336', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '665984898884046848', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '553652487819759617', 'flyCalcSalesPrice': 6924.78}, {'id': '665984937958182912', 'enquiryId': '665984927594057728', 'paperQuotedPriceId': '665984927631806464', 'unitFee': 6992.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 20372.44, 'weight': 2.9134, 'status': 30122, 'repEnterpriseName': '千鸟官方直营', 'repUserName': None, 'updateTime': '2021-12-08 15:47:30', 'createTime': '2021-12-08 15:47:28', 'productSkuId': '1466', 'orderId': None, 'product': {'id': '665984911987052544', 'name': 'aotutest_paper_name', 'skuId': '1466', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '665984854726414336', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1092, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-12-08 15:46:56', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '665984854726414336', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '665984898884046848', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '553652487819759617', 'flyCalcSalesPrice': 6924.78}], 'status': 30122, 'orderId': None, 'remark': 'autotest_supplierfocus_paper_quotation_remark'}], 'enquiryContent': 'autotest_enquiryContent', 'receiver': 'autotest_name_customer', 'receiverMobile': '13012345678', 'askEnterprise': '665984836372140032', 'deliveryId': None, 'detailList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:27', 'updateTime': '2021-12-08T15:47:27', 'id': '665984933319282688', 'paperName': None, 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 5500, 'enquiryId': '665984927594057728', 'brandName': 'aotutest_paper_name', 'remark': 'autotest_remark', 'paperId': None, 'brandId': '665984898884046848', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'deliveryId': None}, {'isDelete': False, 'createTime': '2021-12-08T15:47:27', 'updateTime': '2021-12-08T15:47:27', 'id': '665984933319282689', 'paperName': None, 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 5000, 'enquiryId': '665984927594057728', 'brandName': 'aotutest_paper_name', 'remark': 'autotest_remark', 'paperId': None, 'brandId': '665984898884046848', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'deliveryId': None}], 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'enquiryStatus': None, 'replyStatus': None, 'enquiryIsValid': 0, 'replyIsValid': None, 'deliveryDay': 48.0, 'deliveryArea': '广东省 广州市 天河区'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Evaluates the given expression in Python and returns the results.
${paper_quotation_totalOfferPrice_item1}+${customer_create_order_bootFee1}+${customer_create_order_cuttingFee1}+${customer_create_order_freightFee1}+${customer_create_order_serviceFee1}
${customer_create_order_enquiry_totalOfferPrice_item1}
${customer_create_order_enquiry_totalOfferPrice_item1} = 20521.39
Converts the given item to a floating point number.
${customer_create_order_enquiry_totalOfferPrice_item1}
2
${customer_create_order_enquiry_totalOfferPrice_Item1}
${customer_create_order_enquiry_totalOfferPrice_Item1} = 20521.39
Evaluates the given expression in Python and returns the results.
${paper_quotation_totalOfferPrice_item2}+${customer_create_order_bootFee2}+${customer_create_order_cuttingFee2}+${customer_create_order_freightFee2}+${customer_create_order_serviceFee2}
${customer_create_order_enquiry_totalOfferPrice_item2}
${customer_create_order_enquiry_totalOfferPrice_item2} = 20372.44
Converts the given item to a floating point number.
${customer_create_order_enquiry_totalOfferPrice_item2}
2
${customer_create_order_enquiry_totalOfferPrice_Item2}
${customer_create_order_enquiry_totalOfferPrice_Item2} = 20372.44
Evaluates the given expression in Python and returns the results.
${customer_create_order_enquiry_totalOfferPrice_Item1}+${customer_create_order_enquiry_totalOfferPrice_Item2}
${customer_create_order_enquiry_realPayprice}
${customer_create_order_enquiry_realPayprice} = 40893.83
Converts the given item to a floating point number.
${customer_create_order_enquiry_realPayprice}
2
${customer_create_order_enquiry_realPayPrice}
${customer_create_order_enquiry_realPayPrice} = 40893.83
Returns the given values which can then be assigned to a variables.
[{"enquiryReplyId":"${paper_quotes_item_id1}","enquiryId":"${customer_enquiry_id}","gramWeight":${paper_quotation_gramWeight1},"width":${paper_quotation_width1},"length":${paper_quotation_length1},"quantity":${paper_quotation_quantity1},"buyTon":${paper_quotation_buyTon1},"productName":null,"purchasePrice":${product_price_sku_new},"unitPrice":${paper_quotation_unitFee1},"bootFee":${customer_create_order_bootFee1},"cuttingFee":${customer_create_order_cuttingFee1},"freightFee":${customer_create_order_freightFee1},"serviceFee":${customer_create_order_serviceFee1},"otherFee":${paper_quotation_otherFee},"totalOfferPrice":${customer_create_order_enquiry_totalOfferPrice_Item1},"remark":"autotest_remark1","productSkuId":"${product_price_sku_id}"},{"enquiryReplyId":"${paper_quotes_item_id2}","enquiryId":"${customer_enquiry_id}","gramWeight":${paper_quotation_gramWeight2},"width":${paper_quotation_width2},"length":${paper_quotation_length2},"quantity":${paper_quotation_quantity2},"buyTon":${paper_quotation_buyTon2},"productName":null,"purchasePrice":${product_price_sku_new},"unitPrice":${paper_quotation_unitFee2},"bootFee":${customer_create_order_bootFee2},"cuttingFee":${customer_create_order_cuttingFee2},"freightFee":${customer_create_order_freightFee2},"serviceFee":${customer_create_order_serviceFee2},"otherFee":${paper_quotation_otherFee},"totalOfferPrice":${customer_create_order_enquiry_totalOfferPrice_Item2},"remark":"autotest_remark2","productSkuId":"${product_price_sku_id}"}]
${customer_enquiry_create_order_productSkuList}
${customer_enquiry_create_order_productSkuList} = [{"enquiryReplyId":"665984937924628480","enquiryId":"665984927594057728","gramWeight":678,"width":787,"length":1000,"quantity":5500,"buyTon":2.9347,"productName":null,"purchasePrice":6789,"unitPrice":...
Returns the given values which can then be assigned to a variables.
{"receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","receiver":"${customer_enterprise_shipping_address_receiver}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryId":"${customer_enterprise_shipping_address_id}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","paymentMethod":${customer_create_order_paymentMethod},"realPayPrice":${customer_create_order_enquiry_realPayPrice},"totalOfferPrice":${customer_create_order_enquiry_realPayPrice},"password":"${customer_credit_password_new}","productSkuList":${customer_enquiry_create_order_productSkuList.encode("utf-8")}}
${body}
${body} = {"receiverMobile":"13800138000","receiver":"autotest_receiver","deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"de...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/buyer/create/order
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/create/order
path_url=/trading-center/buyer/create/order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '1234'}
body=b'{"receiverMobile":"13800138000","receiver":"autotest_receiver","deliveryProvinceId":440000,"deliveryProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","deliveryCityId":440100,"deliveryCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","deliveryDistrictId":440106,"deliveryDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","deliveryStreetId":440106003,"deliveryStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","deliveryId":"665984924813234176","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","paymentMethod":2,"realPayPrice":40893.83,"totalOfferPrice":40893.83,"password":"123456","productSkuList":[{"enquiryReplyId":"665984937924628480","enquiryId":"665984927594057728","gramWeight":678,"width":787,"length":1000,"quantity":5500,"buyTon":2.9347,"productName":null,"purchasePrice":6789,"unitPrice":6992.67,"bootFee":0,"cuttingFee":0,"freightFee":0,"serviceFee":0,"otherFee":0,"totalOfferPrice":20521.39,"remark":"autotest_remark1","productSkuId":"1466"},{"enquiryReplyId":"665984937958182912","enquiryId":"665984927594057728","gramWeight":678,"width":787,"length":1092,"quantity":5000,"buyTon":2.9134,"productName":null,"purchasePrice":6789,"unitPrice":6992.67,"bootFee":0,"cuttingFee":0,"freightFee":0,"serviceFee":0,"otherFee":0,"totalOfferPrice":20372.44,"remark":"autotest_remark2","productSkuId":"1466"}]}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/create/order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:32 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"orderId":"665984954622152704","realPayPrice":40893.83,"channelId":null,"contractNo":"QNS202112080004","signUrl":null,"customerEnterpriseName":"autotest_printing_packaging_factory_name"}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '665984954622152704', 'realPayPrice': 40893.83, 'channelId': None, 'contractNo': 'QNS202112080004', 'signUrl': None, 'customerEnterpriseName': 'autotest_printing_packaging_factory_name'}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
orderId
${customer_enquiry_create_order_id}
${customer_enquiry_create_order_id} = 665984954622152704
Makes a variable available globally in all tests and suites.
${customer_enquiry_create_order_id}
${customer_enquiry_create_order_id} = 665984954622152704
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]}
contractNo
${customer_enquiry_create_order_contractNo}
${customer_enquiry_create_order_contractNo} = QNS202112080004
Makes a variable available globally in all tests and suites.
${customer_enquiry_create_order_contractNo}
${customer_enquiry_create_order_contractNo} = QNS202112080004
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/buyer/get/self-enterprise-order-page
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/self-enterprise-order-page
path_url=/trading-center/buyer/get/self-enterprise-order-page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/self-enterprise-order-page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:32 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"665984954622152704","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":40893.83,"realPayPrice":40893.83,"status":30101,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":0.00,"otherFee":null,"createTime":"2021-12-08 15:47:32","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"665984954668290048","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1466","unitPrice":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20521.39,"remark":"autotest_remark1"},{"id":"665984954710233088","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1466","unitPrice":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20372.44,"remark":"autotest_remark2"}],"deliveryOrderImg":null,"payableStatus":null,"receivableStatus":30150,"showStatus":2,"supplierId":"553652487819759617","supplierName":"千鸟官方直营","reviewStatus":null,"customerEnterpriseName":null,"shouldRepayDate":null},{"orderId":"665984925996027904","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":20372.44,"realPayPrice":20372.44,"status":30101,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":0.00,"otherFee":null,"createTime":"2021-12-08 15:47:25","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"665984926042165248","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1466","unitPrice":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20372.44,"remark":"autotest_customer_create_order_remark"}],"deliveryOrderImg":null,"payableStatus":null,"receivableStatus":30150,"showStatus":2,"supplierId":"553652487819759617","supplierName":"千鸟官方直营","reviewStatus":null,"customerEnterpriseName":null,"shouldRepayDate":null}],"total":2,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '665984954622152704', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 40893.83, 'realPayPrice': 40893.83, 'status': 30101, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': 0.0, 'otherFee': None, 'createTime': '2021-12-08 15:47:32', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '665984954668290048', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1466', 'unitPrice': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20521.39, 'remark': 'autotest_remark1'}, {'id': '665984954710233088', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1466', 'unitPrice': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20372.44, 'remark': 'autotest_remark2'}], 'deliveryOrderImg': None, 'payableStatus': None, 'receivableStatus': 30150, 'showStatus': 2, 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'reviewStatus': None, 'customerEnterpriseName': None, 'shouldRepayDate': None}, {'orderId': '665984925996027904', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 20372.44, 'realPayPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': 0.0, 'otherFee': None, 'createTime': '2021-12-08 15:47:25', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '665984926042165248', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1466', 'unitPrice': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20372.44, 'remark': 'autotest_customer_create_order_remark'}], 'deliveryOrderImg': None, 'payableStatus': None, 'receivableStatus': 30150, 'showStatus': 2, 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'reviewStatus': None, 'customerEnterpriseName': None, 'shouldRepayDate': None}], 'total': 2, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
status=2
${param}
${param} = status=2
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/buyer/get/self-enterprise-order-page
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/self-enterprise-order-page?status=2
path_url=/trading-center/buyer/get/self-enterprise-order-page?status=2
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/self-enterprise-order-page?status=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:32 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"665984954622152704","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":40893.83,"realPayPrice":40893.83,"status":30101,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":0.00,"otherFee":null,"createTime":"2021-12-08 15:47:32","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"665984954668290048","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1466","unitPrice":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20521.39,"remark":"autotest_remark1"},{"id":"665984954710233088","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1466","unitPrice":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20372.44,"remark":"autotest_remark2"}],"deliveryOrderImg":null,"payableStatus":null,"receivableStatus":30150,"showStatus":2,"supplierId":"553652487819759617","supplierName":"千鸟官方直营","reviewStatus":null,"customerEnterpriseName":null,"shouldRepayDate":null},{"orderId":"665984925996027904","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":20372.44,"realPayPrice":20372.44,"status":30101,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":0.00,"otherFee":null,"createTime":"2021-12-08 15:47:25","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"665984926042165248","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1466","unitPrice":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20372.44,"remark":"autotest_customer_create_order_remark"}],"deliveryOrderImg":null,"payableStatus":null,"receivableStatus":30150,"showStatus":2,"supplierId":"553652487819759617","supplierName":"千鸟官方直营","reviewStatus":null,"customerEnterpriseName":null,"shouldRepayDate":null}],"total":2,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '665984954622152704', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 40893.83, 'realPayPrice': 40893.83, 'status': 30101, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': 0.0, 'otherFee': None, 'createTime': '2021-12-08 15:47:32', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '665984954668290048', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1466', 'unitPrice': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20521.39, 'remark': 'autotest_remark1'}, {'id': '665984954710233088', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1466', 'unitPrice': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20372.44, 'remark': 'autotest_remark2'}], 'deliveryOrderImg': None, 'payableStatus': None, 'receivableStatus': 30150, 'showStatus': 2, 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'reviewStatus': None, 'customerEnterpriseName': None, 'shouldRepayDate': None}, {'orderId': '665984925996027904', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 20372.44, 'realPayPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': 0.0, 'otherFee': None, 'createTime': '2021-12-08 15:47:25', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '665984926042165248', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1466', 'unitPrice': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20372.44, 'remark': 'autotest_customer_create_order_remark'}], 'deliveryOrderImg': None, 'payableStatus': None, 'receivableStatus': 30150, 'showStatus': 2, 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'reviewStatus': None, 'customerEnterpriseName': None, 'shouldRepayDate': None}], 'total': 2, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${customer_enquiry_create_order_id}
${response.json()["data"]["records"][0]["orderId"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/buyer/get/order-detail/${customer_enquiry_create_order_id}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/order-detail/665984954622152704
path_url=/trading-center/buyer/get/order-detail/665984954622152704
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/order-detail/665984954622152704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:32 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"665984954622152704","showStatus":2,"status":2,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","receiver":"autotest_receiver","receiverMobile":"13800138000","paymentMethod":2,"supplierPrice":{"supplierId":"553652487819759617","supplierName":"千鸟官方直营","otherExpenses":0.000000,"totalPrice":40893.83,"supplierPricePaperProducts":[{"id":"665984954668290048","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1466","unitFee":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20521.39,"remark":"autotest_remark1","weight":2.9347,"deliveryStatus":30106},{"id":"665984954710233088","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1466","unitFee":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20372.44,"remark":"autotest_remark2","weight":2.9134,"deliveryStatus":30106}],"score":null},"receivableStatus":30150,"deliveryStatus":30106,"reviewStatus":null,"orderStatus":30101,"createTime":"2021-12-08 15:47:32","orderSalesContractImgUrl":null}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984954622152704', 'showStatus': 2, 'status': 2, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'paymentMethod': 2, 'supplierPrice': {'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'otherExpenses': 0.0, 'totalPrice': 40893.83, 'supplierPricePaperProducts': [{'id': '665984954668290048', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1466', 'unitFee': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20521.39, 'remark': 'autotest_remark1', 'weight': 2.9347, 'deliveryStatus': 30106}, {'id': '665984954710233088', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1466', 'unitFee': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20372.44, 'remark': 'autotest_remark2', 'weight': 2.9134, 'deliveryStatus': 30106}], 'score': None}, 'receivableStatus': 30150, 'deliveryStatus': 30106, 'reviewStatus': None, 'orderStatus': 30101, 'createTime': '2021-12-08 15:47:32', 'orderSalesContractImgUrl': None}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to real numbers.
2
${response.json()["data"]["showStatus"]}
Argument types are:
<type 'unicode'>
<class 'int'>
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["supplierPrice"]}
totalPrice
${customer_order_totalPrice}
${customer_order_totalPrice} = 40893.83
Makes a variable available globally in all tests and suites.
${customer_order_totalPrice}
${customer_order_totalPrice} = 40893.83
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/supplier/order-management/page
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier/order-management/page
path_url=/trading-center/get/supplier/order-management/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier/order-management/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:35 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984954622152704","clientContractNo":"QNS202112080004","clientContractNoId":"665984954886393856","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665984836372140032","realPayPrice":40893.83,"totalOfferPrice":40893.83,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-12-08 15:47:32","updateTime":"2021-12-08 15:47:32","inquiryOrder":1,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665984924813234176","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"665984925996027904","clientContractNo":"QNS202112080003","clientContractNoId":"665984926197354496","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665984836372140032","realPayPrice":20372.44,"totalOfferPrice":20372.44,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-12-08 15:47:25","updateTime":"2021-12-08 15:47:25","inquiryOrder":null,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665984924813234176","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"665975532143382528","clientContractNo":"QNS202112080002","clientContractNoId":"665975532478926848","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665975386378735616","realPayPrice":40893.83,"totalOfferPrice":40893.83,"status":30104,"deliveryStatus":30108,"receivableId":null,"receivableStatus":30151,"paymentMethod":2,"supplyContractNo":"QNP202112080001","supplyContractNoId":"665975559536381952","supplyOredrId":"665975559427330048","supplierName":"autotest_supplier_paper_name","supplierRealPayPrice":39702.75,"supplierTotalOfferPrice":39702.75,"reviewStatus":30160,"createTime":"2021-12-08 15:10:06","updateTime":"2021-12-08 15:10:17","inquiryOrder":1,"supplyContractNoList":"QNP202112080001","supplierNameList":"autotest_supplier_paper_name","deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665975497938833408","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"665975499775938560","clientContractNo":"QNS202112080001","clientContractNoId":"665975499994042368","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665975386378735616","realPayPrice":20372.44,"totalOfferPrice":20372.44,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-12-08 15:09:58","updateTime":"2021-12-08 15:09:58","inquiryOrder":null,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665975497938833408","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"665267959622668288","clientContractNo":"QNS202112060011","clientContractNoId":"665267959823994880","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665267815741263872","realPayPrice":40893.83,"totalOfferPrice":40893.83,"status":30104,"deliveryStatus":30108,"receivableId":null,"receivableStatus":30151,"paymentMethod":2,"supplyContractNo":"QNP202112060005","supplyContractNoId":"665267987330240512","supplyOredrId":"665267987275714560","supplierName":"autotest_supplier_paper_name","supplierRealPayPrice":39702.75,"supplierTotalOfferPrice":39702.75,"reviewStatus":30160,"createTime":"2021-12-06 16:18:27","updateTime":"2021-12-06 16:18:38","inquiryOrder":1,"supplyContractNoList":"QNP202112060005","supplierNameList":"autotest_supplier_paper_name","deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665267926017904640","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"665267927884369920","clientContractNo":"QNS202112060010","clientContractNoId":"665267928094085120","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665267815741263872","realPayPrice":20372.44,"totalOfferPrice":20372.44,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-12-06 16:18:20","updateTime":"2021-12-06 16:18:20","inquiryOrder":null,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665267926017904640","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"665261724374536192","clientContractNo":"QNS202112060009","clientContractNoId":"665261724647165952","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665261580983865344","realPayPrice":40893.83,"totalOfferPrice":40893.83,"status":30104,"deliveryStatus":30108,"receivableId":null,"receivableStatus":30151,"paymentMethod":2,"supplyContractNo":"QNP202112060004","supplyContractNoId":"665261751566209024","supplyOredrId":"665261751482322944","supplierName":"autotest_supplier_paper_name","supplierRealPayPrice":29240.5,"supplierTotalOfferPrice":29240.5,"reviewStatus":30160,"createTime":"2021-12-06 15:53:41","updateTime":"2021-12-06 15:53:52","inquiryOrder":1,"supplyContractNoList":"QNP202112060004","supplierNameList":"autotest_supplier_paper_name","deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665261690782355456","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"665261692518797312","clientContractNo":"QNS202112060008","clientContractNoId":"665261692732706816","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665261580983865344","realPayPrice":20372.44,"totalOfferPrice":20372.44,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-12-06 15:53:33","updateTime":"2021-12-06 15:53:33","inquiryOrder":null,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665261690782355456","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"665260304699101184","clientContractNo":"QNS202112060007","clientContractNoId":"665260304975925248","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665260159563599872","realPayPrice":40893.83,"totalOfferPrice":40893.83,"status":30104,"deliveryStatus":30108,"receivableId":null,"receivableStatus":30151,"paymentMethod":2,"supplyContractNo":"QNP202112060003","supplyContractNoId":"665260331966271488","supplyOredrId":"665260331882385408","supplierName":"autotest_supplier_paper_name","supplierRealPayPrice":29240.5,"supplierTotalOfferPrice":29240.5,"reviewStatus":30160,"createTime":"2021-12-06 15:48:02","updateTime":"2021-12-06 15:48:13","inquiryOrder":1,"supplyContractNoList":"QNP202112060003","supplierNameList":"autotest_supplier_paper_name","deliveryAddress":null,"deliveryProvinceId":44000... (set the log level to DEBUG or TRACE to see the full content)
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984954622152704', 'clientContractNo': 'QNS202112080004', 'clientContractNoId': '665984954886393856', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665984836372140032', 'realPayPrice': 40893.83, 'totalOfferPrice': 40893.83, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-12-08 15:47:32', 'updateTime': '2021-12-08 15:47:32', 'inquiryOrder': 1, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665984924813234176', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665984925996027904', 'clientContractNo': 'QNS202112080003', 'clientContractNoId': '665984926197354496', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665984836372140032', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-12-08 15:47:25', 'updateTime': '2021-12-08 15:47:25', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665984924813234176', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665975532143382528', 'clientContractNo': 'QNS202112080002', 'clientContractNoId': '665975532478926848', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665975386378735616', 'realPayPrice': 40893.83, 'totalOfferPrice': 40893.83, 'status': 30104, 'deliveryStatus': 30108, 'receivableId': None, 'receivableStatus': 30151, 'paymentMethod': 2, 'supplyContractNo': 'QNP202112080001', 'supplyContractNoId': '665975559536381952', 'supplyOredrId': '665975559427330048', 'supplierName': 'autotest_supplier_paper_name', 'supplierRealPayPrice': 39702.75, 'supplierTotalOfferPrice': 39702.75, 'reviewStatus': 30160, 'createTime': '2021-12-08 15:10:06', 'updateTime': '2021-12-08 15:10:17', 'inquiryOrder': 1, 'supplyContractNoList': 'QNP202112080001', 'supplierNameList': 'autotest_supplier_paper_name', 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665975497938833408', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665975499775938560', 'clientContractNo': 'QNS202112080001', 'clientContractNoId': '665975499994042368', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665975386378735616', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-12-08 15:09:58', 'updateTime': '2021-12-08 15:09:58', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665975497938833408', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665267959622668288', 'clientContractNo': 'QNS202112060011', 'clientContractNoId': '665267959823994880', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665267815741263872', 'realPayPrice': 40893.83, 'totalOfferPrice': 40893.83, 'status': 30104, 'deliveryStatus': 30108, 'receivableId': None, 'receivableStatus': 30151, 'paymentMethod': 2, 'supplyContractNo': 'QNP202112060005', 'supplyContractNoId': '665267987330240512', 'supplyOredrId': '665267987275714560', 'supplierName': 'autotest_supplier_paper_name', 'supplierRealPayPrice': 39702.75, 'supplierTotalOfferPrice': 39702.75, 'reviewStatus': 30160, 'createTime': '2021-12-06 16:18:27', 'updateTime': '2021-12-06 16:18:38', 'inquiryOrder': 1, 'supplyContractNoList': 'QNP202112060005', 'supplierNameList': 'autotest_supplier_paper_name', 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665267926017904640', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665267927884369920', 'clientContractNo': 'QNS202112060010', 'clientContractNoId': '665267928094085120', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665267815741263872', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-12-06 16:18:20', 'updateTime': '2021-12-06 16:18:20', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665267926017904640', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665261724374536192', 'clientContractNo': 'QNS202112060009', 'clientContractNoId': '665261724647165952', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665261580983865344', 'realPayPrice': 40893.83, 'totalOfferPrice': 40893.83, 'status': 30104, 'deliveryStatus': 30108, 'receivableId': None, 'receivableStatus': 30151, 'paymentMethod': 2, 'supplyContractNo': 'QNP202112060004', 'supplyContractNoId': '665261751566209024', 'supplyOredrId': '665261751482322944', 'supplierName': 'autotest_supplier_paper_name', 'supplierRealPayPrice': 29240.5, 'supplierTotalOfferPrice': 29240.5, 'reviewStatus': 30160, 'createTime': '2021-12-06 15:53:41', 'updateTime': '2021-12-06 15:53:52', 'inquiryOrder': 1, 'supplyContractNoList': 'QNP202112060004', 'supplierNameList': 'autotest_supplier_paper_name', 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665261690782355456', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665261692518797312', 'clientContractNo': 'QNS202112060008', 'clientContractNoId': '665261692732706816', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665261580983865344', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-12-06 15:53:33', 'updateTime': '2021-12-06 15:53:33', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665261690782355456', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665260304699101184', 'clientContractNo': 'QNS202112060007', 'clientContractNoId': '665260304975925248', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665260159563599872', 'realPayPrice': 40893.83, 'totalOfferPrice': 40893.83, 'status': 30104, 'deliveryStatus': 30108, 'receivableId': None, 'receivableStatus': 30151, 'paymentMethod': 2, 'supplyContractNo': 'QNP202112060003', 'supplyContractNoId': '665260331966271488', 'supplyOredrId': '665260331882385408', 'supplierName': 'autotest_supplier_paper_name', 'supplierRealPayPrice': 29240.5, 'supplierTotalOfferPrice': 29240.5, 'reviewStatus': 30160, 'createTime': '2021-12-06 15:48:02', 'updateTime': '2021-12-06 15:48:13', 'inquiryOrder': 1, 'supplyContractNoList': 'QNP202112060003', 'supplierNameList': 'autotest_supplier_paper_name', 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665260269450170368', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '665260271190806528', 'clientContractNo': 'QNS202112060006', 'clientContractNoId': '665260271413104640', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665260159563599872', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-12-06 15:47:54', 'updateTime': '2021-12-06 15:47:54', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665260269450170368', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}], 'total': 1061, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
clientContractNo=${customer_enquiry_create_order_contractNo}
${param}
${param} = clientContractNo=QNS202112080004
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/supplier/order-management/page
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier/order-management/page?clientContractNo=QNS202112080004
path_url=/trading-center/get/supplier/order-management/page?clientContractNo=QNS202112080004
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier/order-management/page?clientContractNo=QNS202112080004
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:38 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984954622152704","clientContractNo":"QNS202112080004","clientContractNoId":"665984954886393856","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"665984836372140032","realPayPrice":40893.83,"totalOfferPrice":40893.83,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-12-08 15:47:32","updateTime":"2021-12-08 15:47:32","inquiryOrder":1,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665984924813234176","receiver":"autotest_receiver","receiverMobile":"13800138000"}],"total":1,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984954622152704', 'clientContractNo': 'QNS202112080004', 'clientContractNoId': '665984954886393856', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '665984836372140032', 'realPayPrice': 40893.83, 'totalOfferPrice': 40893.83, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-12-08 15:47:32', 'updateTime': '2021-12-08 15:47:32', 'inquiryOrder': 1, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665984924813234176', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}], 'total': 1, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to strings.
${customer_enquiry_create_order_id}
${response.json()["data"]["records"][0]["id"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/get/order-item-list/by/${customer_enquiry_create_order_id}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/order-item-list/by/665984954622152704
path_url=/trading-center/get/order-item-list/by/665984954622152704
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/order-item-list/by/665984954622152704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:38 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"id":"665984954668290048","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"665984911987052544","productName":"aotutest_paper_name","gramWeight":678,"length":1000,"width":787,"quantity":2.9347000,"pieceQuantity":5500.00,"salesEnterpriseId":"665984854726414336","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":5000.0000,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":20521.39,"remark":"autotest_remark","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1000\"}]","isCreated":0,"productSkuId":"1466","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106},{"id":"665984954710233088","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"665984911987052544","productName":"aotutest_paper_name","gramWeight":678,"length":1092,"width":787,"quantity":2.9134000,"pieceQuantity":5000.00,"salesEnterpriseId":"665984854726414336","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":5000.0000,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":20372.44,"remark":"autotest_remark","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1092\"}]","isCreated":0,"productSkuId":"1466","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106}]}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': [{'id': '665984954668290048', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'salesEnterpriseId': '665984854726414336', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 5000.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 20521.39, 'remark': 'autotest_remark', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1000"}]', 'isCreated': 0, 'productSkuId': '1466', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}, {'id': '665984954710233088', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'salesEnterpriseId': '665984854726414336', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 5000.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 20372.44, 'remark': 'autotest_remark', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1092"}]', 'isCreated': 0, 'productSkuId': '1466', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}]}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"][0]}
id
${supply_order_item_id1}
${supply_order_item_id1} = 665984954668290048
Makes a variable available globally in all tests and suites.
${supply_order_item_id1}
${supply_order_item_id1} = 665984954668290048
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"][1]}
id
${supply_order_item_id2}
${supply_order_item_id2} = 665984954710233088
Makes a variable available globally in all tests and suites.
${supply_order_item_id2}
${supply_order_item_id2} = 665984954710233088
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"orderItemList":[{"deliveryId":"${customer_enterprise_shipping_address_id}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":${product_price_sku_new},"supplyOrderItemId":"${supply_order_item_id1}"},{"deliveryId":"${customer_enterprise_shipping_address_id}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":${product_price_sku_new},"supplyOrderItemId":"${supply_order_item_id2}"}]}
${body}
${body} = {"orderItemList":[{"deliveryId":"665984924813234176","deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDist...
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/seller/create/supplier-order-batch
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/create/supplier-order-batch
path_url=/trading-center/seller/create/supplier-order-batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '1079'}
body=b'{"orderItemList":[{"deliveryId":"665984924813234176","deliveryProvinceId":440000,"deliveryProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","deliveryCityId":440100,"deliveryCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","deliveryDistrictId":440106,"deliveryDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","deliveryStreetId":440106003,"deliveryStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","receiver":"autotest_receiver","receiverMobile":"13800138000","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":6789,"supplyOrderItemId":"665984954668290048"},{"deliveryId":"665984924813234176","deliveryProvinceId":440000,"deliveryProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","deliveryCityId":440100,"deliveryCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","deliveryDistrictId":440106,"deliveryDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","deliveryStreetId":440106003,"deliveryStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","receiver":"autotest_receiver","receiverMobile":"13800138000","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":6789,"supplyOrderItemId":"665984954710233088"}]}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/create/supplier-order-batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:38 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/get/supplier-order-page
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-page
path_url=/trading-center/wechatapplet/get/supplier-order-page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:39 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"665984980215795712","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":39702.75,"realPayPrice":39702.75,"status":30100,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"otherFee":null,"createTime":"2021-12-08 15:47:38","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"665984980316459008","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1466","unitPrice":6789.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":19923.6783,"remark":"autotest_supplier_order_remark"},{"id":"665984980358402048","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1466","unitPrice":6789.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":19779.0726,"remark":"autotest_supplier_order_remark"}],"deliveryOrderImg":null,"payableStatus":30140,"receivableStatus":null,"showStatus":1,"supplierId":null,"supplierName":null,"reviewStatus":null,"customerEnterpriseName":"autotest_printing_packaging_factory_name","shouldRepayDate":null}],"total":1,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '665984980215795712', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 39702.75, 'realPayPrice': 39702.75, 'status': 30100, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'otherFee': None, 'createTime': '2021-12-08 15:47:38', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '665984980316459008', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1466', 'unitPrice': 6789.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 19923.6783, 'remark': 'autotest_supplier_order_remark'}, {'id': '665984980358402048', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1466', 'unitPrice': 6789.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 19779.0726, 'remark': 'autotest_supplier_order_remark'}], 'deliveryOrderImg': None, 'payableStatus': 30140, 'receivableStatus': None, 'showStatus': 1, 'supplierId': None, 'supplierName': None, 'reviewStatus': None, 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'shouldRepayDate': None}], 'total': 1, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
status=2
${param}
${param} = status=2
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/get/supplier-order-page
params=${param}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-page?status=2
path_url=/trading-center/wechatapplet/get/supplier-order-page?status=2
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-page?status=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:39 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"665984980215795712","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":39702.75,"realPayPrice":39702.75,"status":30100,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"otherFee":null,"createTime":"2021-12-08 15:47:38","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"665984980316459008","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1466","unitPrice":6789.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":19923.6783,"remark":"autotest_supplier_order_remark"},{"id":"665984980358402048","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1466","unitPrice":6789.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":19779.0726,"remark":"autotest_supplier_order_remark"}],"deliveryOrderImg":null,"payableStatus":30140,"receivableStatus":null,"showStatus":1,"supplierId":null,"supplierName":null,"reviewStatus":null,"customerEnterpriseName":"autotest_printing_packaging_factory_name","shouldRepayDate":null}],"total":1,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '665984980215795712', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 39702.75, 'realPayPrice': 39702.75, 'status': 30100, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'otherFee': None, 'createTime': '2021-12-08 15:47:38', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '665984980316459008', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1466', 'unitPrice': 6789.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 19923.6783, 'remark': 'autotest_supplier_order_remark'}, {'id': '665984980358402048', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1466', 'unitPrice': 6789.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 19779.0726, 'remark': 'autotest_supplier_order_remark'}], 'deliveryOrderImg': None, 'payableStatus': 30140, 'receivableStatus': None, 'showStatus': 1, 'supplierId': None, 'supplierName': None, 'reviewStatus': None, 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'shouldRepayDate': None}], 'total': 1, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
orderId
${supplier_order_id}
${supplier_order_id} = 665984980215795712
Makes a variable available globally in all tests and suites.
${supplier_order_id}
${supplier_order_id} = 665984980215795712
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/wechatapplet/get/supplier-order-detail/${supplier_order_id}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-detail/665984980215795712
path_url=/trading-center/wechatapplet/get/supplier-order-detail/665984980215795712
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-detail/665984980215795712
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:39 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"665984980215795712","showStatus":1,"status":1,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","receiver":"autotest_receiver","receiverMobile":"13800138000","paymentMethod":2,"supplierPrice":{"supplierId":"665984836372140032","supplierName":"autotest_printing_packaging_factory_name","otherExpenses":0.000000,"totalPrice":39702.75,"supplierPricePaperProducts":[{"id":"665984980316459008","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1466","unitFee":6789.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":19923.68,"remark":"autotest_supplier_order_remark","weight":2.9347,"deliveryStatus":30106},{"id":"665984980358402048","productId":"665984911987052544","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1466","unitFee":6789.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-12-08T15:47:22","updateTime":"2021-12-08T15:47:22","id":1957,"productId":665984911987052544,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":19779.07,"remark":"autotest_supplier_order_remark","weight":2.9134,"deliveryStatus":30106}],"score":null,"createTime":"2021-12-08 15:47:38"},"receivableStatus":null,"deliveryStatus":30106,"reviewStatus":null,"orderStatus":30100,"payableStatus":30140,"deliveryImgList":null,"isFinishedDeliveryImg":null,"createTime":"2021-12-08 15:47:38","orderSalesContractNo":"QNP202112080002","orderSalesContractImgUrl":null}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '665984980215795712', 'showStatus': 1, 'status': 1, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'paymentMethod': 2, 'supplierPrice': {'supplierId': '665984836372140032', 'supplierName': 'autotest_printing_packaging_factory_name', 'otherExpenses': 0.0, 'totalPrice': 39702.75, 'supplierPricePaperProducts': [{'id': '665984980316459008', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1466', 'unitFee': 6789.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 19923.68, 'remark': 'autotest_supplier_order_remark', 'weight': 2.9347, 'deliveryStatus': 30106}, {'id': '665984980358402048', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1466', 'unitFee': 6789.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-12-08T15:47:22', 'updateTime': '2021-12-08T15:47:22', 'id': 1957, 'productId': 665984911987052544, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 19779.07, 'remark': 'autotest_supplier_order_remark', 'weight': 2.9134, 'deliveryStatus': 30106}], 'score': None, 'createTime': '2021-12-08 15:47:38'}, 'receivableStatus': None, 'deliveryStatus': 30106, 'reviewStatus': None, 'orderStatus': 30100, 'payableStatus': 30140, 'deliveryImgList': None, 'isFinishedDeliveryImg': None, 'createTime': '2021-12-08 15:47:38', 'orderSalesContractNo': 'QNP202112080002', 'orderSalesContractImgUrl': None}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Fails if objects are unequal after converting them to real numbers.
1
${response.json()["data"]["showStatus"]}
Argument types are:
<type 'unicode'>
<class 'int'>
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["supplierPrice"]}
totalPrice
${supplier_order_totalPrice}
${supplier_order_totalPrice} = 39702.75
Makes a variable available globally in all tests and suites.
${supplier_order_totalPrice}
${supplier_order_totalPrice} = 39702.75
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplier_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"orderId":"${supplier_order_id}"}
${body}
${body} = {"orderId":"665984980215795712"}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/seller/confirm/supplier-order-and-sign
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-and-sign
path_url=/trading-center/seller/confirm/supplier-order-and-sign
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tupr8WZIei1F4h9KGSl+Reby9jh/djHoQjzcz0HgZnInxCTPOkXpdzyz3A0vleQsMw==', 'Content-Length': '32'}
body=b'{"orderId":"665984980215795712"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-and-sign
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:39 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/trading-center/seller/get/customer-order-detail/${customer_enquiry_create_order_id}
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/get/customer-order-detail/665984954622152704
path_url=/trading-center/seller/get/customer-order-detail/665984954622152704
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/get/customer-order-detail/665984954622152704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:40 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"customerOrder":{"id":"665984954622152704","contractNo":"QNS202112080004","creatorName":"autotest_name_customer","creatorMobile":"13012345678","createTime":"2021-12-08 15:47:32","orderSalesContractImgUrl":null,"totalOfferPrice":40893.83,"realPayPrice":40893.83,"status":{"value":30101,"desc":"已下单"},"remark":null,"contractType":1,"customerEnterpriseId":"665984836372140032","customerEnterpriseName":"autotest_printing_packaging_factory_name","receiver":"autotest_receiver","receiverMobile":"13800138000","deliveryAddress":"广东省广州市天河区车陂街道autotest_customer_enterprise_shipping_address_detail","paymentMethod":2,"receivableStatus":30150,"orderItemList":[{"id":"665984954668290048","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"665984911987052544","productName":"aotutest_paper_name","gramWeight":678,"length":1000,"width":787,"quantity":2.9347000,"pieceQuantity":5500.00,"salesEnterpriseId":"665984854726414336","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":6992.6700,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":20521.39,"remark":"autotest_remark1","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1000\"}]","isCreated":1,"productSkuId":"1466","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106},{"id":"665984954710233088","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"665984911987052544","productName":"aotutest_paper_name","gramWeight":678,"length":1092,"width":787,"quantity":2.9134000,"pieceQuantity":5000.00,"salesEnterpriseId":"665984854726414336","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":6992.6700,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":20372.44,"remark":"autotest_remark2","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1092\"}]","isCreated":1,"productSkuId":"1466","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106}],"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"665984924813234176","feisuanLoanStatus":null},"supplierOrderList":[{"id":"665984980215795712","contractNo":"QNP202112080002","creatorName":"测试","creatorMobile":"13500003333","createTime":"2021-12-08 15:47:38","orderSalesContractImgUrl":null,"totalOfferPrice":39702.75,"realPayPrice":39702.75,"status":{"value":30101,"desc":"已下单"},"remark":null,"contractType":1,"supplierEnterpriseId":"665984854726414336","supplierEnterpriseName":"autotest_supplier_paper_name","deliveryTarget":null,"deliveryImgUrl":[],"deliveryStatus":30106,"payableStatus":{"value":30140,"desc":"待付款"},"orderItemList":[{"id":"665984980316459008","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"665984911987052544","productName":"aotutest_paper_name","gramWeight":678,"length":1000,"width":787,"quantity":2.9347000,"pieceQuantity":5500.00,"salesEnterpriseId":"665984854726414336","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":6789.0000,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":19923.68,"remark":"autotest_supplier_order_remark","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1000\"}]","isCreated":0,"productSkuId":"1466","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106},{"id":"665984980358402048","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"665984911987052544","productName":"aotutest_paper_name","gramWeight":678,"length":1092,"width":787,"quantity":2.9134000,"pieceQuantity":5000.00,"salesEnterpriseId":"665984854726414336","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":6789.0000,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":19779.07,"remark":"autotest_supplier_order_remark","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1092\"}]","isCreated":0,"productSkuId":"1466","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106}]}]}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'customerOrder': {'id': '665984954622152704', 'contractNo': 'QNS202112080004', 'creatorName': 'autotest_name_customer', 'creatorMobile': '13012345678', 'createTime': '2021-12-08 15:47:32', 'orderSalesContractImgUrl': None, 'totalOfferPrice': 40893.83, 'realPayPrice': 40893.83, 'status': {'value': 30101, 'desc': '已下单'}, 'remark': None, 'contractType': 1, 'customerEnterpriseId': '665984836372140032', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'deliveryAddress': '广东省广州市天河区车陂街道autotest_customer_enterprise_shipping_address_detail', 'paymentMethod': 2, 'receivableStatus': 30150, 'orderItemList': [{'id': '665984954668290048', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'salesEnterpriseId': '665984854726414336', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 6992.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 20521.39, 'remark': 'autotest_remark1', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1000"}]', 'isCreated': 1, 'productSkuId': '1466', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}, {'id': '665984954710233088', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'salesEnterpriseId': '665984854726414336', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 6992.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 20372.44, 'remark': 'autotest_remark2', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1092"}]', 'isCreated': 1, 'productSkuId': '1466', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}], 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '665984924813234176', 'feisuanLoanStatus': None}, 'supplierOrderList': [{'id': '665984980215795712', 'contractNo': 'QNP202112080002', 'creatorName': '测试', 'creatorMobile': '13500003333', 'createTime': '2021-12-08 15:47:38', 'orderSalesContractImgUrl': None, 'totalOfferPrice': 39702.75, 'realPayPrice': 39702.75, 'status': {'value': 30101, 'desc': '已下单'}, 'remark': None, 'contractType': 1, 'supplierEnterpriseId': '665984854726414336', 'supplierEnterpriseName': 'autotest_supplier_paper_name', 'deliveryTarget': None, 'deliveryImgUrl': [], 'deliveryStatus': 30106, 'payableStatus': {'value': 30140, 'desc': '待付款'}, 'orderItemList': [{'id': '665984980316459008', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'salesEnterpriseId': '665984854726414336', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 6789.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 19923.68, 'remark': 'autotest_supplier_order_remark', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1000"}]', 'isCreated': 0, 'productSkuId': '1466', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}, {'id': '665984980358402048', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '665984911987052544', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'salesEnterpriseId': '665984854726414336', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 6789.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 19779.07, 'remark': 'autotest_supplier_order_remark', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1092"}]', 'isCreated': 0, 'productSkuId': '1466', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}]}]}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"orderId":"${supplier_order_id}"}
${body}
${body} = {"orderId":"665984980215795712"}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/seller/confirm/supplier-order-shipping
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-shipping
path_url=/trading-center/seller/confirm/supplier-order-shipping
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '32'}
body=b'{"orderId":"665984980215795712"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-shipping
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:41 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"orderId":"${supplier_order_id}"}
${body}
${body} = {"orderId":"665984980215795712"}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/seller/confirm/supplier-order-receipt
${body.encode("utf-8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-receipt
path_url=/trading-center/seller/confirm/supplier-order-receipt
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '32'}
body=b'{"orderId":"665984980215795712"}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-receipt
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:42 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Pauses the test executed for the given time.
1
Slept 1 second
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/bill-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-list
path_url=/trading-center/admin/get/bill-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"customerEnterpriseId":"663367102580789248","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 10:25:38","status":2},{"customerEnterpriseId":"663435557187227648","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 14:57:38","status":2},{"customerEnterpriseId":"664196488766820352","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 17:21:23","status":2},{"customerEnterpriseId":"665254857938178048","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 15:26:58","status":2},{"customerEnterpriseId":"665261580983865344","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 15:53:41","status":2},{"customerEnterpriseId":"665975386378735616","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 15:10:06","status":2},{"customerEnterpriseId":"663364598187036672","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 10:15:48","status":2},{"customerEnterpriseId":"663367422539075584","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 10:26:53","status":2},{"customerEnterpriseId":"664193949270937600","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 17:11:18","status":2},{"customerEnterpriseId":"665252841203568640","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 15:18:58","status":2}],"total":101,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'customerEnterpriseId': '663367102580789248', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 10:25:38', 'status': 2}, {'customerEnterpriseId': '663435557187227648', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 14:57:38', 'status': 2}, {'customerEnterpriseId': '664196488766820352', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 17:21:23', 'status': 2}, {'customerEnterpriseId': '665254857938178048', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 15:26:58', 'status': 2}, {'customerEnterpriseId': '665261580983865344', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 15:53:41', 'status': 2}, {'customerEnterpriseId': '665975386378735616', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 15:10:06', 'status': 2}, {'customerEnterpriseId': '663364598187036672', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 10:15:48', 'status': 2}, {'customerEnterpriseId': '663367422539075584', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 10:26:53', 'status': 2}, {'customerEnterpriseId': '664193949270937600', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 17:11:18', 'status': 2}, {'customerEnterpriseId': '665252841203568640', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 15:18:58', 'status': 2}], 'total': 101, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
customerEnterpriseName=${printing_packaging_factory_name}
${param}
${param} = customerEnterpriseName=autotest_printing_packaging_factory_name
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/bill-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-list?customerEnterpriseName=autotest_printing_packaging_factory_name
path_url=/trading-center/admin/get/bill-list?customerEnterpriseName=autotest_printing_packaging_factory_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-list?customerEnterpriseName=autotest_printing_packaging_factory_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"customerEnterpriseId":"663367102580789248","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 10:25:38","status":2},{"customerEnterpriseId":"663435557187227648","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 14:57:38","status":2},{"customerEnterpriseId":"664196488766820352","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 17:21:23","status":2},{"customerEnterpriseId":"665254857938178048","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 15:26:58","status":2},{"customerEnterpriseId":"665261580983865344","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 15:53:41","status":2},{"customerEnterpriseId":"665975386378735616","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 15:10:06","status":2},{"customerEnterpriseId":"663364598187036672","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 10:15:48","status":2},{"customerEnterpriseId":"663367422539075584","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 10:26:53","status":2},{"customerEnterpriseId":"664193949270937600","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 17:11:18","status":2},{"customerEnterpriseId":"665252841203568640","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-12","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":40893.83,"receivedAmount":40893.83,"createTime":"2022-01-01 00:00:00","receiveDeadline":"2022-01-31 15:18:58","status":2}],"total":64,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'customerEnterpriseId': '663367102580789248', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 10:25:38', 'status': 2}, {'customerEnterpriseId': '663435557187227648', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 14:57:38', 'status': 2}, {'customerEnterpriseId': '664196488766820352', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 17:21:23', 'status': 2}, {'customerEnterpriseId': '665254857938178048', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 15:26:58', 'status': 2}, {'customerEnterpriseId': '665261580983865344', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 15:53:41', 'status': 2}, {'customerEnterpriseId': '665975386378735616', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 15:10:06', 'status': 2}, {'customerEnterpriseId': '663364598187036672', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 10:15:48', 'status': 2}, {'customerEnterpriseId': '663367422539075584', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 10:26:53', 'status': 2}, {'customerEnterpriseId': '664193949270937600', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 17:11:18', 'status': 2}, {'customerEnterpriseId': '665252841203568640', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-12', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 40893.83, 'receivedAmount': 40893.83, 'createTime': '2022-01-01 00:00:00', 'receiveDeadline': '2022-01-31 15:18:58', 'status': 2}], 'total': 64, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
customerEnterpriseId=${printing_packaging_factory_id}&month=${current_date_month}
${param}
${param} = customerEnterpriseId=665984836372140032&month=2021-12
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/bill-detail
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-detail?customerEnterpriseId=665984836372140032&month=2021-12
path_url=/trading-center/admin/get/bill-detail?customerEnterpriseId=665984836372140032&month=2021-12
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-detail?customerEnterpriseId=665984836372140032&month=2021-12
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"order":{"id":"665984954622152704","receivedTime":"2021-12-08 15:47:42","createTime":"2021-12-08 15:47:32","contractNo":"QNS202112080004","itemNum":2,"realPayPrice":40893.83,"receiveDeadline":"2022-01-31","receivableStatus":30150,"receivableId":"665984955171606528","paymentMethod":2},"orderItemList":[{"id":"665984954668290048","productName":"aotutest_paper_name","size":"787*1000","weight":678,"pieceQuantity":5500.00,"quantity":2.9347,"offerPrice":20521.3900},{"id":"665984954710233088","productName":"aotutest_paper_name","size":"787*1092","weight":678,"pieceQuantity":5000.00,"quantity":2.9134,"offerPrice":20372.4400}]},{"order":{"id":"665984925996027904","receivedTime":null,"createTime":"2021-12-08 15:47:25","contractNo":"QNS202112080003","itemNum":1,"realPayPrice":20372.44,"receiveDeadline":"2022-01-31","receivableStatus":30150,"receivableId":"665984926469984256","paymentMethod":2},"orderItemList":[{"id":"665984926042165248","productName":"aotutest_paper_name","size":"787*1092","weight":678,"pieceQuantity":5000.00,"quantity":2.9134,"offerPrice":20372.4400}]}]}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': [{'order': {'id': '665984954622152704', 'receivedTime': '2021-12-08 15:47:42', 'createTime': '2021-12-08 15:47:32', 'contractNo': 'QNS202112080004', 'itemNum': 2, 'realPayPrice': 40893.83, 'receiveDeadline': '2022-01-31', 'receivableStatus': 30150, 'receivableId': '665984955171606528', 'paymentMethod': 2}, 'orderItemList': [{'id': '665984954668290048', 'productName': 'aotutest_paper_name', 'size': '787*1000', 'weight': 678, 'pieceQuantity': 5500.0, 'quantity': 2.9347, 'offerPrice': 20521.39}, {'id': '665984954710233088', 'productName': 'aotutest_paper_name', 'size': '787*1092', 'weight': 678, 'pieceQuantity': 5000.0, 'quantity': 2.9134, 'offerPrice': 20372.44}]}, {'order': {'id': '665984925996027904', 'receivedTime': None, 'createTime': '2021-12-08 15:47:25', 'contractNo': 'QNS202112080003', 'itemNum': 1, 'realPayPrice': 20372.44, 'receiveDeadline': '2022-01-31', 'receivableStatus': 30150, 'receivableId': '665984926469984256', 'paymentMethod': 2}, 'orderItemList': [{'id': '665984926042165248', 'productName': 'aotutest_paper_name', 'size': '787*1092', 'weight': 678, 'pieceQuantity': 5000.0, 'quantity': 2.9134, 'offerPrice': 20372.44}]}]}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/payable-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/payable-list
path_url=/trading-center/admin/get/payable-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/payable-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984980672974848","tradeOrderId":"665984980215795712","enterpriseId":"665984859935739904","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":39702.75,"amount":39702.75,"realAmount":null,"fundProvider":null,"status":30140,"tradeOrderCreateTime":"2021-12-08 15:47:38","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null},{"id":"665975560001949696","tradeOrderId":"665975559427330048","enterpriseId":"665975415596257280","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":39702.75,"amount":39702.75,"realAmount":39702.75,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-08 15:10:12","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-08 15:10:19","remark":"autotest_remark"},{"id":"665267987636424704","tradeOrderId":"665267987275714560","enterpriseId":"665267845311107072","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":39702.75,"amount":39702.75,"realAmount":39702.75,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 16:18:34","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 16:18:40","remark":"autotest_remark"},{"id":"665261751960473600","tradeOrderId":"665261751482322944","enterpriseId":"665261609773568000","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 15:53:47","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:53:53","remark":"autotest_remark"},{"id":"665260332318593024","tradeOrderId":"665260331882385408","enterpriseId":"665260188105838592","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 15:48:09","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:48:15","remark":"autotest_remark"},{"id":"665255030638645248","tradeOrderId":"665255030286323712","enterpriseId":"665254886434279424","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 15:27:05","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:27:11","remark":"autotest_remark"},{"id":"665253015200075776","tradeOrderId":"665253014692564992","enterpriseId":"665252870236540928","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 15:19:04","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:19:10","remark":"autotest_remark"},{"id":"664196661693779968","tradeOrderId":"664196661140131840","enterpriseId":"664196516981903360","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-03 17:21:30","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-03 17:21:36","remark":"autotest_remark"},{"id":"663435706349260800","tradeOrderId":"663435705481039872","enterpriseId":"663435582516629504","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-01 14:57:44","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-01 14:57:50","remark":"autotest_remark"},{"id":"663367569985638400","tradeOrderId":"663367569587179520","enterpriseId":"663367447751036928","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-01 10:26:59","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-01 10:27:04","remark":"autotest_remark"}],"total":492,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984980672974848', 'tradeOrderId': '665984980215795712', 'enterpriseId': '665984859935739904', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 39702.75, 'amount': 39702.75, 'realAmount': None, 'fundProvider': None, 'status': 30140, 'tradeOrderCreateTime': '2021-12-08 15:47:38', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None}, {'id': '665975560001949696', 'tradeOrderId': '665975559427330048', 'enterpriseId': '665975415596257280', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 39702.75, 'amount': 39702.75, 'realAmount': 39702.75, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-08 15:10:12', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-08 15:10:19', 'remark': 'autotest_remark'}, {'id': '665267987636424704', 'tradeOrderId': '665267987275714560', 'enterpriseId': '665267845311107072', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 39702.75, 'amount': 39702.75, 'realAmount': 39702.75, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 16:18:34', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 16:18:40', 'remark': 'autotest_remark'}, {'id': '665261751960473600', 'tradeOrderId': '665261751482322944', 'enterpriseId': '665261609773568000', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 15:53:47', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:53:53', 'remark': 'autotest_remark'}, {'id': '665260332318593024', 'tradeOrderId': '665260331882385408', 'enterpriseId': '665260188105838592', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 15:48:09', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:48:15', 'remark': 'autotest_remark'}, {'id': '665255030638645248', 'tradeOrderId': '665255030286323712', 'enterpriseId': '665254886434279424', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 15:27:05', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:27:11', 'remark': 'autotest_remark'}, {'id': '665253015200075776', 'tradeOrderId': '665253014692564992', 'enterpriseId': '665252870236540928', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 15:19:04', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:19:10', 'remark': 'autotest_remark'}, {'id': '664196661693779968', 'tradeOrderId': '664196661140131840', 'enterpriseId': '664196516981903360', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-03 17:21:30', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-03 17:21:36', 'remark': 'autotest_remark'}, {'id': '663435706349260800', 'tradeOrderId': '663435705481039872', 'enterpriseId': '663435582516629504', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-01 14:57:44', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-01 14:57:50', 'remark': 'autotest_remark'}, {'id': '663367569985638400', 'tradeOrderId': '663367569587179520', 'enterpriseId': '663367447751036928', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-01 10:26:59', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-01 10:27:04', 'remark': 'autotest_remark'}], 'total': 492, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
enterpriseName=${supplier_paper_name}
${param}
${param} = enterpriseName=autotest_supplier_paper_name
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/payable-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/payable-list?enterpriseName=autotest_supplier_paper_name
path_url=/trading-center/admin/get/payable-list?enterpriseName=autotest_supplier_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/payable-list?enterpriseName=autotest_supplier_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984980672974848","tradeOrderId":"665984980215795712","enterpriseId":"665984859935739904","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":39702.75,"amount":39702.75,"realAmount":null,"fundProvider":null,"status":30140,"tradeOrderCreateTime":"2021-12-08 15:47:38","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null},{"id":"665975560001949696","tradeOrderId":"665975559427330048","enterpriseId":"665975415596257280","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":39702.75,"amount":39702.75,"realAmount":39702.75,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-08 15:10:12","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-08 15:10:19","remark":"autotest_remark"},{"id":"665267987636424704","tradeOrderId":"665267987275714560","enterpriseId":"665267845311107072","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":39702.75,"amount":39702.75,"realAmount":39702.75,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 16:18:34","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 16:18:40","remark":"autotest_remark"},{"id":"665261751960473600","tradeOrderId":"665261751482322944","enterpriseId":"665261609773568000","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 15:53:47","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:53:53","remark":"autotest_remark"},{"id":"665260332318593024","tradeOrderId":"665260331882385408","enterpriseId":"665260188105838592","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 15:48:09","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:48:15","remark":"autotest_remark"},{"id":"665255030638645248","tradeOrderId":"665255030286323712","enterpriseId":"665254886434279424","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 15:27:05","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:27:11","remark":"autotest_remark"},{"id":"665253015200075776","tradeOrderId":"665253014692564992","enterpriseId":"665252870236540928","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-06 15:19:04","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:19:10","remark":"autotest_remark"},{"id":"664196661693779968","tradeOrderId":"664196661140131840","enterpriseId":"664196516981903360","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-03 17:21:30","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-03 17:21:36","remark":"autotest_remark"},{"id":"663435706349260800","tradeOrderId":"663435705481039872","enterpriseId":"663435582516629504","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-01 14:57:44","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-01 14:57:50","remark":"autotest_remark"},{"id":"663367569985638400","tradeOrderId":"663367569587179520","enterpriseId":"663367447751036928","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-12-01 10:26:59","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-01 10:27:04","remark":"autotest_remark"}],"total":80,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984980672974848', 'tradeOrderId': '665984980215795712', 'enterpriseId': '665984859935739904', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 39702.75, 'amount': 39702.75, 'realAmount': None, 'fundProvider': None, 'status': 30140, 'tradeOrderCreateTime': '2021-12-08 15:47:38', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None}, {'id': '665975560001949696', 'tradeOrderId': '665975559427330048', 'enterpriseId': '665975415596257280', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 39702.75, 'amount': 39702.75, 'realAmount': 39702.75, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-08 15:10:12', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-08 15:10:19', 'remark': 'autotest_remark'}, {'id': '665267987636424704', 'tradeOrderId': '665267987275714560', 'enterpriseId': '665267845311107072', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 39702.75, 'amount': 39702.75, 'realAmount': 39702.75, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 16:18:34', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 16:18:40', 'remark': 'autotest_remark'}, {'id': '665261751960473600', 'tradeOrderId': '665261751482322944', 'enterpriseId': '665261609773568000', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 15:53:47', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:53:53', 'remark': 'autotest_remark'}, {'id': '665260332318593024', 'tradeOrderId': '665260331882385408', 'enterpriseId': '665260188105838592', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 15:48:09', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:48:15', 'remark': 'autotest_remark'}, {'id': '665255030638645248', 'tradeOrderId': '665255030286323712', 'enterpriseId': '665254886434279424', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 15:27:05', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:27:11', 'remark': 'autotest_remark'}, {'id': '665253015200075776', 'tradeOrderId': '665253014692564992', 'enterpriseId': '665252870236540928', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-06 15:19:04', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:19:10', 'remark': 'autotest_remark'}, {'id': '664196661693779968', 'tradeOrderId': '664196661140131840', 'enterpriseId': '664196516981903360', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-03 17:21:30', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-03 17:21:36', 'remark': 'autotest_remark'}, {'id': '663435706349260800', 'tradeOrderId': '663435705481039872', 'enterpriseId': '663435582516629504', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-01 14:57:44', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-01 14:57:50', 'remark': 'autotest_remark'}, {'id': '663367569985638400', 'tradeOrderId': '663367569587179520', 'enterpriseId': '663367447751036928', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-12-01 10:26:59', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-01 10:27:04', 'remark': 'autotest_remark'}], 'total': 80, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${payable_id}
${payable_id} = 665984980672974848
Makes a variable available everywhere within the scope of the current suite.
${payable_id}
${payable_id} = 665984980672974848
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"fundProvider":${payable_fundProvider},"id":"${payable_id}","realAmount":${supplier_order_totalPrice},"remark":"${payable_remark}"}
${bady}
${bady} = {"fundProvider":1,"id":"665984980672974848","realAmount":39702.75,"remark":"autotest_remark"}
Sends a POST request on a previously created HTTP Session.
yytops
/trading-center/admin/confirm/payable
${bady}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/confirm/payable
path_url=/trading-center/admin/confirm/payable
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'Content-Length': '93'}
body={"fundProvider":1,"id":"665984980672974848","realAmount":39702.75,"remark":"autotest_remark"}
POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/confirm/payable
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/receivable-list
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/receivable-list
path_url=/trading-center/admin/get/receivable-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/receivable-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984955171606528","tradeOrderId":"665984954622152704","enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-08 15:47:32","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665984926469984256","tradeOrderId":"665984925996027904","enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-08 15:47:25","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665975532743168000","tradeOrderId":"665975532143382528","enterpriseId":"665975386378735616","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":40893.83,"status":30151,"tradeOrderCreateTime":"2021-12-08 15:10:06","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-08 15:10:19","remark":"autotest_remark","paymentMethod":2},{"id":"665975500237312000","tradeOrderId":"665975499775938560","enterpriseId":"665975386378735616","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-08 15:09:58","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665267960054681600","tradeOrderId":"665267959622668288","enterpriseId":"665267815741263872","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":40893.83,"status":30151,"tradeOrderCreateTime":"2021-12-06 16:18:27","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 16:18:40","remark":"autotest_remark","paymentMethod":2},{"id":"665267928345743360","tradeOrderId":"665267927884369920","enterpriseId":"665267815741263872","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-06 16:18:20","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665261724919795712","tradeOrderId":"665261724374536192","enterpriseId":"665261580983865344","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":40893.83,"status":30151,"tradeOrderCreateTime":"2021-12-06 15:53:41","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:53:54","remark":"autotest_remark","paymentMethod":2},{"id":"665261693001142272","tradeOrderId":"665261692518797312","enterpriseId":"665261580983865344","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-06 15:53:33","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665260305194029056","tradeOrderId":"665260304699101184","enterpriseId":"665260159563599872","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":40893.83,"status":30151,"tradeOrderCreateTime":"2021-12-06 15:48:02","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:48:15","remark":"autotest_remark","paymentMethod":2},{"id":"665260271660568576","tradeOrderId":"665260271190806528","enterpriseId":"665260159563599872","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-06 15:47:54","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2}],"total":965,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.status_code}
200
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984955171606528', 'tradeOrderId': '665984954622152704', 'enterpriseId': '665984836372140032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-08 15:47:32', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665984926469984256', 'tradeOrderId': '665984925996027904', 'enterpriseId': '665984836372140032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-08 15:47:25', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665975532743168000', 'tradeOrderId': '665975532143382528', 'enterpriseId': '665975386378735616', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': 40893.83, 'status': 30151, 'tradeOrderCreateTime': '2021-12-08 15:10:06', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-08 15:10:19', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '665975500237312000', 'tradeOrderId': '665975499775938560', 'enterpriseId': '665975386378735616', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-08 15:09:58', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665267960054681600', 'tradeOrderId': '665267959622668288', 'enterpriseId': '665267815741263872', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': 40893.83, 'status': 30151, 'tradeOrderCreateTime': '2021-12-06 16:18:27', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 16:18:40', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '665267928345743360', 'tradeOrderId': '665267927884369920', 'enterpriseId': '665267815741263872', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-06 16:18:20', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665261724919795712', 'tradeOrderId': '665261724374536192', 'enterpriseId': '665261580983865344', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': 40893.83, 'status': 30151, 'tradeOrderCreateTime': '2021-12-06 15:53:41', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:53:54', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '665261693001142272', 'tradeOrderId': '665261692518797312', 'enterpriseId': '665261580983865344', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-06 15:53:33', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665260305194029056', 'tradeOrderId': '665260304699101184', 'enterpriseId': '665260159563599872', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': 40893.83, 'status': 30151, 'tradeOrderCreateTime': '2021-12-06 15:48:02', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:48:15', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '665260271660568576', 'tradeOrderId': '665260271190806528', 'enterpriseId': '665260159563599872', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-06 15:47:54', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}], 'total': 965, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
enterpriseName=${printing_packaging_factory_name}
${param}
${param} = enterpriseName=autotest_printing_packaging_factory_name
Sends a GET request on a previously created HTTP Session.
yytops
/trading-center/admin/get/receivable-list
params=${param}
${response}
GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/receivable-list?enterpriseName=autotest_printing_packaging_factory_name
path_url=/trading-center/admin/get/receivable-list?enterpriseName=autotest_printing_packaging_factory_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/receivable-list?enterpriseName=autotest_printing_packaging_factory_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"665984955171606528","tradeOrderId":"665984954622152704","enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-08 15:47:32","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665984926469984256","tradeOrderId":"665984925996027904","enterpriseId":"665984836372140032","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-08 15:47:25","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665975532743168000","tradeOrderId":"665975532143382528","enterpriseId":"665975386378735616","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":40893.83,"status":30151,"tradeOrderCreateTime":"2021-12-08 15:10:06","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-08 15:10:19","remark":"autotest_remark","paymentMethod":2},{"id":"665975500237312000","tradeOrderId":"665975499775938560","enterpriseId":"665975386378735616","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-08 15:09:58","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665267960054681600","tradeOrderId":"665267959622668288","enterpriseId":"665267815741263872","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":40893.83,"status":30151,"tradeOrderCreateTime":"2021-12-06 16:18:27","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 16:18:40","remark":"autotest_remark","paymentMethod":2},{"id":"665267928345743360","tradeOrderId":"665267927884369920","enterpriseId":"665267815741263872","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-06 16:18:20","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665261724919795712","tradeOrderId":"665261724374536192","enterpriseId":"665261580983865344","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":40893.83,"status":30151,"tradeOrderCreateTime":"2021-12-06 15:53:41","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:53:54","remark":"autotest_remark","paymentMethod":2},{"id":"665261693001142272","tradeOrderId":"665261692518797312","enterpriseId":"665261580983865344","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-06 15:53:33","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"665260305194029056","tradeOrderId":"665260304699101184","enterpriseId":"665260159563599872","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":40893.83,"amount":40893.83,"realAmount":40893.83,"status":30151,"tradeOrderCreateTime":"2021-12-06 15:48:02","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-12-06 15:48:15","remark":"autotest_remark","paymentMethod":2},{"id":"665260271660568576","tradeOrderId":"665260271190806528","enterpriseId":"665260159563599872","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-12-06 15:47:54","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2}],"total":155,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.status_code}
200
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '665984955171606528', 'tradeOrderId': '665984954622152704', 'enterpriseId': '665984836372140032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-08 15:47:32', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665984926469984256', 'tradeOrderId': '665984925996027904', 'enterpriseId': '665984836372140032', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-08 15:47:25', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665975532743168000', 'tradeOrderId': '665975532143382528', 'enterpriseId': '665975386378735616', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': 40893.83, 'status': 30151, 'tradeOrderCreateTime': '2021-12-08 15:10:06', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-08 15:10:19', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '665975500237312000', 'tradeOrderId': '665975499775938560', 'enterpriseId': '665975386378735616', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-08 15:09:58', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665267960054681600', 'tradeOrderId': '665267959622668288', 'enterpriseId': '665267815741263872', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': 40893.83, 'status': 30151, 'tradeOrderCreateTime': '2021-12-06 16:18:27', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 16:18:40', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '665267928345743360', 'tradeOrderId': '665267927884369920', 'enterpriseId': '665267815741263872', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-06 16:18:20', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665261724919795712', 'tradeOrderId': '665261724374536192', 'enterpriseId': '665261580983865344', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': 40893.83, 'status': 30151, 'tradeOrderCreateTime': '2021-12-06 15:53:41', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:53:54', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '665261693001142272', 'tradeOrderId': '665261692518797312', 'enterpriseId': '665261580983865344', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-06 15:53:33', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '665260305194029056', 'tradeOrderId': '665260304699101184', 'enterpriseId': '665260159563599872', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 40893.83, 'amount': 40893.83, 'realAmount': 40893.83, 'status': 30151, 'tradeOrderCreateTime': '2021-12-06 15:48:02', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-12-06 15:48:15', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '665260271660568576', 'tradeOrderId': '665260271190806528', 'enterpriseId': '665260159563599872', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-12-06 15:47:54', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}], 'total': 155, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${response.json()["data"]["records"][0]}
id
${receivable_id}
${receivable_id} = 665984955171606528
Makes a variable available everywhere within the scope of the current suite.
${receivable_id}
${receivable_id} = 665984955171606528
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytops
${yytops}
headers=${operationpsc_header}
Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"id":"${receivable_id}","realAmount":${customer_order_totalPrice},"remark":"${receivable_remark}"}
${bady}
${bady} = {"id":"665984955171606528","realAmount":40893.83,"remark":"autotest_remark"}
Sends a POST request on a previously created HTTP Session.
yytops
/trading-center/admin/confirm/receivable
${bady}
${response}
POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/confirm/receivable
path_url=/trading-center/admin/confirm/receivable
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'Content-Length': '76'}
body={"id":"665984955171606528","realAmount":40893.83,"remark":"autotest_remark"}
POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/confirm/receivable
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/capacity-market/get/capacity-commodity-page
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/capacity-market/get/capacity-commodity-page
path_url=/capacity-market/get/capacity-commodity-page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/capacity-market/get/capacity-commodity-page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"651103281514418176","type":0,"machineName":"123","machineId":"651103280591671296","enterpriseId":"646080654693502976","enterpriseName":"测试统计的","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"江西省","cityId":360400,"cityName":"九江市","districtId":360421,"districtName":"九江县","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635401568770.png","monthlySales":null},{"id":"651053132046012416","type":0,"machineName":"23x","machineId":"651053131752411136","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651053070867894272","type":0,"machineName":"23x","machineId":"651053070175834112","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651052909039063040","type":0,"machineName":"23x","machineId":"651052908422500352","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651052766730522624","type":0,"machineName":"23x","machineId":"651052766109765632","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651050816056201216","type":0,"machineName":"23x","machineId":"651050815498358784","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651030997437124608","type":0,"machineName":"23x","machineId":"651030994173956096","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635384346518.jpg","monthlySales":null},{"id":"650785075847368704","type":0,"machineName":"bb","machineId":"650785075142725632","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":111.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635325706028.jpg","monthlySales":null},{"id":"646055053110677504","type":0,"machineName":"wf","machineId":"646055052301176832","enterpriseId":"646054247112249344","enterpriseName":"古典风格儿发个","unitPrice":1203.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440104,"districtName":"越秀区","streetId":null,"streetName":null,"commodityPresentation":"","imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634197977456.jpg","monthlySales":null},{"id":"646049165511626752","type":0,"machineName":"213","machineId":"646049165004115968","enterpriseId":"646048787038605312","enterpriseName":"123345345","unitPrice":230.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":null,"streetName":null,"commodityPresentation":"c","imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634196563596.jpg","monthlySales":null}],"total":34,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '651103281514418176', 'type': 0, 'machineName': '123', 'machineId': '651103280591671296', 'enterpriseId': '646080654693502976', 'enterpriseName': '测试统计的', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '江西省', 'cityId': 360400, 'cityName': '九江市', 'districtId': 360421, 'districtName': '九江县', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635401568770.png', 'monthlySales': None}, {'id': '651053132046012416', 'type': 0, 'machineName': '23x', 'machineId': '651053131752411136', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651053070867894272', 'type': 0, 'machineName': '23x', 'machineId': '651053070175834112', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651052909039063040', 'type': 0, 'machineName': '23x', 'machineId': '651052908422500352', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651052766730522624', 'type': 0, 'machineName': '23x', 'machineId': '651052766109765632', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651050816056201216', 'type': 0, 'machineName': '23x', 'machineId': '651050815498358784', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651030997437124608', 'type': 0, 'machineName': '23x', 'machineId': '651030994173956096', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635384346518.jpg', 'monthlySales': None}, {'id': '650785075847368704', 'type': 0, 'machineName': 'bb', 'machineId': '650785075142725632', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 111.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635325706028.jpg', 'monthlySales': None}, {'id': '646055053110677504', 'type': 0, 'machineName': 'wf', 'machineId': '646055052301176832', 'enterpriseId': '646054247112249344', 'enterpriseName': '古典风格儿发个', 'unitPrice': 1203.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440104, 'districtName': '越秀区', 'streetId': None, 'streetName': None, 'commodityPresentation': '', 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634197977456.jpg', 'monthlySales': None}, {'id': '646049165511626752', 'type': 0, 'machineName': '213', 'machineId': '646049165004115968', 'enterpriseId': '646048787038605312', 'enterpriseName': '123345345', 'unitPrice': 230.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': None, 'streetName': None, 'commodityPresentation': 'c', 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634196563596.jpg', 'monthlySales': None}], 'total': 34, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
yytclient
/capacity-market/get/my-machines-list
${response}
GET Request : url=https://api-client-yyt-test.qniao.cn/capacity-market/get/my-machines-list
path_url=/capacity-market/get/my-machines-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}
body=None
GET Response : url=https://api-client-yyt-test.qniao.cn/capacity-market/get/my-machines-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1}}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1}}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_account set is_delete = 1 where tid = "${account_customer}"
Executing : Execute SQL String | update qn_account set is_delete = 1 where tid = "13012345678"
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_member set is_delete = 1 where user_id = ${userid_customer}
Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where user_id = 665984809100775424
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_user set is_delete = 1 where id = ${userid_customer}
Executing : Execute SQL String | update qn_user set is_delete = 1 where id = 665984809100775424
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_customer_clue set is_delete = 1 where mobile = "${account_customer}"
Executing : Execute SQL String | update qn_customer_clue set is_delete = 1 where mobile = "13012345678"
Disconnects from the database.
Executing : Disconnect From Database
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_account set is_delete = 1 where tid = "${account_supplier}"
Executing : Execute SQL String | update qn_account set is_delete = 1 where tid = "13123456789"
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_member set is_delete = 1 where user_id = ${userid_supplier}
Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where user_id = 665984812997283840
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_user set is_delete = 1 where id = ${userid_supplier}
Executing : Execute SQL String | update qn_user set is_delete = 1 where id = 665984812997283840
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_customer_clue set is_delete = 1 where mobile = "${account_supplier}"
Executing : Execute SQL String | update qn_customer_clue set is_delete = 1 where mobile = "13123456789"
Disconnects from the database.
Executing : Disconnect From Database
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise set is_delete = 1 where id = ${printing_packaging_factory_id}
Executing : Execute SQL String | update qn_enterprise set is_delete = 1 where id = 665984836372140032
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_member set is_delete = 1 where enterprise_id = ${printing_packaging_factory_id}
Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where enterprise_id = 665984836372140032
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_account set is_delete = 1 where tid = "${printing_packaging_factory_administrator_mobile}"
Executing : Execute SQL String | update qn_account set is_delete = 1 where tid = "13012345678"
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
select user_id from qn_account where tid = "${printing_packaging_factory_administrator_mobile}"
${query}
Executing : Query | select user_id from qn_account where tid = "13012345678"
${query} = ((638791785509949440,), (643897036307042304,), (658004216463364096,), (658010051834941440,), (658011520717950976,), (658032773151461376,), (658033437671821312,), (658034826523316224,), (65803669973303...
Returns the value specified with an ``index`` from ``list``.
${query}
0
${query_list}
${query_list} = (638791785509949440,)
Returns the value specified with an ``index`` from ``list``.
${query_list}
0
${userid}
${userid} = 638791785509949440
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_member set is_delete = 1 where user_id = ${userid}
Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where user_id = 638791785509949440
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_user set is_delete = 1 where id = ${userid}
Executing : Execute SQL String | update qn_user set is_delete = 1 where id = 638791785509949440
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise set is_delete = 1 where id = ${printing_packaging_factory_id}
Executing : Execute SQL String | update qn_enterprise set is_delete = 1 where id = 665984836372140032
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_profile set is_delete = 1 where enterprise_id = ${printing_packaging_factory_id}
Executing : Execute SQL String | update qn_enterprise_profile set is_delete = 1 where enterprise_id = 665984836372140032
Disconnects from the database.
Executing : Disconnect From Database
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise set is_delete = 1 where id = ${supplier_enterprise_id}
Executing : Execute SQL String | update qn_enterprise set is_delete = 1 where id = 665984859935739904
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_member set is_delete = 1 where enterprise_id = ${supplier_enterprise_id}
Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where enterprise_id = 665984859935739904
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_account set is_delete = 1 where tid = "${supplier_enterprise_administrator_mobile}"
Executing : Execute SQL String | update qn_account set is_delete = 1 where tid = "13123456789"
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
select user_id from qn_account where tid = "${supplier_enterprise_administrator_mobile}"
${query}
Executing : Query | select user_id from qn_account where tid = "13123456789"
${query} = ((638817785325162496,), (644262109592555520,), (648578587942850560,), (648579404062134272,), (648582117185425408,), (648585580279631872,), (648585871884423168,), (648586171357728768,), (64858799660558...
Returns the value specified with an ``index`` from ``list``.
${query}
0
${query_list}
${query_list} = (638817785325162496,)
Returns the value specified with an ``index`` from ``list``.
${query_list}
0
${userid}
${userid} = 638817785325162496
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_member set is_delete = 1 where user_id = ${userid}
Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where user_id = 638817785325162496
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_user set is_delete = 1 where id = ${userid}
Executing : Execute SQL String | update qn_user set is_delete = 1 where id = 638817785325162496
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise set is_delete = 1 where id = ${supplier_enterprise_id}
Executing : Execute SQL String | update qn_enterprise set is_delete = 1 where id = 665984859935739904
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_profile set is_delete = 1 where enterprise_id = ${supplier_enterprise_id}
Executing : Execute SQL String | update qn_enterprise_profile set is_delete = 1 where enterprise_id = 665984859935739904
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_mall_supplier set is_delete = 1 where enterprise_id = ${supplier_enterprise_id}
Executing : Execute SQL String | update qn_mall_supplier set is_delete = 1 where enterprise_id = 665984859935739904
Disconnects from the database.
Executing : Disconnect From Database
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_credit_application set is_delete = 1 where enterprise_id = ${printing_packaging_factory_id}
Executing : Execute SQL String | update qn_enterprise_credit_application set is_delete = 1 where enterprise_id = 665984836372140032
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_enterprise_credit_order set is_delete = 1 where enterprise_id = ${printing_packaging_factory_id}
Executing : Execute SQL String | update qn_enterprise_credit_order set is_delete = 1 where enterprise_id = 665984836372140032
Disconnects from the database.
Executing : Disconnect From Database
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
30112
${product_status}
${product_status} = 30112
Returns the given values which can then be assigned to a variables.
{"status":${product_status},"idList":[${product_id},${product_id1}]}
${body}
${body} = {"status":30112,"idList":[665984911987052544,658301546412511232]}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/update/product-status/batch
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/update/product-status/batch
path_url=/trading-center/update/product-status/batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '65'}
body=b'{"status":30112,"idList":[665984911987052544,658301546412511232]}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/update/product-status/batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:44 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"ids":["${product_id}"]}
${body}
${body} = {"ids":["665984911987052544"]}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/delete/product-list
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/product-list
path_url=/trading-center/delete/product-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '30'}
body=b'{"ids":["665984911987052544"]}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/product-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:44 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
pymysql
database='trading_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='trading_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'))
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
update qn_category set is_delete = 1 where id = ${paper_category_id} and name = "${paper_category_name}"
Executing : Execute SQL String | update qn_category set is_delete = 1 where id = 665984904491831296 and name = "autotest_paper_category_name"
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
select is_delete from qn_category where id = ${paper_category_id} and name = "${paper_category_name}"
Executing : Query | select is_delete from qn_category where id = 665984904491831296 and name = "autotest_paper_category_name"
Disconnects from the database.
Executing : Disconnect From Database
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"idList":["${paper_manufacturer_id}"]}
${body}
${body} = {"idList":["665984905565573120"]}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/delete/paper-manfucturers/by/ids
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/paper-manfucturers/by/ids
path_url=/trading-center/delete/paper-manfucturers/by/ids
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '33'}
body=b'{"idList":["665984905565573120"]}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/paper-manfucturers/by/ids
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:44 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
yytclient
${yytclient}
headers=${cloudfactory_supplierfocus_header}
Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"idList":["${paper_brand_id}"]}
${body}
${body} = {"idList":["665984898884046848"]}
Sends a POST request on a previously created HTTP Session.
yytclient
/trading-center/delete/category-brands/by/ids
${body.encode("utf8")}
${response}
POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/category-brands/by/ids
path_url=/trading-center/delete/category-brands/by/ids
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlwzx1KeZyH8lq3frCBMtIeCrKX9lrQTROyGrcTCmFjvpA==', 'Content-Length': '33'}
body=b'{"idList":["665984898884046848"]}'
POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/category-brands/by/ids
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:44 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Fails if objects are unequal after converting them to strings.
successful
${response.json()["message"]}
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
uecclient
${uecclient}
headers=${cloudfactory_customer_header}
Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a DELETE request on a previously created HTTP Session.
uecclient
/uec/delete/enterprise-shipping-address/${customer_enterprise_shipping_address_id}
${response}
DELETE Request : url=https://api-client-uec-test.qniao.cn/uec/delete/enterprise-shipping-address/665984924813234176
path_url=/uec/delete/enterprise-shipping-address/665984924813234176
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tv28O3xdrTxkoIaVV+EZBOd2wkADrzXDcnhvU6Irvj2L9K7JkarWB7c0atDxvV58tA==', 'Content-Length': '0'}
body=None
DELETE Response : url=https://api-client-uec-test.qniao.cn/uec/delete/enterprise-shipping-address/665984924813234176
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 07:47:44 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
${response} = <Response [200]>
Logs the given message with the given level.
${response.json()}
{'code': 0, 'message': 'successful', 'data': None}
Fails if objects are unequal after converting them to real numbers.
200
${response.status_code}
Argument types are:
<type 'unicode'>
<class 'int'>
Critical Tests
All Tests
Yyt-Trading-Rf-Api
Yyt-Trading-Rf-Api.000 Get Base Datas
Yyt-Trading-Rf-Api.000 Get Base Datas.Get Base Datas
Yyt-Trading-Rf-Api.001 Login Get Info
Yyt-Trading-Rf-Api.001 Login Get Info.Login Customer
Yyt-Trading-Rf-Api.001 Login Get Info.Login Operate
Yyt-Trading-Rf-Api.001 Login Get Info.Login Operate Psc
Yyt-Trading-Rf-Api.001 Login Get Info.Login Supplier
Yyt-Trading-Rf-Api.001 Login Get Info.Login Supplierfocus
Yyt-Trading-Rf-Api.002 User Register
Yyt-Trading-Rf-Api.002 User Register.Customer User Register
Yyt-Trading-Rf-Api.002 User Register.Supplier User Register
Yyt-Trading-Rf-Api.003 Enterprise Open Account Customer
Yyt-Trading-Rf-Api.003 Enterprise Open Account Customer.Printing Packaging Factory Open Account
Yyt-Trading-Rf-Api.004 Enterprise Open Account Supplier
Yyt-Trading-Rf-Api.004 Enterprise Open Account Supplier.Supplier Paper Open Account
Yyt-Trading-Rf-Api.005 Enterprise Apply Credit
Yyt-Trading-Rf-Api.005 Enterprise Apply Credit.Apply Credit Qniao Customer
Yyt-Trading-Rf-Api.006 Get Credit
Yyt-Trading-Rf-Api.006 Get Credit.Customer Credit Password
Yyt-Trading-Rf-Api.006 Get Credit.Customer Get Credit
Yyt-Trading-Rf-Api.007 Paper Variety Management
Yyt-Trading-Rf-Api.007 Paper Variety Management.Paper Brand
Yyt-Trading-Rf-Api.007 Paper Variety Management.Paper Category
Yyt-Trading-Rf-Api.007 Paper Variety Management.Paper Manufacturer
Yyt-Trading-Rf-Api.008 Market Information
Yyt-Trading-Rf-Api.008 Market Information.Market Information Link
Yyt-Trading-Rf-Api.009 Product Manage
Yyt-Trading-Rf-Api.009 Product Manage.Product Add And List
Yyt-Trading-Rf-Api.010 Limited Specialoffer
Yyt-Trading-Rf-Api.010 Limited Specialoffer.Limited Specialoffer Product
Yyt-Trading-Rf-Api.011 Product Price Config
Yyt-Trading-Rf-Api.011 Product Price Config.Product Price Config Qniao And Feisuan
Yyt-Trading-Rf-Api.012 Product Price Update
Yyt-Trading-Rf-Api.012 Product Price Update.Product Price Batch Update Purchaseprice
Yyt-Trading-Rf-Api.013 Paper List And Details
Yyt-Trading-Rf-Api.013 Paper List And Details.Customer Get Paper List And Detail
Yyt-Trading-Rf-Api.014 Shinpping Address
Yyt-Trading-Rf-Api.014 Shinpping Address.Customer Enterprise Shipping Address
Yyt-Trading-Rf-Api.015 Customer Create Order
Yyt-Trading-Rf-Api.015 Customer Create Order.Customer Create Order Credit Payment
Yyt-Trading-Rf-Api.016 Enquiry Create Order
Yyt-Trading-Rf-Api.016 Enquiry Create Order.Customer Enquiry Operate And Supplier Quoted Price Create Order
Yyt-Trading-Rf-Api.017 Order And Receipt And Delivery
Yyt-Trading-Rf-Api.017 Order And Receipt And Delivery.Get Oeder And Receipt And Delivery
Yyt-Trading-Rf-Api.018 Payable And Receivable
Yyt-Trading-Rf-Api.018 Payable And Receivable.Customer Bill
Yyt-Trading-Rf-Api.018 Payable And Receivable.Payable
Yyt-Trading-Rf-Api.018 Payable And Receivable.Receivable
Yyt-Trading-Rf-Api.019 Capacity Market
Yyt-Trading-Rf-Api.019 Capacity Market.Capacity Commodity
Yyt-Trading-Rf-Api.019 Capacity Market.Capacity Machines
Yyt-Trading-Rf-Api.100 Test Data Clear
Yyt-Trading-Rf-Api.100 Test Data Clear.Test Data Clear