${EXECDIR}\\DA_data.yaml
Imports a variable file with the given path and optional arguments.
${file}
D:\\LYL\\Study\\Robot_framework\\space\\Dating-agency\\0-Login\\phone-test.txt
Returns the contents of a specified file.
Getting file '<a href="file://D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt">D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt</a>'.
${file} = 手机号
13473579062
${skip-line}
1
Returns the given values which can then be assigned to a variables.
${skip-line} = 1
${lines}
-1
Returns the given values which can then be assigned to a variables.
${lines} = -1
${content}
${file}
${skip-line}
${lines}
Returns lines of the given ``string`` that contain the ``pattern``.
1 out of 2 lines matched
${content} = 13473579062
${id}
${content}
13473579062
${id}
${id}
\n
Splits the ``string`` using ``separator`` as a delimiter string.
${id} = ['13473579062']
${id}
Makes a variable available globally in all tests and suites.
${id} = ['13473579062']
${userid_list}
Returns a list containing given items.
${userid_list} = []
${Cheader_list}
Returns a list containing given items.
${Cheader_list} = []
${Aheader_list}
Returns a list containing given items.
${Aheader_list} = []
${account}
@{id}
13473579062
Helper for quickly disabling all urllib3 warnings.
dating
${${dating}.dating域名}
${${dating}.AHeader}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${data}
{ \ \ "account":"${account}", \ \ "accountType":2, \ \ "captcha":888888 }
Returns the given values which can then be assigned to a variables.
${data} = { "account":"13473579062", "accountType":2, "captcha":888888 }
${reps}
dating
/dating-agency-uec/authorize/by-captcha
${data.encode('utf-8')}
Sends a POST request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-uec/authorize/by-captcha HTTP/1.1" 200 None
POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha
path_url=/dating-agency-uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Content-Length': '68'}
body=b'{ "account":"13473579062", "accountType":2, "captcha":888888 }'
POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 28 Mar 2024 05:53: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/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==","userId":"970721561407524864"}}
${reps} = <Response [200]>
${code}
${reps.json()}
code
Returns a value from the given ``dictionary`` based on the given ``key``.
${code} = 0
${token}
${reps.json()['data']}
token
Returns a value from the given ``dictionary`` based on the given ``key``.
${token} = iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==
${userId}
${reps.json()['data']}
userId
Returns a value from the given ``dictionary`` based on the given ``key``.
${userId} = 970721561407524864
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${login_header}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT ${token}','X-Organization-Id':'963432943739605555'}
Returns the given values which can then be assigned to a variables.
${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==','X-Organization-Id':'96...
${client_header}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT ${token}'}
Returns the given values which can then be assigned to a variables.
${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}
${userid_list}
${userId}
Adds ``values`` to the end of ``list``.
${Cheader_list}
${client_header}
Adds ``values`` to the end of ``list``.
${Aheader_list}
${login_header}
Adds ``values`` to the end of ``list``.
${code}==0
Should Be Equal As Strings
${message}
successful
ELSE
Should Be Equal As Strings
${message}
验证码错误或无效验证码,请重试!
Runs the given keyword with the given arguments, if ``condition`` is true.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${phone}
${account}
Returns the given values which can then be assigned to a variables.
${phone} = 13473579062
${phone}
Makes a variable available globally in all tests and suites.
${phone} = 13473579062
${userid_list}
Makes a variable available globally in all tests and suites.
${userid_list} = ['970721561407524864']
${Aheader_list}
Makes a variable available globally in all tests and suites.
${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==','X-Organization-Id':'...
${Cheader_list}
Makes a variable available globally in all tests and suites.
${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}"]
${login_header}
Makes a variable available globally in all tests and suites.
${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==','X-Organization-Id':'96...
${client_header}
Makes a variable available globally in all tests and suites.
${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}
${Aheader}
Returns a list containing given items.
${Aheader} = []
${userId}
${login_header}
${userid_list}
${Aheader_list}
970721561407524864
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==','X-Organization-Id':'96...
Helper for quickly disabling all urllib3 warnings.
dating
${${dating}.dating域名}
${login_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-uec/user/list/own-organization
params=userId=${userid}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=970721561407524864 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=970721561407524864
path_url=/dating-agency-uec/user/list/own-organization?userId=970721561407524864
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==', 'X-Organization-Id': '963432943739605555'}
body=None
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=970721561407524864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 28 Mar 2024 05:53: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":[]}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = []
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${data}==[]
log
未获取到组织信息!
ELSE
log
${data}
Runs the given keyword with the given arguments, if ``condition`` is true.
未获取到组织信息!
Logs the given message with the given level.
未获取到组织信息!
接口:短信验证码登录认证
用户登录婚介平台
${EXECDIR}\\DA_data.yaml
Imports a variable file with the given path and optional arguments.
${userId}
${client_header}
${userid_list}
${Cheader_list}
970721561407524864
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-service/user/get/marriage/information/details
params=userId=${userId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=970721561407524864 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=970721561407524864
path_url=/dating-agency-service/user/get/marriage/information/details?userId=970721561407524864
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.055771221754656375
IBM855 Russian confidence = 0.11623896744654695
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.0
ISO-8859-9 Turkish confidence = 0.382118544063159
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=970721561407524864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 28 Mar 2024 05:53: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":{"id":"970721563563397120","isDelete":false,"createTime":"2024-03-28 13:42:01","updateTime":null,"event":null,"accountId":null,"userId":"970721561407524864","nickName":"Tough","name":"王颖勋","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/24ef3e3c4e781b97c9e3da52cc2a6a88.jpg","identityCard":"44058319951227041X","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440183,"districtName":"增城市","birthYear":"1995","birthDate":"1995-12-27","constellationCode":1,"constellation":"水瓶座","chineseZodiacCode":null,"chineseZodiac":"猪","height":183,"weight":120,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","diplomaVerificationCode":"777019439926121667","describeInfo":null,"self":null,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","nationCode":1,"nation":"汉族","bodilyFormCode":3,"bodilyForm":"肥胖","accountTypeCode":0,"accountTypeName":"城市","nationalityCode":null,"nationality":null,"nativePlaceCode":440000,"nativePlaceName":"广东省","industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":1,"carPurchaseSituation":"已购车","propertyPermitsCode":4,"propertyPermits":"婚后购房","wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 970721563563397120
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = Tough
${miId_list}
Returns a list containing given items.
${miId_list} = []
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${miId_list}
${miId}
Adds ``values`` to the end of ``list``.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = Tough
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['970721563563397120']
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
$length}=8 生成的手机号位数,不包含开头3位,默认8位
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/family/ties/list
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/family/ties/list HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/family/ties/list
path_url=/dating-agency-service/user/get/family/ties/list
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.01
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.10994537034438327
ISO-8859-9 Turkish confidence = 0.39016317654662896
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.01
windows-1255 Hebrew confidence = 0.01
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/family/ties/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 28 Mar 2024 05:53: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":[{"value":0,"desc":"本人"},{"value":1,"desc":"父母"},{"value":2,"desc":"亲友"}]}
${reps} = <Response [200]>
${data_list}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data_list} = [{'value': 0, 'desc': '本人'}, {'value': 1, 'desc': '父母'}, {'value': 2, 'desc': '亲友'}]
${relationship}
random.choice(${data_list})
random
Evaluates the given expression in Python and returns the result.
${relationship} = {'value': 2, 'desc': '亲友'}
${familyTies}
${relationship}
desc
Returns a value from the given ``dictionary`` based on the given ``key``.
${familyTies} = 亲友
${familyTiesCode}
${relationship}
value
Returns a value from the given ``dictionary`` based on the given ``key``.
${familyTiesCode} = 2
${miId}
${client_header}
${miId_list}
${Cheader_list}
970721563563397120
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${relation_data}
{"familyTies":"${familyTies}","familyTiesCode":${familyTiesCode},"phone":"${phone}","wechatId":"","miId":"${miId}"}
Returns the given values which can then be assigned to a variables.
${relation_data} = {"familyTies":"亲友","familyTiesCode":2,"phone":"13473579062","wechatId":"","miId":"970721563563397120"}
${reps}
dating
dating-agency-service/user/save/marriage/seeking/contact
${relation_data.encode('utf-8')}
Sends a POST request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-service/user/save/marriage/seeking/contact HTTP/1.1" 200 None
POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/seeking/contact
path_url=/dating-agency-service/user/save/marriage/seeking/contact
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7trVdI61848K9KFx+JJaBE/UipIS2C1TD4zVSvl1eQMIUiB2Owo1R/i/dBuvo9n4mKA==', 'Content-Length': '106'}
body=b'{"familyTies":"\xe4\xba\xb2\xe5\x8f\x8b","familyTiesCode":2,"phone":"13473579062","wechatId":"","miId":"970721563563397120"}'
POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/seeking/contact
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 28 Mar 2024 05:53: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":"970724361319354368"}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = 970724361319354368
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
资料认证
征婚人资料
All Tests
Dating-agency
Dating-agency.0-Login
Dating-agency.0-Login.Login-interface
Dating-agency.1-Applet
Dating-agency.1-Applet.2-Homepage
Dating-agency.1-Applet.2-Homepage.MarriageInfo
Dating-agency.1-Applet.2-Homepage.MarriageInfo.DataAuthentication