You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1597 lines
151 KiB
1597 lines
151 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240425 15:51:51.456" rpa="false" schemaversion="4">
|
|
<suite id="s1" name="Dating-agency" source="D:\LYL\Study\Robot_framework\space\Dating-agency">
|
|
<kw name="Import Variables" library="BuiltIn" type="SETUP">
|
|
<arg>${EXECDIR}\\DA_data.yaml</arg>
|
|
<doc>Imports a variable file with the given path and optional arguments.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.487" endtime="20240425 15:51:51.487"/>
|
|
</kw>
|
|
<suite id="s1-s1" name="0-Login" source="D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login">
|
|
<suite id="s1-s1-s1" name="Login-interface" source="D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\Login-interface.robot">
|
|
<kw name="Import Variables" library="BuiltIn" type="SETUP">
|
|
<arg>${EXECDIR}\\DA_data.yaml</arg>
|
|
<doc>Imports a variable file with the given path and optional arguments.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.833" endtime="20240425 15:51:51.833"/>
|
|
</kw>
|
|
<test id="s1-s1-s1-t1" name="手机号验证码登录-888888" line="27">
|
|
<kw name="Given 读取TXT文件" library="LoginResource">
|
|
<kw name="Get File" library="OperatingSystem">
|
|
<var>${file}</var>
|
|
<arg>D:\\LYL\\Study\\Robot_framework\\space\\Dating-agency\\0-Login\\phone-test.txt</arg>
|
|
<doc>Returns the contents of a specified file.</doc>
|
|
<msg timestamp="20240425 15:51:51.833" level="INFO" html="true">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>'.</msg>
|
|
<msg timestamp="20240425 15:51:51.833" level="INFO">${file} = 手机号
|
|
15121074365
|
|
13630297765</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.833" endtime="20240425 15:51:51.833"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${skip-line}</var>
|
|
<arg>1</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">${skip-line} = 1</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${lines}</var>
|
|
<arg>-1</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">${lines} = -1</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<kw name="Get Lines Containing String" library="String">
|
|
<var>${content}</var>
|
|
<arg>${file}</arg>
|
|
<arg>${skip-line}</arg>
|
|
<arg>${lines}</arg>
|
|
<doc>Returns lines of the given ``string`` that contain the ``pattern``.</doc>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">2 out of 3 lines matched</msg>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">${content} = 15121074365
|
|
13630297765</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${id}</var>
|
|
<value>${content}</value>
|
|
<iter>
|
|
<var name="${id}">15121074365
|
|
13630297765</var>
|
|
<kw name="Split String" library="String">
|
|
<var>${id}</var>
|
|
<arg>${id}</arg>
|
|
<arg>\n</arg>
|
|
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">${id} = ['15121074365', '13630297765']</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</for>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${id}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">${id} = ['15121074365', '13630297765']</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:51.833" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<kw name="And 用户手机号验证码登录婚介平台-888888" library="LoginResource" sourcename="用户手机号验证码登录${dating}平台-888888">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${userid_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">${userid_list} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Cheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">${Cheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Aheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:51.848" level="INFO">${Aheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:51.848"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${phoneList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:51.853" level="INFO">${phoneList} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.853" endtime="20240425 15:51:51.853"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${account}</var>
|
|
<value>@{id}</value>
|
|
<iter>
|
|
<var name="${account}">15121074365</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.853" endtime="20240425 15:51:51.853"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${${dating}.AHeader}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:51.854" level="INFO">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 </msg>
|
|
<msg timestamp="20240425 15:51:51.855" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.854" endtime="20240425 15:51:51.855"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{ \ \ "account":"${account}", \ \ "accountType":2, \ \ "captcha":888888 }</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:51.855" level="INFO">${data} = { "account":"15121074365", "accountType":2, "captcha":888888 }</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.855" endtime="20240425 15:51:51.855"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-uec/authorize/by-captcha</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:51.858" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:51.929" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-uec/authorize/by-captcha HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:51.929" level="INFO">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":"15121074365", "accountType":2, "captcha":888888 }'
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:51.929" level="INFO">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, 25 Apr 2024 07:52:12 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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==","userId":"977568001438126080"}}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:51.929" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.855" endtime="20240425 15:51:51.929"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${code}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>code</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">${code} = 0</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${token}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>token</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${userId}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>userId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">${userId} = 977568001438126080</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${login_header}</var>
|
|
<arg>{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT ${token}','X-Organization-Id':'963432943739605555'}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${login_header}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==','X-Organization-Id':'963432943739605555'}</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${client_header}</var>
|
|
<arg>{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT ${token}'}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${userid_list}</arg>
|
|
<arg>${userId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${Cheader_list}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${Aheader_list}</arg>
|
|
<arg>${login_header}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${phoneList}</arg>
|
|
<arg>${account}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${code}==0</arg>
|
|
<arg>Should Be Equal As Strings</arg>
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<arg>ELSE</arg>
|
|
<arg>Should Be Equal As Strings</arg>
|
|
<arg>${message}</arg>
|
|
<arg>验证码错误或无效验证码,请重试!</arg>
|
|
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:51.853" endtime="20240425 15:51:51.944"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${account}">13630297765</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${${dating}.AHeader}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">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 </msg>
|
|
<msg timestamp="20240425 15:51:51.944" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{ \ \ "account":"${account}", \ \ "accountType":2, \ \ "captcha":888888 }</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="INFO">${data} = { "account":"13630297765", "accountType":2, "captcha":888888 }</msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:51.944"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-uec/authorize/by-captcha</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:51.944" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.023" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-uec/authorize/by-captcha HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.023" level="INFO">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":"13630297765", "accountType":2, "captcha":888888 }'
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.023" level="INFO">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, 25 Apr 2024 07:52:12 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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==","userId":"980870337099075584"}}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.023" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:52.023"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${code}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>code</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.023" level="INFO">${code} = 0</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.023" endtime="20240425 15:51:52.023"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${token}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>token</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.023" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.023" endtime="20240425 15:51:52.023"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${userId}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>userId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.023" level="INFO">${userId} = 980870337099075584</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.023" endtime="20240425 15:51:52.023"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.039" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.023" endtime="20240425 15:51:52.039"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${login_header}</var>
|
|
<arg>{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT ${token}','X-Organization-Id':'963432943739605555'}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:52.039" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.039" endtime="20240425 15:51:52.039"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${login_header}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20240425 15:51:52.039" level="INFO">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==','X-Organization-Id':'963432943739605555'}</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.039" endtime="20240425 15:51:52.039"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${client_header}</var>
|
|
<arg>{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT ${token}'}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:52.039" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.039" endtime="20240425 15:51:52.039"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${userid_list}</arg>
|
|
<arg>${userId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.039" endtime="20240425 15:51:52.039"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${Cheader_list}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.039" endtime="20240425 15:51:52.039"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${Aheader_list}</arg>
|
|
<arg>${login_header}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.039" endtime="20240425 15:51:52.039"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${phoneList}</arg>
|
|
<arg>${account}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.039" endtime="20240425 15:51:52.039"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${code}==0</arg>
|
|
<arg>Should Be Equal As Strings</arg>
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<arg>ELSE</arg>
|
|
<arg>Should Be Equal As Strings</arg>
|
|
<arg>${message}</arg>
|
|
<arg>验证码错误或无效验证码,请重试!</arg>
|
|
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240425 15:51:52.042" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.042" endtime="20240425 15:51:52.042"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.042" endtime="20240425 15:51:52.042"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:51.944" endtime="20240425 15:51:52.042"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240425 15:51:51.853" endtime="20240425 15:51:52.043"/>
|
|
</for>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${phoneList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.043" level="INFO">${phoneList} = ['15121074365', '13630297765']</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.043" endtime="20240425 15:51:52.043"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${userid_list}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.043" level="INFO">${userid_list} = ['977568001438126080', '980870337099075584']</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.043" endtime="20240425 15:51:52.044"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${Aheader_list}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.044" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==','X-Organization-Id':'...</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.044" endtime="20240425 15:51:52.044"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${Cheader_list}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.044" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}", "{'Content-Type':'...</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.044" endtime="20240425 15:51:52.044"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${login_header}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.046" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.046" endtime="20240425 15:51:52.046"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${client_header}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.046" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.046" endtime="20240425 15:51:52.046"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:51.848" endtime="20240425 15:51:52.047"/>
|
|
</kw>
|
|
<kw name="And 查询用户的婚介组织" library="LoginResource" sourcename="查询用户的${dating}组织">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Aheader}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:52.047" level="INFO">${Aheader} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.047" endtime="20240425 15:51:52.047"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${login_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Aheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">977568001438126080</var>
|
|
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==','X-Organization-Id':'96...</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.048" endtime="20240425 15:51:52.048"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${login_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.049" level="INFO">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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.049" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.048" endtime="20240425 15:51:52.049"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-uec/user/list/own-organization</arg>
|
|
<arg>params=userId=${userid}</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.050" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.075" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=977568001438126080 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.075" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977568001438126080
|
|
path_url=/dating-agency-uec/user/list/own-organization?userId=977568001438126080
|
|
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.075" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977568001438126080
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52:12 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":[]}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.075" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.049" endtime="20240425 15:51:52.075"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${data}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>data</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.075" level="INFO">${data} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.075"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.075" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.075"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240425 15:51:52.075" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.075"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${data}==[]</arg>
|
|
<arg>log</arg>
|
|
<arg>未获取到组织信息!</arg>
|
|
<arg>ELSE</arg>
|
|
<arg>log</arg>
|
|
<arg>${data}</arg>
|
|
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>未获取到组织信息!</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20240425 15:51:52.075" level="INFO">未获取到组织信息!</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.075"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.075"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.048" endtime="20240425 15:51:52.075"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${userId}">980870337099075584</var>
|
|
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==','X-Organization-Id':'96...</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.075"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${login_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.075" level="INFO">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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.075" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.075"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-uec/user/list/own-organization</arg>
|
|
<arg>params=userId=${userid}</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.091" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.125" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=980870337099075584 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.125" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=980870337099075584
|
|
path_url=/dating-agency-uec/user/list/own-organization?userId=980870337099075584
|
|
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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.125" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=980870337099075584
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52:12 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":[]}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.126" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.126"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${data}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>data</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.127" level="INFO">${data} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.126" endtime="20240425 15:51:52.127"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.127" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.127" endtime="20240425 15:51:52.127"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240425 15:51:52.128" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.128" endtime="20240425 15:51:52.128"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${data}==[]</arg>
|
|
<arg>log</arg>
|
|
<arg>未获取到组织信息!</arg>
|
|
<arg>ELSE</arg>
|
|
<arg>log</arg>
|
|
<arg>${data}</arg>
|
|
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>未获取到组织信息!</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20240425 15:51:52.129" level="INFO">未获取到组织信息!</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.129" endtime="20240425 15:51:52.129"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.128" endtime="20240425 15:51:52.129"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.075" endtime="20240425 15:51:52.129"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240425 15:51:52.047" endtime="20240425 15:51:52.129"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240425 15:51:52.047" endtime="20240425 15:51:52.129"/>
|
|
</kw>
|
|
<kw name="And 获取婚介平台用户baseinfo" library="LoginResource" sourcename="获取${dating}平台用户baseinfo">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${matchmakerFlagList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:52.129" level="INFO">${matchmakerFlagList} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.129" endtime="20240425 15:51:52.129"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${admin_header}</var>
|
|
<value>@{Aheader_list}</value>
|
|
<iter>
|
|
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==','X-Organization-Id':'96...</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${admin_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.129" level="INFO">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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.129" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.129" endtime="20240425 15:51:52.129"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/get/base-info</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.129" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.175" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/get/base-info HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.175" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
|
|
path_url=/dating-agency-uec/user/get/base-info
|
|
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.175" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52:12 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":"977568001438126080","realName":null,"nickName":null,"phone":"15121074365","matchmakerFlag":false}}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.175" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.129" endtime="20240425 15:51:52.175"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${phone}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>phone</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.175" level="INFO">${phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.175" endtime="20240425 15:51:52.175"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${matchmakerFlag}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>matchmakerFlag</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.175" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.175" endtime="20240425 15:51:52.175"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${matchmakerFlagList}</arg>
|
|
<arg>${matchmakerFlag}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.175" endtime="20240425 15:51:52.175"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.129" endtime="20240425 15:51:52.175"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==','X-Organization-Id':'96...</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${admin_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.175" level="INFO">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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.175" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.175" endtime="20240425 15:51:52.175"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/get/base-info</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.175" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.223" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/get/base-info HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.223" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
|
|
path_url=/dating-agency-uec/user/get/base-info
|
|
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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.223" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52:12 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":"980870337099075584","realName":null,"nickName":null,"phone":"13630297765","matchmakerFlag":true}}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.223" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.175" endtime="20240425 15:51:52.223"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${phone}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>phone</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.223" level="INFO">${phone} = 13630297765</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.223" endtime="20240425 15:51:52.223"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${matchmakerFlag}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>matchmakerFlag</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.223" level="INFO">${matchmakerFlag} = True</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.223" endtime="20240425 15:51:52.223"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${matchmakerFlagList}</arg>
|
|
<arg>${matchmakerFlag}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.223" endtime="20240425 15:51:52.223"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.175" endtime="20240425 15:51:52.223"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240425 15:51:52.129" endtime="20240425 15:51:52.223"/>
|
|
</for>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${phone}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.223" level="INFO">${phone} = 13630297765</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.223" endtime="20240425 15:51:52.223"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${matchmakerFlag}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.223" level="INFO">${matchmakerFlag} = True</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.223" endtime="20240425 15:51:52.223"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${matchmakerFlagList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.223" level="INFO">${matchmakerFlagList} = [False, True]</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.223" endtime="20240425 15:51:52.223"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.129" endtime="20240425 15:51:52.223"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:51.833" endtime="20240425 15:51:52.223"/>
|
|
</test>
|
|
<doc>接口:短信验证码登录认证</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.503" endtime="20240425 15:51:52.223"/>
|
|
</suite>
|
|
<doc>用户登录婚介平台</doc>
|
|
<status status="PASS" starttime="20240425 15:51:51.487" endtime="20240425 15:51:52.239"/>
|
|
</suite>
|
|
<suite id="s1-s2" name="1-Applet" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet">
|
|
<suite id="s1-s2-s1" name="2-Homepage" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\2-Homepage">
|
|
<suite id="s1-s2-s1-s1" name="BlindDate" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\2-Homepage\BlindDate">
|
|
<suite id="s1-s2-s1-s1-s1" name="NormalSearch" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\2-Homepage\BlindDate\NormalSearch.robot">
|
|
<kw name="Import Variables" library="BuiltIn" type="SETUP">
|
|
<arg>${EXECDIR}\\DA_data.yaml</arg>
|
|
<doc>Imports a variable file with the given path and optional arguments.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.260" endtime="20240425 15:51:52.261"/>
|
|
</kw>
|
|
<test id="s1-s2-s1-s1-s1-t1" name="用户搜索征婚资料-学历" line="28">
|
|
<kw name="Given 查询婚介征婚人的资料信息" library="NormalsearchResource" sourcename="查询${dating}征婚人的资料信息">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${miId_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:52.263" level="INFO">${miId_list} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.263" endtime="20240425 15:51:52.263"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${genderCodeList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:52.263" level="INFO">${genderCodeList} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.263" endtime="20240425 15:51:52.263"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${client_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Cheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">977568001438126080</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.263" level="INFO">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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.263" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.263" endtime="20240425 15:51:52.263"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-service/user/get/marriage/information/details</arg>
|
|
<arg>params=userId=${userId}</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.263" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.354" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=977568001438126080 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.354" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=977568001438126080
|
|
path_url=/dating-agency-service/user/get/marriage/information/details?userId=977568001438126080
|
|
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">MacCyrillic Russian confidence = 0.036562951633919066</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">IBM866 Russian confidence = 0.043055326183379025</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">IBM855 Russian confidence = 0.056308697679839134</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">TIS-620 Thai confidence = 0.037139362199693764</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3913274559923488</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=977568001438126080
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52:12 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":"977609068816502784","isDelete":false,"createTime":"2024-04-16 13:50:30","updateTime":null,"event":null,"accountId":null,"userId":"977568001438126080","nickName":"我愿嫁给财神爷哪怕是妾","name":"赖勇兰","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/22.jpg","identityCard":"441481199509213863","genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1995","birthDate":"1995-09-21","constellationCode":1,"constellation":"水瓶座","chineseZodiacCode":null,"chineseZodiac":"猪","height":161,"weight":null,"educationCode":1,"education":"中专","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","diplomaVerificationCode":"55555555555555555","describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","identityType":2,"identityTypeName":"母亲","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440500,"domicilePlaceCityName":"汕头市","nationCode":1,"nation":"汉族","bodilyFormCode":1,"bodilyForm":"正常","accountTypeCode":1,"accountTypeName":"农村","nationalityCode":null,"nationality":null,"nativePlaceCode":440000,"nativePlaceName":"广东省","industryCode":2,"industry":"客户服务","occupationCode":12,"occupation":"客服主管","onlyChild":1,"carPurchaseSituationCode":0,"carPurchaseSituation":"未购车","propertyPermitsCode":0,"propertyPermits":"和家人同住","wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","auditProfilePhoto":null,"photoList":[{"id":"977625309539078144","isDelete":false,"createTime":"2024-04-16 14:55:02","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/20220906184154_02019.jpg","auditImgId":977624851407835136,"auditStatus":1},{"id":"977625309639741440","isDelete":false,"createTime":"2024-04-16 14:55:02","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/1597286553798408.jpg","auditImgId":977624851491721216,"auditStatus":1},{"id":"977625310000451584","isDelete":false,"createTime":"2024-04-16 14:55:02","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/1665312772190129.jpg","auditImgId":977624851848237056,"auditStatus":1},{"id":"977625310084337664","isDelete":false,"createTime":"2024-04-16 14:55:02","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/1667293030164511.jpg","auditImgId":977624851927928832,"auditStatus":1},{"id":"977627249840885760","isDelete":false,"createTime":"2024-04-16 15:02:45","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/20196122349127590.jpeg","auditImgId":977627180538400768,"auditStatus":1},{"id":"977627249937354752","isDelete":false,"createTime":"2024-04-16 15:02:45","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/20198312353790082.jpeg","auditImgId":977627180618092544,"auditStatus":1},{"id":"977627250012852224","isDelete":false,"createTime":"2024-04-16 15:02:45","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/202083022141249889.jpg","auditImgId":977627180693590016,"auditStatus":1},{"id":"977627250088349696","isDelete":false,"createTime":"2024-04-16 15:02:45","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/202083122434425106.jpg","auditImgId":977627180764893184,"auditStatus":1},{"id":"977627250155458560","isDelete":false,"createTime":"2024-04-16 15:02:45","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/202141120475135553.jpg","auditImgId":977627180827807744,"auditStatus":1},{"id":"977627250222567424","isDelete":false,"createTime":"2024-04-16 15:02:45","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/2020101722211881489.jpg","auditImgId":977627180915888128,"auditStatus":1},{"id":"977627250293870592","isDelete":false,"createTime":"2024-04-16 15:02:45","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/ae8370d11dee46e9a474aa20a2abba9f.jpeg","auditImgId":977627180991385600,"auditStatus":1},{"id":"977627284653608960","isDelete":false,"createTime":"2024-04-16 15:02:53","updateTime":null,"event":null,"miId":977609068816502784,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/961ddd8fb0-768x1152.jpg","auditImgId":977626038618165248,"auditStatus":1}],"describeAuditStatus":0,"describeAudit":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":100}}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.263" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${miId}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>id</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.385" level="INFO">${miId} = 977609068816502784</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${nickName}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>nickName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.385" level="INFO">${nickName} = 我愿嫁给财神爷哪怕是妾</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${genderCode}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>genderCode</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.385" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.385" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${miId_list}</arg>
|
|
<arg>${miId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${genderCodeList}</arg>
|
|
<arg>${genderCode}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.263" endtime="20240425 15:51:52.385"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${userId}">980870337099075584</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.385" level="INFO">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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.385" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.385"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-service/user/get/marriage/information/details</arg>
|
|
<arg>params=userId=${userId}</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.401" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.436" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=980870337099075584 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=980870337099075584
|
|
path_url=/dating-agency-service/user/get/marriage/information/details?userId=980870337099075584
|
|
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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=980870337099075584
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52:12 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,"isDelete":null,"createTime":null,"updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":null,"name":null,"profilePhoto":null,"identityCard":null,"genderCode":null,"genderValue":null,"homeCountryCode":null,"homeCountry":null,"provinceCode":null,"provinceName":null,"cityCode":null,"cityName":null,"districtCode":null,"districtName":null,"birthYear":null,"birthDate":null,"constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":null,"height":null,"weight":null,"educationCode":null,"education":null,"maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":null,"maximumIncome":null,"incomeCode":null,"income":null,"diplomaVerificationCode":null,"describeInfo":null,"identityType":null,"identityTypeName":null,"domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"auditProfilePhoto":null,"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":null}}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${miId}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>id</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">${miId} = None</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${nickName}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>nickName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">${nickName} = None</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${genderCode}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>genderCode</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">${genderCode} = None</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${miId_list}</arg>
|
|
<arg>${miId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${genderCodeList}</arg>
|
|
<arg>${genderCode}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.385" endtime="20240425 15:51:52.437"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240425 15:51:52.263" endtime="20240425 15:51:52.437"/>
|
|
</for>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${nickName}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">${nickName} = None</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${miId_list}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">${miId_list} = ['977609068816502784', None]</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${genderCodeList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">${genderCodeList} = [1, None]</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.263" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="When 用户查询婚介搜索列表-学历" library="NormalsearchResource" sourcename="用户查询${dating}搜索列表-学历">
|
|
<kw name="选择婚介征婚人的学历" library="NormalsearchResource" sourcename="选择${dating}征婚人的学历">
|
|
<for flavor="IN">
|
|
<var>${client_header}</var>
|
|
<value>@{Cheader_list}</value>
|
|
<iter>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="INFO">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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.437" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.437"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/get/education/list</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.437" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.479" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/education/list HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.480" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/education/list
|
|
path_url=/dating-agency-service/user/get/education/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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.481" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.481" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.481" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.481" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.481" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">IBM866 Russian confidence = 0.0854918857348797</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">IBM855 Russian confidence = 0.02769329631955351</msg>
|
|
<msg timestamp="20240425 15:51:52.482" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">TIS-620 Thai confidence = 0.03950978014514736</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3057882660887948</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.483" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.484" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.484" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.484" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.484" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.484" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.484" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.484" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/education/list
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52:12 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":"大专"},{"value":3,"desc":"大学本科"},{"value":4,"desc":"硕士"},{"value":5,"desc":"博士"}]}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.484" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.484"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${data_list}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>data</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.485" level="INFO">${data_list} = [{'value': 0, 'desc': '高中及以下'}, {'value': 1, 'desc': '中专'}, {'value': 2, 'desc': '大专'}, {'value': 3, 'desc': '大学本科'}, {'value': 4, 'desc': '硕士'}, {'value': 5, 'desc': '博士'}]</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.485" endtime="20240425 15:51:52.486"/>
|
|
</kw>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${education_data}</var>
|
|
<arg>random.choice(${data_list})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20240425 15:51:52.486" level="INFO">${education_data} = {'value': 5, 'desc': '博士'}</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.486" endtime="20240425 15:51:52.486"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${education}</var>
|
|
<arg>${education_data}</arg>
|
|
<arg>desc</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.487" level="INFO">${education} = 博士</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.486" endtime="20240425 15:51:52.487"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${educationCode}</var>
|
|
<arg>${education_data}</arg>
|
|
<arg>value</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.487" level="INFO">${educationCode} = 5</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.487" endtime="20240425 15:51:52.487"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${education}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.487" level="INFO">${education} = 博士</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.487" endtime="20240425 15:51:52.488"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${educationCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.488" level="INFO">${educationCode} = 5</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.488" endtime="20240425 15:51:52.488"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.488"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.488" level="INFO">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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.488" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.488" endtime="20240425 15:51:52.488"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/get/education/list</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.488" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/education/list HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/education/list
|
|
path_url=/dating-agency-service/user/get/education/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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">IBM866 Russian confidence = 0.0854918857348797</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">IBM855 Russian confidence = 0.02769329631955351</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">TIS-620 Thai confidence = 0.03950978014514736</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3057882660887948</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/education/list
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52:12 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":"大专"},{"value":3,"desc":"大学本科"},{"value":4,"desc":"硕士"},{"value":5,"desc":"博士"}]}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.488" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${data_list}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>data</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">${data_list} = [{'value': 0, 'desc': '高中及以下'}, {'value': 1, 'desc': '中专'}, {'value': 2, 'desc': '大专'}, {'value': 3, 'desc': '大学本科'}, {'value': 4, 'desc': '硕士'}, {'value': 5, 'desc': '博士'}]</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${education_data}</var>
|
|
<arg>random.choice(${data_list})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">${education_data} = {'value': 0, 'desc': '高中及以下'}</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${education}</var>
|
|
<arg>${education_data}</arg>
|
|
<arg>desc</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">${education} = 高中及以下</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${educationCode}</var>
|
|
<arg>${education_data}</arg>
|
|
<arg>value</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">${educationCode} = 0</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${education}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">${education} = 高中及以下</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${educationCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">${educationCode} = 0</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.488" endtime="20240425 15:51:52.520"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.520"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${totalList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">${totalList} = []</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${client_header}</var>
|
|
<var>${matchmakerFlag}</var>
|
|
<value>${Cheader_list}</value>
|
|
<value>${matchmakerFlagList}</value>
|
|
<iter>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}</var>
|
|
<var name="${matchmakerFlag}">False</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="INFO">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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.520"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/get/marriage/recommendation/page</arg>
|
|
<arg>params=advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=${educationCode}&education=${education}&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=${matchmakerFlag}</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.520" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.603" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=0&education=%E9%AB%98%E4%B8%AD%E5%8F%8A%E4%BB%A5%E4%B8%8B&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=False HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.618" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=0&education=%E9%AB%98%E4%B8%AD%E5%8F%8A%E4%BB%A5%E4%B8%8B&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=False
|
|
path_url=/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=0&education=%E9%AB%98%E4%B8%AD%E5%8F%8A%E4%BB%A5%E4%B8%8B&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=False
|
|
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZvTBDNYS3x8BWDefRVlvOXSnf9sDUl8uq8y5WeiUs2aYA=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">MacCyrillic Russian confidence = 0.022367195405209664</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">IBM866 Russian confidence = 0.05150774935941928</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">IBM855 Russian confidence = 0.06023076663878669</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">TIS-620 Thai confidence = 0.07345089366501004</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">ISO-8859-9 Turkish confidence = 0.27484195407897205</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.650" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=0&education=%E9%AB%98%E4%B8%AD%E5%8F%8A%E4%BB%A5%E4%B8%8B&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=False
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52: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":{"records":[{"miId":"970692730097373184","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/9e62e2e3ad1b53d20a933a651c958201.jpg","nickName":"Te-amo","height":"173","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":32,"occupationCode":176,"occupation":"船长","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"未来我肯定会有自己的事业,不过,更倾向于work life balance的生活。不求大富大贵,只希望平安快乐。喜欢自由一些的生活。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":99,"identityType":0,"identityTypeName":"本人"},{"miId":"971114444845355008","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/7fa87b7954e5837c5aeb7488f2fca46e.jpg","nickName":"弱水三千,我只取你一瓢","height":"179","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":0,"education":"高中及以下","age":20,"occupationCode":37,"occupation":"物流专员","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"湖南衡阳人,在衡阳有两套房,目前在央企工作,是区域公司负责人。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":99,"identityType":0,"identityTypeName":"本人"},{"miId":"970373194894675968","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/aea0caca25438b7490305cd4c704d515.jpg","nickName":"有一个朋友","height":"183","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":35,"occupationCode":70,"occupation":"广告客户专员","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"男,89年,183/67。广东人,在上海工作,外企财务会计。寻觅一个三品好,三观一致的女生为伴。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":96,"identityType":0,"identityTypeName":"本人"},{"miId":"969934975996661760","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/13430ed896298bcd0ac46f09bf29ece7.jpg","nickName":"常奇","height":"170","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":0,"education":"高中及以下","age":29,"occupationCode":23,"occupation":"网页设计","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":"性格沉稳安静、不爱争吵计较,在感兴趣的领域会畅所欲言,对陌生的领域更多的是倾听。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":96,"identityType":0,"identityTypeName":"本人"},{"miId":"971104924324728832","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/5040c8ff3a9c29864b15926cb69a1c1e.jpg","nickName":"快乐小神仙","height":"184","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":0,"education":"高中及以下","age":65,"occupationCode":24,"occupation":"产品经理","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"我是一个比较开朗乐观的人,平常喜欢运动、阅读,热爱工作与生活,好奇心强,喜欢探究本质和深度思考,希望能遇到性格好,温柔善良,谈吐佳,气质优雅的她;感情需要的是包容和理解,世界没有两片相同的叶子,每个人的成长环境都不同,三观差不多就好,所处阶段和节奏也不同,不要在过分焦虑中向外攀比,要在看清一切后活出自在,如果你也是个有趣的灵魂,那我们一定能碰撞出灿烂的火花!","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":89,"identityType":0,"identityTypeName":"本人"},{"miId":"970695149304811520","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c91757deace453ee22c3d12ea9913bd0.jpg","nickName":"故事的小黄花","height":"184","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":27,"occupationCode":12,"occupation":"客服主管","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":"性格沉稳安静、不爱争吵计较,在感兴趣的领域会畅所欲言,对陌生的领域更多的是倾听。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":77,"identityType":0,"identityTypeName":"本人"},{"miId":"969582409697857536","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/204a522bc6cd2816aba1a5d24b8b9446.jpg","nickName":"国产祖宗","height":"172","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":32,"occupationCode":null,"occupation":null,"minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":45,"identityType":0,"identityTypeName":"本人"},{"miId":"971117167598768128","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/d623055d903f2ac6e9677f85fa586eb0.jpg","nickName":"带你去浪漫的土耳其","height":"185","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":0,"education":"高中及以下","age":31,"occupationCode":null,"occupation":null,"minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":45,"identityType":0,"identityTypeName":"本人"},{"miId":"968963047592955904","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/e245c18b37ad0183f8a548537e7b5613.jpg","nickName":"康桥","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":29,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"书香门第家庭,独生子,父母是泰州市的国企职工,即将退休,未来会有养老金,养老无压力。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":42,"identityType":0,"identityTypeName":"本人"},{"miId":"969595655523799040","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/84340889d0e42c25a0a95016316e6362.jpg","nickName":"头比饭还要下","height":"172","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":55,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"大学时候参加过学校的歌唱比赛,也自学过吉他。目前工作比较忙,没太多业余时间。如果以后能换个加班少的工作,我希望能有空重拾音乐的爱好","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":40,"identityType":0,"identityTypeName":"本人"},{"miId":"969608057694851072","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/34811393cbe1d9507fd96f9f0fae0988.jpg","nickName":"关你西红柿","height":"195","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":19,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":37,"identityType":0,"identityTypeName":"本人"},{"miId":"968858433887539200","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c5644ac57b91fad169833894a8409fb8.png","nickName":"忆江南","height":"184","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":18,"occupationCode":null,"occupation":null,"minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":37,"identityType":0,"identityTypeName":"本人"},{"miId":"968864031416913920","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/59004ca9250de9fec6fbb95e6eed6760.jpg","nickName":"胖虎","height":"149","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":80,"occupationCode":null,"occupation":null,"minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":35,"identityType":0,"identityTypeName":"本人"},{"miId":"968964034521075712","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/d274c4228025fc173501e204a3341711.jpg","nickName":"油炸小柯","height":"143","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":40,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":35,"identityType":0,"identityTypeName":"本人"}],"total":14,"size":1000,"current":1,"pages":1}}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.665" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.665"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${total}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>total</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.665" level="INFO">${total} = 14</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.665" endtime="20240425 15:51:52.665"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${totalList}</arg>
|
|
<arg>${total}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.665" endtime="20240425 15:51:52.665"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${totalList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.665" level="INFO">${totalList} = [14]</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.665" endtime="20240425 15:51:52.665"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.665"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}</var>
|
|
<var name="${matchmakerFlag}">True</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240425 15:51:52.669" level="INFO">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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240425 15:51:52.669" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.665" endtime="20240425 15:51:52.669"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/get/marriage/recommendation/page</arg>
|
|
<arg>params=advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=${educationCode}&education=${education}&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=${matchmakerFlag}</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240425 15:51:52.671" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240425 15:51:52.740" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=0&education=%E9%AB%98%E4%B8%AD%E5%8F%8A%E4%BB%A5%E4%B8%8B&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=True HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240425 15:51:52.748" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=0&education=%E9%AB%98%E4%B8%AD%E5%8F%8A%E4%BB%A5%E4%B8%8B&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=True
|
|
path_url=/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=0&education=%E9%AB%98%E4%B8%AD%E5%8F%8A%E4%BB%A5%E4%B8%8B&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=True
|
|
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/g6O5DXHixyNrf7tvui6/VKjbonhFB07Fg296Fd37AM8Q1xjhFAQ6u/EYC4GqlVRtDWo16XV6/9Li33fA=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.769" level="DEBUG">ISO-8859-5 confidence = 0.0, below negative shortcut threshhold 0.05</msg>
|
|
<msg timestamp="20240425 15:51:52.769" level="DEBUG">MacCyrillic confidence = 0.021218613915464774, below negative shortcut threshhold 0.05</msg>
|
|
<msg timestamp="20240425 15:51:52.798" level="DEBUG">ISO-8859-5 confidence = 0.0, below negative shortcut threshhold 0.05</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">ISO-8859-5 not active</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">MacCyrillic not active</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">IBM866 Russian confidence = 0.05701969671341334</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">IBM855 Russian confidence = 0.06233200944274012</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">ISO-8859-5 not active</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">TIS-620 Thai confidence = 0.0736152482162817</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">ISO-8859-9 Turkish confidence = 0.2717828686119397</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.814" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240425 15:51:52.830" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=false&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&educationCode=0&education=%E9%AB%98%E4%B8%AD%E5%8F%8A%E4%BB%A5%E4%B8%8B&unlock=0&pageNum=1&pageSize=1000&matchmakerFlag=True
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 25 Apr 2024 07:52: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":{"records":[{"miId":"978032090425724928","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/474ca6f3a54b70396325a9847904f071.jpg","nickName":"妈莎拉蒂","height":"192","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":20,"occupationCode":null,"occupation":null,"minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":33,"identityType":0,"identityTypeName":"本人"},{"miId":"976459697404121088","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/u=2476723377,1668644171&fm=253&gp=0.jpg","nickName":"808bass","height":"150","provinceCode":360000,"provinceName":"江西省","cityCode":360100,"cityName":"南昌市","domicilePlaceProvinceCode":360000,"domicilePlaceProvinceName":"江西省","domicilePlaceCityCode":360100,"domicilePlaceCityName":"南昌市","educationCode":0,"education":"高中及以下","age":21,"occupationCode":null,"occupation":null,"minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":360000,"hometownProvinceName":"江西省","hometownCityCode":360100,"hometownCityName":"南昌市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":51,"identityType":0,"identityTypeName":"本人"},{"miId":"972198811596361728","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/884c65f91e6b346bb7c9e26e750ce4d3.jpg","nickName":"可爱弓长张\uD83E\uDD86","height":"155","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":42,"occupationCode":60,"occupation":"秘书","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":63,"identityType":0,"identityTypeName":"本人"},{"miId":"971119252935413760","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/474ca6f3a54b70396325a9847904f071.jpg","nickName":"搬石头砸你的jio","height":"150","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":0,"education":"高中及以下","age":31,"occupationCode":null,"occupation":null,"minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":45,"identityType":0,"identityTypeName":"本人"},{"miId":"971117167598768128","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/d623055d903f2ac6e9677f85fa586eb0.jpg","nickName":"带你去浪漫的土耳其","height":"185","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":0,"education":"高中及以下","age":31,"occupationCode":null,"occupation":null,"minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":45,"identityType":0,"identityTypeName":"本人"},{"miId":"971114444845355008","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/7fa87b7954e5837c5aeb7488f2fca46e.jpg","nickName":"弱水三千,我只取你一瓢","height":"179","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":0,"education":"高中及以下","age":20,"occupationCode":37,"occupation":"物流专员","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"湖南衡阳人,在衡阳有两套房,目前在央企工作,是区域公司负责人。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":99,"identityType":0,"identityTypeName":"本人"},{"miId":"971104924324728832","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/5040c8ff3a9c29864b15926cb69a1c1e.jpg","nickName":"快乐小神仙","height":"184","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":0,"education":"高中及以下","age":65,"occupationCode":24,"occupation":"产品经理","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"我是一个比较开朗乐观的人,平常喜欢运动、阅读,热爱工作与生活,好奇心强,喜欢探究本质和深度思考,希望能遇到性格好,温柔善良,谈吐佳,气质优雅的她;感情需要的是包容和理解,世界没有两片相同的叶子,每个人的成长环境都不同,三观差不多就好,所处阶段和节奏也不同,不要在过分焦虑中向外攀比,要在看清一切后活出自在,如果你也是个有趣的灵魂,那我们一定能碰撞出灿烂的火花!","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":89,"identityType":0,"identityTypeName":"本人"},{"miId":"971045086328655872","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/ec1fda9c73eee8d0e2ff47c026dbe69b.jpg","nickName":"七月半","height":"158","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":0,"education":"高中及以下","age":44,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":"平时喜欢唱跳rpa篮球纯纯小黑子一枚。籍贯:老家湖南衡阳,目前在广州白云工作。职业:大专学历学的环保专业,毕业后一直在该行业摸爬滚打。性格:话唠和emo切换自如,性格直接,三观比五官正;急性子,脾气来得快走得快,不记仇,内心敏感且细腻;共情能力强偏感性。外貌:很遗憾没有过人颜值,个子不高,而且皮肤黑黄,头发还渐渐稀疏,最喜欢自己的鼻子。爱情观:不会随便开始一段感情,线上了解后可线下见面,还是希望偏线下了解,不养鱼也拒绝被养鱼。对待感情专一,认定了你就是唯一,因为我认为深情是件很酷的事情。理想中的你:诚实,善良,有比较强的共情能力。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":63,"identityType":0,"identityTypeName":"本人"},{"miId":"970695149304811520","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c91757deace453ee22c3d12ea9913bd0.jpg","nickName":"故事的小黄花","height":"184","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":27,"occupationCode":12,"occupation":"客服主管","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":"性格沉稳安静、不爱争吵计较,在感兴趣的领域会畅所欲言,对陌生的领域更多的是倾听。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":77,"identityType":0,"identityTypeName":"本人"},{"miId":"970692730097373184","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/9e62e2e3ad1b53d20a933a651c958201.jpg","nickName":"Te-amo","height":"173","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":32,"occupationCode":176,"occupation":"船长","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"未来我肯定会有自己的事业,不过,更倾向于work life balance的生活。不求大富大贵,只希望平安快乐。喜欢自由一些的生活。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":99,"identityType":0,"identityTypeName":"本人"},{"miId":"970373194894675968","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/aea0caca25438b7490305cd4c704d515.jpg","nickName":"有一个朋友","height":"183","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":35,"occupationCode":70,"occupation":"广告客户专员","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"男,89年,183/67。广东人,在上海工作,外企财务会计。寻觅一个三品好,三观一致的女生为伴。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSessionType":3,"meLike":false,"vip":false,"dataScoring":96,"identityType":0,"identityTypeName":"本人"},{"miId":"969971990200979456","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/889ca4abb2de5874d87a945e7d6f80f3.jpg","nickName":"梵高的野玫瑰","height":"198","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":23,"occupationCode":52,"occupation":"人事总监","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":"你让我心动 我让你心安 ;我知你冷暖 你懂我悲欢 ;你崇拜我像个英雄 我宠着你像个孩子 。我们都有自己的奋斗的事业和生活圈,即便再忙碌,能互相理解也能时刻牵挂着对方。没有太多的敏感 和猜忌 ,即使未来有大风大浪,我是你的靠山,你是我的避风港","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":94,"identityType":0,"identityTypeName":"本人"},{"miId":"969934975996661760","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/13430ed896298bcd0ac46f09bf29ece7.jpg","nickName":"常奇","height":"170","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":0,"education":"高中及以下","age":29,"occupationCode":23,"occupation":"网页设计","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":"性格沉稳安静、不爱争吵计较,在感兴趣的领域会畅所欲言,对陌生的领域更多的是倾听。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":96,"identityType":0,"identityTypeName":"本人"},{"miId":"969608057694851072","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/34811393cbe1d9507fd96f9f0fae0988.jpg","nickName":"关你西红柿","height":"195","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":19,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":37,"identityType":0,"identityTypeName":"本人"},{"miId":"969595655523799040","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/84340889d0e42c25a0a95016316e6362.jpg","nickName":"头比饭还要下","height":"172","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":55,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"大学时候参加过学校的歌唱比赛,也自学过吉他。目前工作比较忙,没太多业余时间。如果以后能换个加班少的工作,我希望能有空重拾音乐的爱好","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":40,"identityType":0,"identityTypeName":"本人"},{"miId":"969582409697857536","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/204a522bc6cd2816aba1a5d24b8b9446.jpg","nickName":"国产祖宗","height":"172","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":32,"occupationCode":null,"occupation":null,"minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":45,"identityType":0,"identityTypeName":"本人"},{"miId":"969579796478693376","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/45d5a86455d48686b6677c6e08c38294.jpg","nickName":"秀儿","height":"133","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":32,"occupationCode":null,"occupation":null,"minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":45,"identityType":0,"identityTypeName":"本人"},{"miId":"968964034521075712","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/d274c4228025fc173501e204a3341711.jpg","nickName":"油炸小柯","height":"143","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":40,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":35,"identityType":0,"identityTypeName":"本人"},{"miId":"968963047592955904","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/e245c18b37ad0183f8a548537e7b5613.jpg","nickName":"康桥","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":29,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"书香门第家庭,独生子,父母是泰州市的国企职工,即将退休,未来会有养老金,养老无压力。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":42,"identityType":0,"identityTypeName":"本人"},{"miId":"968871344534065152","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/73a607e091bfa2696e5c76ea282e3fad.jpg","nickName":"妞妞","height":"162","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":80,"occupationCode":null,"occupation":null,"minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":37,"identityType":0,"identityTypeName":"本人"},{"miId":"968864031416913920","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/59004ca9250de9fec6fbb95e6eed6760.jpg","nickName":"胖虎","height":"149","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":80,"occupationCode":null,"occupation":null,"minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":35,"identityType":0,"identityTypeName":"本人"},{"miId":"968858433887539200","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c5644ac57b91fad169833894a8409fb8.png","nickName":"忆江南","height":"184","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":18,"occupationCode":null,"occupation":null,"minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":37,"identityType":0,"identityTypeName":"本人"},{"miId":"968585615056703488","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b58d3b649f9d358fbbe896f5ec4ffc7b.jpg","nickName":"星星の泪光","height":"146","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":460000,"domicilePlaceProvinceName":"海南省","domicilePlaceCityCode":469034,"domicilePlaceCityName":"陵水黎族自治县","educationCode":0,"education":"高中及以下","age":29,"occupationCode":null,"occupation":null,"minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSessionType":3,"meLike":false,"vip":false,"dataScoring":37,"identityType":1,"identityTypeName":"父亲"}],"total":23,"size":1000,"current":1,"pages":1}}
|
|
</msg>
|
|
<msg timestamp="20240425 15:51:52.830" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.669" endtime="20240425 15:51:52.830"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${total}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>total</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240425 15:51:52.830" level="INFO">${total} = 23</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.830" endtime="20240425 15:51:52.830"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${totalList}</arg>
|
|
<arg>${total}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.830" endtime="20240425 15:51:52.830"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${totalList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240425 15:51:52.830" level="INFO">${totalList} = [14, 23]</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.830" endtime="20240425 15:51:52.830"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.665" endtime="20240425 15:51:52.830"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240425 15:51:52.520" endtime="20240425 15:51:52.830"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240425 15:51:52.437" endtime="20240425 15:51:52.830"/>
|
|
</kw>
|
|
<kw name="Then 数据库查询征婚资料数量-学历" library="NormalsearchResource">
|
|
<for flavor="IN ZIP">
|
|
<var>${genderCode}</var>
|
|
<var>${total}</var>
|
|
<value>${genderCodeList}</value>
|
|
<value>${totalList}</value>
|
|
<iter>
|
|
<var name="${genderCode}">1</var>
|
|
<var name="${total}">14</var>
|
|
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
|
|
<arg>pymysql</arg>
|
|
<arg>database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'</arg>
|
|
<doc>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`.</doc>
|
|
<msg timestamp="20240425 15:51:52.865" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221')) </msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.830" endtime="20240425 15:51:52.896"/>
|
|
</kw>
|
|
<kw name="Set Variable If" library="BuiltIn">
|
|
<var>${checkData}</var>
|
|
<arg>${genderCode}==None</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<arg>${genderCode}==0</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<arg>${genderCode}==1</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '0' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<doc>Sets variable based on the given condition.</doc>
|
|
<kw name="Set Variable If" library="BuiltIn">
|
|
<arg>${genderCode}==0</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<arg>${genderCode}==1</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '0' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<doc>Sets variable based on the given condition.</doc>
|
|
<kw name="Set Variable If" library="BuiltIn">
|
|
<arg>${genderCode}==1</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '0' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<doc>Sets variable based on the given condition.</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.896" endtime="20240425 15:51:52.896"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.896" endtime="20240425 15:51:52.896"/>
|
|
</kw>
|
|
<msg timestamp="20240425 15:51:52.896" level="INFO">${checkData} = SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '0' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '0' AND `education` = '高中及以下...</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.896" endtime="20240425 15:51:52.896"/>
|
|
</kw>
|
|
<kw name="Query" library="DatabaseLibrary">
|
|
<var>${check}</var>
|
|
<arg>${checkData}</arg>
|
|
<doc>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.</doc>
|
|
<msg timestamp="20240425 15:51:52.896" level="INFO">Executing : Query | SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '0' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '0' AND `education` = '高中及以下' </msg>
|
|
<msg timestamp="20240425 15:51:52.929" level="INFO">${check} = ((14,),)</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.896" endtime="20240425 15:51:52.929"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${count}</var>
|
|
<arg>${check[0][0]}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:52.930" level="INFO">${count} = 14</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.929" endtime="20240425 15:51:52.930"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Numbers" library="BuiltIn">
|
|
<arg>${count}</arg>
|
|
<arg>${total}</arg>
|
|
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
|
|
<msg timestamp="20240425 15:51:52.930" level="DEBUG">Argument types are:
|
|
<class 'int'>
|
|
<class 'int'></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.930" endtime="20240425 15:51:52.930"/>
|
|
</kw>
|
|
<kw name="Disconnect From Database" library="DatabaseLibrary">
|
|
<doc>Disconnects from the database.</doc>
|
|
<msg timestamp="20240425 15:51:52.931" level="INFO">Executing : Disconnect From Database</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.931" endtime="20240425 15:51:52.931"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.830" endtime="20240425 15:51:52.931"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${genderCode}">None</var>
|
|
<var name="${total}">23</var>
|
|
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
|
|
<arg>pymysql</arg>
|
|
<arg>database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'</arg>
|
|
<doc>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`.</doc>
|
|
<msg timestamp="20240425 15:51:52.931" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221')) </msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.931" endtime="20240425 15:51:52.962"/>
|
|
</kw>
|
|
<kw name="Set Variable If" library="BuiltIn">
|
|
<var>${checkData}</var>
|
|
<arg>${genderCode}==None</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<arg>${genderCode}==0</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<arg>${genderCode}==1</arg>
|
|
<arg>SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '0' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '${educationCode}' AND `education` = '${education}'</arg>
|
|
<doc>Sets variable based on the given condition.</doc>
|
|
<msg timestamp="20240425 15:51:52.978" level="INFO">${checkData} = SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '0' AND `education` = '高中及以下'</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.962" endtime="20240425 15:51:52.978"/>
|
|
</kw>
|
|
<kw name="Query" library="DatabaseLibrary">
|
|
<var>${check}</var>
|
|
<arg>${checkData}</arg>
|
|
<doc>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.</doc>
|
|
<msg timestamp="20240425 15:51:52.978" level="INFO">Executing : Query | SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `profile_photo` <> 'null' AND `is_delete` = '0' AND `education_code` = '0' AND `education` = '高中及以下' </msg>
|
|
<msg timestamp="20240425 15:51:52.997" level="INFO">${check} = ((23,),)</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.978" endtime="20240425 15:51:52.997"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${count}</var>
|
|
<arg>${check[0][0]}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240425 15:51:52.998" level="INFO">${count} = 23</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.997" endtime="20240425 15:51:52.998"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Numbers" library="BuiltIn">
|
|
<arg>${count}</arg>
|
|
<arg>${total}</arg>
|
|
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
|
|
<msg timestamp="20240425 15:51:52.999" level="DEBUG">Argument types are:
|
|
<class 'int'>
|
|
<class 'int'></msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.999" endtime="20240425 15:51:52.999"/>
|
|
</kw>
|
|
<kw name="Disconnect From Database" library="DatabaseLibrary">
|
|
<doc>Disconnects from the database.</doc>
|
|
<msg timestamp="20240425 15:51:52.999" level="INFO">Executing : Disconnect From Database</msg>
|
|
<status status="PASS" starttime="20240425 15:51:52.999" endtime="20240425 15:51:52.999"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.931" endtime="20240425 15:51:52.999"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240425 15:51:52.830" endtime="20240425 15:51:53.000"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240425 15:51:52.830" endtime="20240425 15:51:53.000"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240425 15:51:52.262" endtime="20240425 15:51:53.000"/>
|
|
</test>
|
|
<doc>普通搜索</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.239" endtime="20240425 15:51:53.000"/>
|
|
</suite>
|
|
<doc>相亲页面</doc>
|
|
<status status="PASS" starttime="20240425 15:51:52.239" endtime="20240425 15:51:53.001"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240425 15:51:52.239" endtime="20240425 15:51:53.002"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240425 15:51:52.239" endtime="20240425 15:51:53.003"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240425 15:51:51.472" endtime="20240425 15:51:53.003"/>
|
|
</suite>
|
|
<statistics>
|
|
<total>
|
|
<stat pass="2" fail="0" skip="0">All Tests</stat>
|
|
</total>
|
|
<tag>
|
|
</tag>
|
|
<suite>
|
|
<stat pass="2" fail="0" skip="0" id="s1" name="Dating-agency">Dating-agency</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s1" name="0-Login">Dating-agency.0-Login</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s1-s1" name="Login-interface">Dating-agency.0-Login.Login-interface</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2" name="1-Applet">Dating-agency.1-Applet</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2-s1" name="2-Homepage">Dating-agency.1-Applet.2-Homepage</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2-s1-s1" name="BlindDate">Dating-agency.1-Applet.2-Homepage.BlindDate</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2-s1-s1-s1" name="NormalSearch">Dating-agency.1-Applet.2-Homepage.BlindDate.NormalSearch</stat>
|
|
</suite>
|
|
</statistics>
|
|
<errors>
|
|
</errors>
|
|
</robot>
|