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.
2092 lines
170 KiB
2092 lines
170 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240420 12:08:09.221" 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="20240420 12:08:09.253" endtime="20240420 12:08:09.253"/>
|
|
</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="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</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="20240420 12:08:09.599" 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="20240420 12:08:09.599" level="INFO">${file} = 手机号
|
|
13448902715
|
|
13525397706</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</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="20240420 12:08:09.599" level="INFO">${skip-line} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</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="20240420 12:08:09.599" level="INFO">${lines} = -1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</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="20240420 12:08:09.599" level="INFO">2 out of 3 lines matched</msg>
|
|
<msg timestamp="20240420 12:08:09.599" level="INFO">${content} = 13448902715
|
|
13525397706</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${id}</var>
|
|
<value>${content}</value>
|
|
<iter>
|
|
<var name="${id}">13448902715
|
|
13525397706</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="20240420 12:08:09.599" level="INFO">${id} = ['13448902715', '13525397706']</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</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="20240420 12:08:09.599" level="INFO">${id} = ['13448902715', '13525397706']</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.599"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.611"/>
|
|
</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="20240420 12:08:09.611" level="INFO">${userid_list} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.611" endtime="20240420 12:08:09.611"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Cheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240420 12:08:09.612" level="INFO">${Cheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.612" endtime="20240420 12:08:09.612"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Aheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240420 12:08:09.612" level="INFO">${Aheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.612" endtime="20240420 12:08:09.612"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${phoneList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240420 12:08:09.614" level="INFO">${phoneList} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.614" endtime="20240420 12:08:09.614"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${account}</var>
|
|
<value>@{id}</value>
|
|
<iter>
|
|
<var name="${account}">13448902715</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240420 12:08:09.614" endtime="20240420 12:08:09.614"/>
|
|
</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="20240420 12:08:09.616" 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="20240420 12:08:09.616" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.615" endtime="20240420 12:08:09.616"/>
|
|
</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="20240420 12:08:09.616" level="INFO">${data} = { "account":"13448902715", "accountType":2, "captcha":888888 }</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.616" endtime="20240420 12:08:09.616"/>
|
|
</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="20240420 12:08:09.619" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:09.698" 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="20240420 12:08:09.698" 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":"13448902715", "accountType":2, "captcha":888888 }'
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.698" 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': 'Sat, 20 Apr 2024 04:08:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==","userId":"978668893159690240"}}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.698" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.616" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" level="INFO">${code} = 0</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" level="INFO">${userId} = 978668893159690240</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.698" endtime="20240420 12:08:09.698"/>
|
|
</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="20240420 12:08:09.714" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.714" endtime="20240420 12:08:09.714"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.714" endtime="20240420 12:08:09.714"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.614" endtime="20240420 12:08:09.714"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${account}">13525397706</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240420 12:08:09.714" endtime="20240420 12:08:09.714"/>
|
|
</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="20240420 12:08:09.714" 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="20240420 12:08:09.714" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.714" endtime="20240420 12:08:09.714"/>
|
|
</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="20240420 12:08:09.714" level="INFO">${data} = { "account":"13525397706", "accountType":2, "captcha":888888 }</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.714" endtime="20240420 12:08:09.714"/>
|
|
</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="20240420 12:08:09.714" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:09.793" 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="20240420 12:08:09.793" 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":"13525397706", "accountType":2, "captcha":888888 }'
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.793" 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': 'Sat, 20 Apr 2024 04:08:24 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==","userId":"978668872108478464"}}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.793" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.714" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${code} = 0</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${userId} = 978668872108478464</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.714" endtime="20240420 12:08:09.793"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240420 12:08:09.614" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${phoneList} = ['13448902715', '13525397706']</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${userid_list} = ['978668893159690240', '978668872108478464']</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==','X-Organization-Id':'...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.793" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}", "{'Content-Type':'...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.793"/>
|
|
</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="20240420 12:08:09.808" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.793" endtime="20240420 12:08:09.808"/>
|
|
</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="20240420 12:08:09.808" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.808" endtime="20240420 12:08:09.808"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.611" endtime="20240420 12:08:09.809"/>
|
|
</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="20240420 12:08:09.809" level="INFO">${Aheader} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.809" endtime="20240420 12:08:09.809"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${login_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Aheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">978668893159690240</var>
|
|
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==','X-Organization-Id':'96...</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240420 12:08:09.809" endtime="20240420 12:08:09.809"/>
|
|
</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="20240420 12:08:09.809" 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:09.809" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.809" endtime="20240420 12:08:09.809"/>
|
|
</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="20240420 12:08:09.809" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:09.848" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=978668893159690240 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:09.848" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668893159690240
|
|
path_url=/dating-agency-uec/user/list/own-organization?userId=978668893159690240
|
|
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.849" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668893159690240
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":[]}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.849" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.809" endtime="20240420 12:08:09.849"/>
|
|
</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="20240420 12:08:09.850" level="INFO">${data} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.849" endtime="20240420 12:08:09.850"/>
|
|
</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="20240420 12:08:09.850" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.850" endtime="20240420 12:08:09.850"/>
|
|
</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="20240420 12:08:09.850" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.850" endtime="20240420 12:08:09.850"/>
|
|
</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="20240420 12:08:09.850" level="INFO">未获取到组织信息!</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.850" endtime="20240420 12:08:09.850"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.850" endtime="20240420 12:08:09.850"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.809" endtime="20240420 12:08:09.850"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${userId}">978668872108478464</var>
|
|
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==','X-Organization-Id':'96...</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240420 12:08:09.850" endtime="20240420 12:08:09.850"/>
|
|
</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="20240420 12:08:09.850" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:09.850" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.850" endtime="20240420 12:08:09.850"/>
|
|
</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="20240420 12:08:09.850" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:09.882" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=978668872108478464 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:09.882" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668872108478464
|
|
path_url=/dating-agency-uec/user/list/own-organization?userId=978668872108478464
|
|
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.882" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668872108478464
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":[]}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.882" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.850" endtime="20240420 12:08:09.882"/>
|
|
</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="20240420 12:08:09.882" level="INFO">${data} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.882" endtime="20240420 12:08:09.882"/>
|
|
</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="20240420 12:08:09.882" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.882" endtime="20240420 12:08:09.882"/>
|
|
</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="20240420 12:08:09.882" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.882" endtime="20240420 12:08:09.882"/>
|
|
</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="20240420 12:08:09.882" level="INFO">未获取到组织信息!</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.882" endtime="20240420 12:08:09.882"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.882" endtime="20240420 12:08:09.882"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.850" endtime="20240420 12:08:09.882"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240420 12:08:09.809" endtime="20240420 12:08:09.882"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240420 12:08:09.809" endtime="20240420 12:08:09.882"/>
|
|
</kw>
|
|
<kw name="And 获取婚介平台用户baseinfo" library="LoginResource" sourcename="获取${dating}平台用户baseinfo">
|
|
<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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==','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="20240420 12:08:09.898" 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:09.898" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.898" endtime="20240420 12:08:09.898"/>
|
|
</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="20240420 12:08:09.898" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:09.945" 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="20240420 12:08:09.945" 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.945" 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': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"userId":"978668893159690240","realName":null,"nickName":null,"phone":"13448902715","matchmakerFlag":false}}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.945" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.898" endtime="20240420 12:08:09.945"/>
|
|
</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="20240420 12:08:09.945" level="INFO">${phone} = 13448902715</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.945" endtime="20240420 12:08:09.945"/>
|
|
</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="20240420 12:08:09.945" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.945" endtime="20240420 12:08:09.945"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.882" endtime="20240420 12:08:09.945"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==','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="20240420 12:08:09.945" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:09.945" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.945" endtime="20240420 12:08:09.945"/>
|
|
</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="20240420 12:08:09.945" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:09.992" 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="20240420 12:08:09.992" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.992" 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': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"userId":"978668872108478464","realName":null,"nickName":null,"phone":"13525397706","matchmakerFlag":false}}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:09.992" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.945" endtime="20240420 12:08:09.992"/>
|
|
</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="20240420 12:08:09.992" level="INFO">${phone} = 13525397706</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.992" endtime="20240420 12:08:09.992"/>
|
|
</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="20240420 12:08:09.992" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.992" endtime="20240420 12:08:09.992"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.945" endtime="20240420 12:08:09.992"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240420 12:08:09.882" endtime="20240420 12:08:09.992"/>
|
|
</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="20240420 12:08:09.992" level="INFO">${phone} = 13525397706</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.992" endtime="20240420 12:08:09.992"/>
|
|
</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="20240420 12:08:09.992" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240420 12:08:09.992" endtime="20240420 12:08:09.992"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.882" endtime="20240420 12:08:09.992"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:09.599" endtime="20240420 12:08:09.992"/>
|
|
</test>
|
|
<doc>接口:短信验证码登录认证</doc>
|
|
<status status="PASS" starttime="20240420 12:08:09.253" endtime="20240420 12:08:09.992"/>
|
|
</suite>
|
|
<doc>用户登录婚介平台</doc>
|
|
<status status="PASS" starttime="20240420 12:08:09.253" endtime="20240420 12:08:09.992"/>
|
|
</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="MarriageInfo" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\2-Homepage\MarriageInfo">
|
|
<suite id="s1-s2-s1-s1-s1" name="DataAuthentication" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\2-Homepage\MarriageInfo\DataAuthentication.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="20240420 12:08:10.065" endtime="20240420 12:08:10.065"/>
|
|
</kw>
|
|
<test id="s1-s2-s1-s1-s1-t1" name="提交征婚人的收入信息" line="76">
|
|
<kw name="Given 查询婚介征婚人的资料信息" library="Authentication" sourcename="查询${dating}征婚人的资料信息">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${miId_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240420 12:08:10.065" level="INFO">${miId_list} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.065" endtime="20240420 12:08:10.065"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${client_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Cheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">978668893159690240</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}</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="20240420 12:08:10.065" 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.065" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.065" endtime="20240420 12:08:10.065"/>
|
|
</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="20240420 12:08:10.065" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.159" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=978668893159690240 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.159" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668893159690240
|
|
path_url=/dating-agency-service/user/get/marriage/information/details?userId=978668893159690240
|
|
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">IBM866 Russian confidence = 0.06233323997387445</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">IBM855 Russian confidence = 0.15432015721687364</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">TIS-620 Thai confidence = 0.031048402457021194</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3945387191932284</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668893159690240
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"id":"978733730317340672","isDelete":false,"createTime":"2024-04-19 16:19:30","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"可乐无糖加冰","name":null,"profilePhoto":null,"identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440113,"cityName":"广州市","districtCode":440113,"districtName":"番禺区","birthYear":"2004","birthDate":null,"constellationCode":6,"constellation":"巨蟹座","chineseZodiacCode":null,"chineseZodiac":null,"height":141,"weight":null,"educationCode":0,"education":"高中及以下","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","diplomaVerificationCode":"242346791016784009","describeInfo":null,"identityType":2,"identityTypeName":null,"domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"nationCode":1,"nation":"汉族","bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":1,"accountTypeName":"农村","nationalityCode":null,"nationality":null,"nativePlaceCode":440000,"nativePlaceName":"广东省","industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":0,"carPurchaseSituationCode":1,"carPurchaseSituation":"已购车","propertyPermitsCode":0,"propertyPermits":"和家人同住","wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","auditProfilePhoto":{"id":"978739372855791616","isDelete":null,"createTime":"2024-04-19 16:41:56","updateTime":null,"event":null,"miId":null,"photoType":0,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/80d9c390581014ea327efabc749cf042.jpg","auditImgId":null,"auditStatus":0},"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":44}}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.065" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" level="INFO">${miId} = 978733730317340672</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" level="INFO">${nickName} = 可乐无糖加冰</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" level="INFO">${miId_list} = ['978733730317340672']</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${nickName}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.163" level="INFO">${nickName} = 可乐无糖加冰</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${genderCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.163" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.065" endtime="20240420 12:08:10.163"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${userId}">978668872108478464</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}</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="20240420 12:08:10.163" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.163" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.163"/>
|
|
</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="20240420 12:08:10.163" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.234" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=978668872108478464 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.234" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668872108478464
|
|
path_url=/dating-agency-service/user/get/marriage/information/details?userId=978668872108478464
|
|
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">MacCyrillic Russian confidence = 0.018110850623675352</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">IBM866 Russian confidence = 0.05456474226363727</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">IBM855 Russian confidence = 0.10318973029768515</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">TIS-620 Thai confidence = 0.03712441076563591</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3897179068631823</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668872108478464
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"id":"978733732204777472","isDelete":false,"createTime":"2024-04-19 16:19:31","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"牛仔","name":null,"profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/509b08c2ae6f1291d750bfae96a60a44.jpg","identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440111,"cityName":"广州市","districtCode":440111,"districtName":"白云区","birthYear":"2004","birthDate":null,"constellationCode":7,"constellation":"狮子座","chineseZodiacCode":null,"chineseZodiac":null,"height":140,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"059010366173440746","describeInfo":null,"identityType":0,"identityTypeName":null,"domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"nationCode":1,"nation":"汉族","bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":1,"accountTypeName":"农村","nationalityCode":null,"nationality":null,"nativePlaceCode":440000,"nativePlaceName":"广东省","industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":0,"carPurchaseSituationCode":1,"carPurchaseSituation":"已购车","propertyPermitsCode":0,"propertyPermits":"和家人同住","wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","auditProfilePhoto":null,"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":59}}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.251"/>
|
|
</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="20240420 12:08:10.251" level="INFO">${miId} = 978733732204777472</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</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="20240420 12:08:10.251" level="INFO">${nickName} = 牛仔</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</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="20240420 12:08:10.251" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</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="20240420 12:08:10.251" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</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="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</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="20240420 12:08:10.251" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</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="20240420 12:08:10.251" level="INFO">${miId_list} = ['978733730317340672', '978733732204777472']</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${nickName}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.251" level="INFO">${nickName} = 牛仔</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${genderCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.251" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</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="20240420 12:08:10.251" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.163" endtime="20240420 12:08:10.251"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240420 12:08:10.065" endtime="20240420 12:08:10.251"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240420 12:08:10.065" endtime="20240420 12:08:10.251"/>
|
|
</kw>
|
|
<kw name="When 提交婚介征婚人的月收入" library="Authentication" sourcename="提交${dating}征婚人的月收入">
|
|
<for flavor="IN ZIP">
|
|
<var>${miId}</var>
|
|
<var>${client_header}</var>
|
|
<value>${miId_list}</value>
|
|
<value>${Cheader_list}</value>
|
|
<iter>
|
|
<var name="${miId}">978733730317340672</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}</var>
|
|
<kw name="查询婚介月收入数据字典" library="Authentication" sourcename="查询${dating}月收入数据字典">
|
|
<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="20240420 12:08:10.251" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.251" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.251"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/get/income/list</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240420 12:08:10.266" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.282" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/income/list HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/income/list
|
|
path_url=/dating-agency-service/user/get/income/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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">SHIFT_JIS Japanese prober hit error at byte 70</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-JP Japanese prober hit error at byte 69</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-KR Korean prober hit error at byte 69</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-TW Taiwan prober hit error at byte 68</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">utf-8 confidence = 0.938125</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">SHIFT_JIS not active</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-JP not active</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-KR not active</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-TW not active</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">MacCyrillic Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">windows-1251 Bulgarian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">TIS-620 Thai confidence = 0.35982121203616346</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">ISO-8859-9 Turkish confidence = 0.42755994894015487</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">utf-8 confidence = 0.938125</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">SHIFT_JIS not active</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-JP not active</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-KR not active</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">EUC-TW not active</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/income/list
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":[{"value":0,"desc":"3000以下"},{"value":1,"desc":"3001~5000"},{"value":2,"desc":"5001~8000"},{"value":3,"desc":"8001~12000"},{"value":4,"desc":"12001~20000"},{"value":5,"desc":"20001~50000"},{"value":6,"desc":"50000以上"}]}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.266" endtime="20240420 12:08:10.298"/>
|
|
</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="20240420 12:08:10.298" level="INFO">${data} = [{'value': 0, 'desc': '3000以下'}, {'value': 1, 'desc': '3001~5000'}, {'value': 2, 'desc': '5001~8000'}, {'value': 3, 'desc': '8001~12000'}, {'value': 4, 'desc': '12001~20000'}, {'value': 5, 'desc': '20...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${incomeData}</var>
|
|
<arg>random.choice(${data})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">${incomeData} = {'value': 4, 'desc': '12001~20000'}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${income}</var>
|
|
<arg>${incomeData}</arg>
|
|
<arg>desc</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">${income} = 12001~20000</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${incomeCode}</var>
|
|
<arg>${incomeData}</arg>
|
|
<arg>value</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">${incomeCode} = 4</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${income}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">${income} = 12001~20000</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${incomeCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">${incomeCode} = 4</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<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="20240420 12:08:10.298" 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{"id":"${miId}","income":"${income}","incomeCode":${incomeCode}}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240420 12:08:10.298" level="INFO">${data} = {"id":"978733730317340672","income":"12001~20000","incomeCode":4}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.298"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/save/marriage/Information</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240420 12:08:10.298" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.369" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-service/user/save/marriage/Information HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.369" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/Information
|
|
path_url=/dating-agency-service/user/save/marriage/Information
|
|
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==', 'Content-Length': '65'}
|
|
body=b'{"id":"978733730317340672","income":"12001~20000","incomeCode":4}'
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.369" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/Information
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":"978733730317340672"}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.369" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.298" endtime="20240420 12:08:10.369"/>
|
|
</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="20240420 12:08:10.369" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.369" endtime="20240420 12:08:10.369"/>
|
|
</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="20240420 12:08:10.369" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.369" endtime="20240420 12:08:10.369"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.369"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${miId}">978733732204777472</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}</var>
|
|
<kw name="查询婚介月收入数据字典" library="Authentication" sourcename="查询${dating}月收入数据字典">
|
|
<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="20240420 12:08:10.369" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.369" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.369" endtime="20240420 12:08:10.369"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/get/income/list</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240420 12:08:10.369" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/income/list HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/income/list
|
|
path_url=/dating-agency-service/user/get/income/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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">SHIFT_JIS Japanese prober hit error at byte 70</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-JP Japanese prober hit error at byte 69</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-KR Korean prober hit error at byte 69</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-TW Taiwan prober hit error at byte 68</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">utf-8 confidence = 0.938125</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">SHIFT_JIS not active</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-JP not active</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-KR not active</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-TW not active</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">MacCyrillic Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">windows-1251 Bulgarian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">TIS-620 Thai confidence = 0.35982121203616346</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">ISO-8859-9 Turkish confidence = 0.42755994894015487</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">utf-8 confidence = 0.938125</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">SHIFT_JIS not active</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-JP not active</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-KR not active</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">EUC-TW not active</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/income/list
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":[{"value":0,"desc":"3000以下"},{"value":1,"desc":"3001~5000"},{"value":2,"desc":"5001~8000"},{"value":3,"desc":"8001~12000"},{"value":4,"desc":"12001~20000"},{"value":5,"desc":"20001~50000"},{"value":6,"desc":"50000以上"}]}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.369" endtime="20240420 12:08:10.410"/>
|
|
</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="20240420 12:08:10.410" level="INFO">${data} = [{'value': 0, 'desc': '3000以下'}, {'value': 1, 'desc': '3001~5000'}, {'value': 2, 'desc': '5001~8000'}, {'value': 3, 'desc': '8001~12000'}, {'value': 4, 'desc': '12001~20000'}, {'value': 5, 'desc': '20...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${incomeData}</var>
|
|
<arg>random.choice(${data})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">${incomeData} = {'value': 2, 'desc': '5001~8000'}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${income}</var>
|
|
<arg>${incomeData}</arg>
|
|
<arg>desc</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">${income} = 5001~8000</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${incomeCode}</var>
|
|
<arg>${incomeData}</arg>
|
|
<arg>value</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">${incomeCode} = 2</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${income}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">${income} = 5001~8000</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${incomeCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">${incomeCode} = 2</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.369" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<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="20240420 12:08:10.410" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.410" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{"id":"${miId}","income":"${income}","incomeCode":${incomeCode}}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240420 12:08:10.410" level="INFO">${data} = {"id":"978733732204777472","income":"5001~8000","incomeCode":2}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.410"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/save/marriage/Information</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240420 12:08:10.426" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.497" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-service/user/save/marriage/Information HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.497" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/Information
|
|
path_url=/dating-agency-service/user/save/marriage/Information
|
|
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==', 'Content-Length': '63'}
|
|
body=b'{"id":"978733732204777472","income":"5001~8000","incomeCode":2}'
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.497" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/Information
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":"978733732204777472"}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.497" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.410" endtime="20240420 12:08:10.497"/>
|
|
</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="20240420 12:08:10.497" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:10.497"/>
|
|
</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="20240420 12:08:10.497" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:10.497"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.369" endtime="20240420 12:08:10.497"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.497"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240420 12:08:10.251" endtime="20240420 12:08:10.497"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.065" endtime="20240420 12:08:10.497"/>
|
|
</test>
|
|
<test id="s1-s2-s1-s1-s1-t2" name="提交征婚人的职业" line="84">
|
|
<kw name="Given 查询婚介征婚人的资料信息" library="Authentication" sourcename="查询${dating}征婚人的资料信息">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${miId_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240420 12:08:10.497" level="INFO">${miId_list} = []</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:10.497"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${client_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Cheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">978668893159690240</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}</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="20240420 12:08:10.497" 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.497" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:10.497"/>
|
|
</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="20240420 12:08:10.497" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.562" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=978668893159690240 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.562" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668893159690240
|
|
path_url=/dating-agency-service/user/get/marriage/information/details?userId=978668893159690240
|
|
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">IBM866 Russian confidence = 0.06233323997387445</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">IBM855 Russian confidence = 0.15432015721687364</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">TIS-620 Thai confidence = 0.031048402457021194</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3945387191932284</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668893159690240
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"id":"978733730317340672","isDelete":false,"createTime":"2024-04-19 16:19:30","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"可乐无糖加冰","name":null,"profilePhoto":null,"identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440113,"cityName":"广州市","districtCode":440113,"districtName":"番禺区","birthYear":"2004","birthDate":null,"constellationCode":6,"constellation":"巨蟹座","chineseZodiacCode":null,"chineseZodiac":null,"height":141,"weight":null,"educationCode":0,"education":"高中及以下","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","diplomaVerificationCode":"242346791016784009","describeInfo":null,"identityType":2,"identityTypeName":null,"domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"nationCode":1,"nation":"汉族","bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":1,"accountTypeName":"农村","nationalityCode":null,"nationality":null,"nativePlaceCode":440000,"nativePlaceName":"广东省","industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":0,"carPurchaseSituationCode":1,"carPurchaseSituation":"已购车","propertyPermitsCode":0,"propertyPermits":"和家人同住","wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","auditProfilePhoto":{"id":"978739372855791616","isDelete":null,"createTime":"2024-04-19 16:41:56","updateTime":null,"event":null,"miId":null,"photoType":0,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/80d9c390581014ea327efabc749cf042.jpg","auditImgId":null,"auditStatus":0},"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":44}}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:10.578"/>
|
|
</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="20240420 12:08:10.578" level="INFO">${miId} = 978733730317340672</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</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="20240420 12:08:10.578" level="INFO">${nickName} = 可乐无糖加冰</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</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="20240420 12:08:10.578" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</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="20240420 12:08:10.578" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</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="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</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="20240420 12:08:10.578" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</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="20240420 12:08:10.578" level="INFO">${miId_list} = ['978733730317340672']</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${nickName}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.578" level="INFO">${nickName} = 可乐无糖加冰</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${genderCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.578" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</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="20240420 12:08:10.578" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.578"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:10.578"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${userId}">978668872108478464</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}</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="20240420 12:08:10.578" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.578" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.593"/>
|
|
</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="20240420 12:08:10.593" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.660" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=978668872108478464 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.661" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668872108478464
|
|
path_url=/dating-agency-service/user/get/marriage/information/details?userId=978668872108478464
|
|
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">MacCyrillic Russian confidence = 0.018110850623675352</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">IBM866 Russian confidence = 0.05456474226363727</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">IBM855 Russian confidence = 0.10318973029768515</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">TIS-620 Thai confidence = 0.03712441076563591</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3897179068631823</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668872108478464
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"id":"978733732204777472","isDelete":false,"createTime":"2024-04-19 16:19:31","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"牛仔","name":null,"profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/509b08c2ae6f1291d750bfae96a60a44.jpg","identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440111,"cityName":"广州市","districtCode":440111,"districtName":"白云区","birthYear":"2004","birthDate":null,"constellationCode":7,"constellation":"狮子座","chineseZodiacCode":null,"chineseZodiac":null,"height":140,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","diplomaVerificationCode":"059010366173440746","describeInfo":null,"identityType":0,"identityTypeName":null,"domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"nationCode":1,"nation":"汉族","bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":1,"accountTypeName":"农村","nationalityCode":null,"nationality":null,"nativePlaceCode":440000,"nativePlaceName":"广东省","industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":0,"carPurchaseSituationCode":1,"carPurchaseSituation":"已购车","propertyPermitsCode":0,"propertyPermits":"和家人同住","wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","auditProfilePhoto":null,"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":59}}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.593" endtime="20240420 12:08:10.666"/>
|
|
</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="20240420 12:08:10.666" level="INFO">${miId} = 978733732204777472</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</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="20240420 12:08:10.666" level="INFO">${nickName} = 牛仔</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</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="20240420 12:08:10.666" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</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="20240420 12:08:10.666" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</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="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</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="20240420 12:08:10.666" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</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="20240420 12:08:10.666" level="INFO">${miId_list} = ['978733730317340672', '978733732204777472']</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${nickName}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.666" level="INFO">${nickName} = 牛仔</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${genderCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.666" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</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="20240420 12:08:10.666" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.578" endtime="20240420 12:08:10.666"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:10.666"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:10.666"/>
|
|
</kw>
|
|
<kw name="Then 提交婚介征婚人的职业" library="Authentication" sourcename="提交${dating}征婚人的职业">
|
|
<for flavor="IN ZIP">
|
|
<var>${miId}</var>
|
|
<var>${client_header}</var>
|
|
<value>${miId_list}</value>
|
|
<value>${Cheader_list}</value>
|
|
<iter>
|
|
<var name="${miId}">978733730317340672</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}</var>
|
|
<kw name="查询婚介职业数据字典" library="Authentication" sourcename="查询${dating}职业数据字典">
|
|
<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="20240420 12:08:10.666" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.666" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.666"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/get/occupation/list</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240420 12:08:10.682" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.731" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/occupation/list HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.731" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/occupation/list
|
|
path_url=/dating-agency-service/user/get/occupation/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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">MacCyrillic Russian confidence = 0.01517159254432644</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">IBM866 Russian confidence = 0.08885740689853067</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">IBM855 Russian confidence = 0.045585567130113906</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">TIS-620 Thai confidence = 0.0964301898373406</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">ISO-8859-9 Turkish confidence = 0.2613377570974015</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/occupation/list
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":[{"industryCode":1,"industry":"销售","occupationList":[{"occupationCode":1,"occupation":"销售总监"},{"occupationCode":2,"occupation":"销售经理"},{"occupationCode":3,"occupation":"销售主管"},{"occupationCode":4,"occupation":"销售专员"},{"occupationCode":5,"occupation":"渠道/分销管理"},{"occupationCode":6,"occupation":"渠道/分销专员"},{"occupationCode":7,"occupation":"经销商"},{"occupationCode":8,"occupation":"客户经理"},{"occupationCode":9,"occupation":"客户代表"},{"occupationCode":10,"occupation":"销售工程师"}]},{"industryCode":2,"industry":"客户服务","occupationList":[{"occupationCode":11,"occupation":"客服经理"},{"occupationCode":12,"occupation":"客服主管"},{"occupationCode":13,"occupation":"客服专员"},{"occupationCode":14,"occupation":"客服协调"},{"occupationCode":15,"occupation":"客服技术支持"}]},{"industryCode":3,"industry":"互联网/通信","occupationList":[{"occupationCode":16,"occupation":"技术总监"},{"occupationCode":17,"occupation":"技术经理"},{"occupationCode":18,"occupation":"工程师"},{"occupationCode":19,"occupation":"运维人员"},{"occupationCode":20,"occupation":"测试专员"},{"occupationCode":21,"occupation":"运营管理"},{"occupationCode":22,"occupation":"运营专员"},{"occupationCode":23,"occupation":"网页设计"},{"occupationCode":24,"occupation":"产品经理"}]},{"industryCode":4,"industry":"生产制造","occupationList":[{"occupationCode":25,"occupation":"工厂经理"},{"occupationCode":26,"occupation":"工程师"},{"occupationCode":27,"occupation":"项目主管"},{"occupationCode":28,"occupation":"营运经理"},{"occupationCode":29,"occupation":"营运主管"},{"occupationCode":30,"occupation":"车间主任"},{"occupationCode":31,"occupation":"物料管理"},{"occupationCode":32,"occupation":"生产领班"},{"occupationCode":33,"occupation":"操作工人"},{"occupationCode":34,"occupation":"安全管理"}]},{"industryCode":5,"industry":"物流仓储","occupationList":[{"occupationCode":35,"occupation":"物流经理"},{"occupationCode":36,"occupation":"物流主管"},{"occupationCode":37,"occupation":"物流专员"},{"occupationCode":38,"occupation":"仓库经理"},{"occupationCode":39,"occupation":"仓库管理员"},{"occupationCode":40,"occupation":"货运代理"},{"occupationCode":41,"occupation":"海关事务管理"},{"occupationCode":42,"occupation":"报单员"},{"occupationCode":43,"occupation":"快递员"}]},{"industryCode":6,"industry":"商贸/采购","occupationList":[{"occupationCode":44,"occupation":"商务经理"},{"occupationCode":45,"occupation":"商务专员"},{"occupationCode":46,"occupation":"采购经理"},{"occupationCode":47,"occupation":"采购专员"},{"occupationCode":48,"occupation":"外贸经理"},{"occupationCode":49,"occupation":"外贸专员"},{"occupationCode":50,"occupation":"业务跟单"},{"occupationCode":51,"occupation":"报关员"}]},{"industryCode":7,"industry":"人事/行政","occupationList":[{"occupationCode":52,"occupation":"人事总监"},{"occupationCode":53,"occupation":"人事经理"},{"occupationCode":54,"occupation":"人事主管"},{"occupationCode":55,"occupation":"人事专员"},{"occupationCode":56,"occupation":"招聘经理"},{"occupationCode":57,"occupation":"招聘专员"},{"occupationCode":58,"occupation":"培训经理"},{"occupationCode":59,"occupation":"培训专员"},{"occupationCode":60,"occupation":"秘书"},{"occupationCode":61,"occupation":"文员"},{"occupationCode":62,"occupation":"后勤"}]},{"industryCode":8,"industry":"高级管理","occupationList":[{"occupationCode":63,"occupation":"总经理"},{"occupationCode":64,"occupation":"副总经理"},{"occupationCode":65,"occupation":"合伙人"},{"occupationCode":66,"occupation":"总监"},{"occupationCode":67,"occupation":"经理"},{"occupationCode":68,"occupation":"总裁助理"}]},{"industryCode":9,"industry":"广告/市场","occupationList":[{"occupationCode":69,"occupation":"广告客户经理"},{"occupationCode":70,"occupation":"广告客户专员"},{"occupationCode":71,"occupation":"广告策划"},{"occupationCode":72,"occupation":"市场营销经理"},{"occupationCode":73,"occupation":"市场营销专员"},{"occupationCode":74,"occupation":"市场策划"},{"occupationCode":75,"occupation":"市场拓展"},{"occupationCode":76,"occupation":"公关经理"},{"occupationCode":77,"occupation":"公关专员"},{"occupationCode":78,"occupation":"媒介经理"},{"occupationCode":79,"occupation":"媒介专员"},{"occupationCode":80,"occupation":"品牌经理"},{"occupationCode":81,"occupation":"品牌专员"}]},{"industryCode":10,"industry":"传媒/艺术","occupationList":[{"occupationCode":82,"occupation":"主编"},{"occupationCode":83,"occupation":"编辑"},{"occupationCode":84,"occupation":"作家"},{"occupationCode":85,"occupation":"撰稿人"},{"occupationCode":86,"occupation":"文案策划"},{"occupationCode":87,"occupation":"出版发行"},{"occupationCode":88,"occupation":"导演"},{"occupationCode":89,"occupation":"记者"},{"occupationCode":90,"occupation":"主持人"},{"occupationCode":91,"occupation":"演员"},{"occupationCode":92,"occupation":"模特"},{"occupationCode":93,"occupation":"经纪人"},{"occupationCode":94,"occupation":"摄影师"},{"occupationCode":95,"occupation":"影视后期制作"},{"occupationCode":96,"occupation":"设计师"},{"occupationCode":97,"occupation":"画家"},{"occupationCode":98,"occupation":"音乐家"},{"occupationCode":99,"occupation":"舞蹈"},{"occupationCode":100,"occupation":"其他"}]},{"industryCode":11,"industry":"生物/制药","occupationList":[{"occupationCode":101,"occupation":"医药研发人员"},{"occupationCode":102,"occupation":"医药代表"},{"occupationCode":103,"occupation":"医药生产人员"},{"occupationCode":104,"occupation":"临床工作人员"},{"occupationCode":105,"occupation":"医疗器械研发"},{"occupationCode":106,"occupation":"医疗器械生产人员"},{"occupationCode":107,"occupation":"医疗器械销售人员"},{"occupationCode":108,"occupation":"药店人员"},{"occupationCode":109,"occupation":"健康顾问"},{"occupationCode":110,"occupation":"口腔医师"},{"occupationCode":111,"occupation":"其他"}]},{"industryCode":12,"industry":"建筑/房地产","occupationList":[{"occupationCode":123,"occupation":"建筑师"},{"occupationCode":124,"occupation":"工程师"},{"occupationCode":125,"occupation":"规划师"},{"occupationCode":126,"occupation":"房地产策划"},{"occupationCode":127,"occupation":"物业人员"},{"occupationCode":128,"occupation":"其他"}]},{"industryCode":13,"industry":"咨询/顾问","occupationList":[{"occupationCode":129,"occupation":"咨询经理"},{"occupationCode":130,"occupation":"咨询师"},{"occupationCode":131,"occupation":"专业顾问"},{"occupationCode":132,"occupation":"培训师"}]},{"industryCode":14,"industry":"财会/审计","occupationList":[{"occupationCode":138,"occupation":"财务总监"},{"occupationCode":139,"occupation":"财务经理"},{"occupationCode":140,"occupation":"财务主管"},{"occupationCode":141,"occupation":"会计"},{"occupationCode":142,"occupation":"注册会计师"},{"occupationCode":143,"occupation":"审计师"},{"occupationCode":144,"occupation":"税务经理"},{"occupationCode":145,"occupation":"税务专员"},{"occupationCode":146,"occupation":"成本经理"}]},{"industryCode":15,"industry":"教育/科研","occupationList":[{"occupationCode":147,"occupation":"教师"},{"occupationCode":148,"occupation":"讲师/助教"},{"occupationCode":149,"occupation":"中学教师"},{"occupationCode":150,"occupation":"小学教师"},{"occupationCode":151,"occupation":"幼师"},{"occupationCode":152,"occupation":"教务管理人员"},{"occupationCode":153,"occupation":"职业技术教师"},{"occupationCode":154,"occupation":"培训师"},{"occupationCode":155,"occupation":"科研管理人员"},{"occupationCode":156,"occupation":"科研人员"}]},{"industryCode":16,"industry":"服务业","occupationList":[{"occupationCode":157,"occupation":"餐饮管理人员"},{"occupationCode":158,"occupation":"厨师"},{"occupationCode":159,"occupation":"餐饮服务人员"},{"occupationCode":160,"occupation":"酒店管理"},{"occupationCode":161,"occupation":"大堂经理"},{"occupationCode":162,"occupation":"酒店服务人员"},{"occupationCode":163,"occupation":"导游"},{"occupationCode":164,"occupation":"健身教练"},{"occupationCode":165,"occupation":"商场经理"},{"occupationCode":166,"occupation":"零售店长"},{"occupationCode":167,"occupation":"店员"},{"occupationCode":168,"occupation":"保安经理"},{"occupationCode":169,"occupation":"保安人员"},{"occupationCode":170,"occupation":"家政服务"}]},{"industryCode":17,"industry":"交通运输","occupationList":[{"occupationCode":171,"occupation":"飞行员"},{"occupationCode":172,"occupation":"空乘人员"},{"occupationCode":173,"occupation":"地勤人员"},{"occupationCode":174,"occupation":"列车司机"},{"occupationCode":175,"occupation":"乘务员"},{"occupationCode":176,"occupation":"船长"},{"occupationCode":177,"occupation":"船员"},{"occupationCode":178,"occupation":"司机"}]},{"industryCode":18,"industry":"政府机构","occupationList":[{"occupationCode":179,"occupation":"公务员"}]},{"industryCode":19,"industry":"农林牧鱼","occupationList":[{"occupationCode":180,"occupation":"饲养员"},{"occupationCode":181,"occupation":"林业技术员"},{"occupationCode":182,"occupation":"水产养殖技术员"},{"occupationCode":183,"occupation":"兽医"}]},{"industryCode":20,"industry":"其他","occupationList":[{"occupationCode":184,"occupation":"自由职业"},{"occupationCode":185,"occupation":"在校学生"},{"occupationCode":186,"occupation":"待业"}]},{"industryCode":21,"industry":"金融/银行/保险","occupationList":[{"occupationCode":115,"occupation":"银行管理人员"},{"occupationCode":116,"occupation":"银行职员"},{"occupationCode":117,"occupation":"保险管理人员"},{"occupationCode":118,"occupation":"保险职员"},{"occupationCode":119,"occupation":"证券交易员"},{"occupationCode":120,"occupation":"分析师"},{"occupationCode":121,"occupation":"投行业务员"},{"occupationCode":122,"occupation":"基金经理"}]},{"industryCode":22,"industry":"医疗/护理","occupationList":[{"occupationCode":112,"occupation":"医疗管理人员"},{"occupationCode":113,"occupation":"医生"},{"occupationCode":114,"occupation":"药剂师"}]},{"industryCode":23,"industry":"法律","occupationList":[{"occupationCode":133,"occupation":"律师"},{"occupationCode":134,"occupation":"律师助理"},{"occupationCode":135,"occupation":"法务经理"},{"occupationCode":136,"occupation":"法务专员"},{"occupationCode":137,"occupation":"知识产权专员"}]}]}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.754" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.754"/>
|
|
</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="20240420 12:08:10.754" level="INFO">${data} = [{'industryCode': 1, 'industry': '销售', 'occupationList': [{'occupationCode': 1, 'occupation': '销售总监'}, {'occupationCode': 2, 'occupation': '销售经理'}, {'occupationCode': 3, 'occupation': '销售主管'}, {'occup...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.754" endtime="20240420 12:08:10.754"/>
|
|
</kw>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${industryData}</var>
|
|
<arg>random.choice(${data})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20240420 12:08:10.771" level="INFO">${industryData} = {'industryCode': 10, 'industry': '传媒/艺术', 'occupationList': [{'occupationCode': 82, 'occupation': '主编'}, {'occupationCode': 83, 'occupation': '编辑'}, {'occupationCode': 84, 'occupation': '作家'}, {'occup...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.770" endtime="20240420 12:08:10.771"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${industry}</var>
|
|
<arg>${industryData}</arg>
|
|
<arg>industry</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.771" level="INFO">${industry} = 传媒/艺术</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.771" endtime="20240420 12:08:10.771"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${industryCode}</var>
|
|
<arg>${industryData}</arg>
|
|
<arg>industryCode</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.771" level="INFO">${industryCode} = 10</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.771" endtime="20240420 12:08:10.771"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${occupationList}</var>
|
|
<arg>${industryData}</arg>
|
|
<arg>occupationList</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.773" level="INFO">${occupationList} = [{'occupationCode': 82, 'occupation': '主编'}, {'occupationCode': 83, 'occupation': '编辑'}, {'occupationCode': 84, 'occupation': '作家'}, {'occupationCode': 85, 'occupation': '撰稿人'}, {'occupationCode': 86,...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.773" endtime="20240420 12:08:10.773"/>
|
|
</kw>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${occupationData}</var>
|
|
<arg>random.choice(${occupationList})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20240420 12:08:10.773" level="INFO">${occupationData} = {'occupationCode': 86, 'occupation': '文案策划'}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.773" endtime="20240420 12:08:10.774"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${occupation}</var>
|
|
<arg>${occupationData}</arg>
|
|
<arg>occupation</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.774" level="INFO">${occupation} = 文案策划</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.774" endtime="20240420 12:08:10.774"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${occupationCode}</var>
|
|
<arg>${occupationData}</arg>
|
|
<arg>occupationCode</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.774" level="INFO">${occupationCode} = 86</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.774" endtime="20240420 12:08:10.774"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${industry}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.775" level="INFO">${industry} = 传媒/艺术</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.775" endtime="20240420 12:08:10.775"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${occupation}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.775" level="INFO">${occupation} = 文案策划</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.775" endtime="20240420 12:08:10.776"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${industryCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.776" level="INFO">${industryCode} = 10</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.776" endtime="20240420 12:08:10.776"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${occupationCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.776" level="INFO">${occupationCode} = 86</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.776" endtime="20240420 12:08:10.777"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.777"/>
|
|
</kw>
|
|
<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="20240420 12:08:10.778" 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.778" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.777" endtime="20240420 12:08:10.778"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{ \ \ \ \ "id": "${miId}", \ \ \ \ "industry": "${industry}", \ \ \ \ "industryCode": "${industryCode}", \ \ \ \ "occupation": "${occupation}", \ \ \ \ "occupationCode": "${occupationCode}" }</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240420 12:08:10.778" level="INFO">${data} = { "id": "978733730317340672", "industry": "传媒/艺术", "industryCode": "10", "occupation": "文案策划", "occupationCode": "86" }</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.778" endtime="20240420 12:08:10.778"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/save/marriage/Information</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240420 12:08:10.780" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.827" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-service/user/save/marriage/Information HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.842" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/Information
|
|
path_url=/dating-agency-service/user/save/marriage/Information
|
|
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSLiC9mIxudHeUd7YhhEETxoodI2JJaAdgjrTGQ9IYIw3Q==', 'Content-Length': '155'}
|
|
body=b'{ "id": "978733730317340672", "industry": "\xe4\xbc\xa0\xe5\xaa\x92/\xe8\x89\xba\xe6\x9c\xaf", "industryCode": "10", "occupation": "\xe6\x96\x87\xe6\xa1\x88\xe7\xad\x96\xe5\x88\x92", "occupationCode": "86" }'
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.842" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/Information
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:26 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":"978733730317340672"}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.842" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.779" endtime="20240420 12:08:10.842"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:10.842"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${miId}">978733732204777472</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}</var>
|
|
<kw name="查询婚介职业数据字典" library="Authentication" sourcename="查询${dating}职业数据字典">
|
|
<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="20240420 12:08:10.842" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.842" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.842" endtime="20240420 12:08:10.842"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/get/occupation/list</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240420 12:08:10.842" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:10.884" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/occupation/list HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:10.884" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/occupation/list
|
|
path_url=/dating-agency-service/user/get/occupation/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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">MacCyrillic Russian confidence = 0.01517159254432644</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">IBM866 Russian confidence = 0.08885740689853067</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">IBM855 Russian confidence = 0.045585567130113906</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">TIS-620 Thai confidence = 0.0964301898373406</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">ISO-8859-9 Turkish confidence = 0.2613377570974015</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.914" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.930" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.930" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.930" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.930" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.930" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/occupation/list
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:26 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":[{"industryCode":1,"industry":"销售","occupationList":[{"occupationCode":1,"occupation":"销售总监"},{"occupationCode":2,"occupation":"销售经理"},{"occupationCode":3,"occupation":"销售主管"},{"occupationCode":4,"occupation":"销售专员"},{"occupationCode":5,"occupation":"渠道/分销管理"},{"occupationCode":6,"occupation":"渠道/分销专员"},{"occupationCode":7,"occupation":"经销商"},{"occupationCode":8,"occupation":"客户经理"},{"occupationCode":9,"occupation":"客户代表"},{"occupationCode":10,"occupation":"销售工程师"}]},{"industryCode":2,"industry":"客户服务","occupationList":[{"occupationCode":11,"occupation":"客服经理"},{"occupationCode":12,"occupation":"客服主管"},{"occupationCode":13,"occupation":"客服专员"},{"occupationCode":14,"occupation":"客服协调"},{"occupationCode":15,"occupation":"客服技术支持"}]},{"industryCode":3,"industry":"互联网/通信","occupationList":[{"occupationCode":16,"occupation":"技术总监"},{"occupationCode":17,"occupation":"技术经理"},{"occupationCode":18,"occupation":"工程师"},{"occupationCode":19,"occupation":"运维人员"},{"occupationCode":20,"occupation":"测试专员"},{"occupationCode":21,"occupation":"运营管理"},{"occupationCode":22,"occupation":"运营专员"},{"occupationCode":23,"occupation":"网页设计"},{"occupationCode":24,"occupation":"产品经理"}]},{"industryCode":4,"industry":"生产制造","occupationList":[{"occupationCode":25,"occupation":"工厂经理"},{"occupationCode":26,"occupation":"工程师"},{"occupationCode":27,"occupation":"项目主管"},{"occupationCode":28,"occupation":"营运经理"},{"occupationCode":29,"occupation":"营运主管"},{"occupationCode":30,"occupation":"车间主任"},{"occupationCode":31,"occupation":"物料管理"},{"occupationCode":32,"occupation":"生产领班"},{"occupationCode":33,"occupation":"操作工人"},{"occupationCode":34,"occupation":"安全管理"}]},{"industryCode":5,"industry":"物流仓储","occupationList":[{"occupationCode":35,"occupation":"物流经理"},{"occupationCode":36,"occupation":"物流主管"},{"occupationCode":37,"occupation":"物流专员"},{"occupationCode":38,"occupation":"仓库经理"},{"occupationCode":39,"occupation":"仓库管理员"},{"occupationCode":40,"occupation":"货运代理"},{"occupationCode":41,"occupation":"海关事务管理"},{"occupationCode":42,"occupation":"报单员"},{"occupationCode":43,"occupation":"快递员"}]},{"industryCode":6,"industry":"商贸/采购","occupationList":[{"occupationCode":44,"occupation":"商务经理"},{"occupationCode":45,"occupation":"商务专员"},{"occupationCode":46,"occupation":"采购经理"},{"occupationCode":47,"occupation":"采购专员"},{"occupationCode":48,"occupation":"外贸经理"},{"occupationCode":49,"occupation":"外贸专员"},{"occupationCode":50,"occupation":"业务跟单"},{"occupationCode":51,"occupation":"报关员"}]},{"industryCode":7,"industry":"人事/行政","occupationList":[{"occupationCode":52,"occupation":"人事总监"},{"occupationCode":53,"occupation":"人事经理"},{"occupationCode":54,"occupation":"人事主管"},{"occupationCode":55,"occupation":"人事专员"},{"occupationCode":56,"occupation":"招聘经理"},{"occupationCode":57,"occupation":"招聘专员"},{"occupationCode":58,"occupation":"培训经理"},{"occupationCode":59,"occupation":"培训专员"},{"occupationCode":60,"occupation":"秘书"},{"occupationCode":61,"occupation":"文员"},{"occupationCode":62,"occupation":"后勤"}]},{"industryCode":8,"industry":"高级管理","occupationList":[{"occupationCode":63,"occupation":"总经理"},{"occupationCode":64,"occupation":"副总经理"},{"occupationCode":65,"occupation":"合伙人"},{"occupationCode":66,"occupation":"总监"},{"occupationCode":67,"occupation":"经理"},{"occupationCode":68,"occupation":"总裁助理"}]},{"industryCode":9,"industry":"广告/市场","occupationList":[{"occupationCode":69,"occupation":"广告客户经理"},{"occupationCode":70,"occupation":"广告客户专员"},{"occupationCode":71,"occupation":"广告策划"},{"occupationCode":72,"occupation":"市场营销经理"},{"occupationCode":73,"occupation":"市场营销专员"},{"occupationCode":74,"occupation":"市场策划"},{"occupationCode":75,"occupation":"市场拓展"},{"occupationCode":76,"occupation":"公关经理"},{"occupationCode":77,"occupation":"公关专员"},{"occupationCode":78,"occupation":"媒介经理"},{"occupationCode":79,"occupation":"媒介专员"},{"occupationCode":80,"occupation":"品牌经理"},{"occupationCode":81,"occupation":"品牌专员"}]},{"industryCode":10,"industry":"传媒/艺术","occupationList":[{"occupationCode":82,"occupation":"主编"},{"occupationCode":83,"occupation":"编辑"},{"occupationCode":84,"occupation":"作家"},{"occupationCode":85,"occupation":"撰稿人"},{"occupationCode":86,"occupation":"文案策划"},{"occupationCode":87,"occupation":"出版发行"},{"occupationCode":88,"occupation":"导演"},{"occupationCode":89,"occupation":"记者"},{"occupationCode":90,"occupation":"主持人"},{"occupationCode":91,"occupation":"演员"},{"occupationCode":92,"occupation":"模特"},{"occupationCode":93,"occupation":"经纪人"},{"occupationCode":94,"occupation":"摄影师"},{"occupationCode":95,"occupation":"影视后期制作"},{"occupationCode":96,"occupation":"设计师"},{"occupationCode":97,"occupation":"画家"},{"occupationCode":98,"occupation":"音乐家"},{"occupationCode":99,"occupation":"舞蹈"},{"occupationCode":100,"occupation":"其他"}]},{"industryCode":11,"industry":"生物/制药","occupationList":[{"occupationCode":101,"occupation":"医药研发人员"},{"occupationCode":102,"occupation":"医药代表"},{"occupationCode":103,"occupation":"医药生产人员"},{"occupationCode":104,"occupation":"临床工作人员"},{"occupationCode":105,"occupation":"医疗器械研发"},{"occupationCode":106,"occupation":"医疗器械生产人员"},{"occupationCode":107,"occupation":"医疗器械销售人员"},{"occupationCode":108,"occupation":"药店人员"},{"occupationCode":109,"occupation":"健康顾问"},{"occupationCode":110,"occupation":"口腔医师"},{"occupationCode":111,"occupation":"其他"}]},{"industryCode":12,"industry":"建筑/房地产","occupationList":[{"occupationCode":123,"occupation":"建筑师"},{"occupationCode":124,"occupation":"工程师"},{"occupationCode":125,"occupation":"规划师"},{"occupationCode":126,"occupation":"房地产策划"},{"occupationCode":127,"occupation":"物业人员"},{"occupationCode":128,"occupation":"其他"}]},{"industryCode":13,"industry":"咨询/顾问","occupationList":[{"occupationCode":129,"occupation":"咨询经理"},{"occupationCode":130,"occupation":"咨询师"},{"occupationCode":131,"occupation":"专业顾问"},{"occupationCode":132,"occupation":"培训师"}]},{"industryCode":14,"industry":"财会/审计","occupationList":[{"occupationCode":138,"occupation":"财务总监"},{"occupationCode":139,"occupation":"财务经理"},{"occupationCode":140,"occupation":"财务主管"},{"occupationCode":141,"occupation":"会计"},{"occupationCode":142,"occupation":"注册会计师"},{"occupationCode":143,"occupation":"审计师"},{"occupationCode":144,"occupation":"税务经理"},{"occupationCode":145,"occupation":"税务专员"},{"occupationCode":146,"occupation":"成本经理"}]},{"industryCode":15,"industry":"教育/科研","occupationList":[{"occupationCode":147,"occupation":"教师"},{"occupationCode":148,"occupation":"讲师/助教"},{"occupationCode":149,"occupation":"中学教师"},{"occupationCode":150,"occupation":"小学教师"},{"occupationCode":151,"occupation":"幼师"},{"occupationCode":152,"occupation":"教务管理人员"},{"occupationCode":153,"occupation":"职业技术教师"},{"occupationCode":154,"occupation":"培训师"},{"occupationCode":155,"occupation":"科研管理人员"},{"occupationCode":156,"occupation":"科研人员"}]},{"industryCode":16,"industry":"服务业","occupationList":[{"occupationCode":157,"occupation":"餐饮管理人员"},{"occupationCode":158,"occupation":"厨师"},{"occupationCode":159,"occupation":"餐饮服务人员"},{"occupationCode":160,"occupation":"酒店管理"},{"occupationCode":161,"occupation":"大堂经理"},{"occupationCode":162,"occupation":"酒店服务人员"},{"occupationCode":163,"occupation":"导游"},{"occupationCode":164,"occupation":"健身教练"},{"occupationCode":165,"occupation":"商场经理"},{"occupationCode":166,"occupation":"零售店长"},{"occupationCode":167,"occupation":"店员"},{"occupationCode":168,"occupation":"保安经理"},{"occupationCode":169,"occupation":"保安人员"},{"occupationCode":170,"occupation":"家政服务"}]},{"industryCode":17,"industry":"交通运输","occupationList":[{"occupationCode":171,"occupation":"飞行员"},{"occupationCode":172,"occupation":"空乘人员"},{"occupationCode":173,"occupation":"地勤人员"},{"occupationCode":174,"occupation":"列车司机"},{"occupationCode":175,"occupation":"乘务员"},{"occupationCode":176,"occupation":"船长"},{"occupationCode":177,"occupation":"船员"},{"occupationCode":178,"occupation":"司机"}]},{"industryCode":18,"industry":"政府机构","occupationList":[{"occupationCode":179,"occupation":"公务员"}]},{"industryCode":19,"industry":"农林牧鱼","occupationList":[{"occupationCode":180,"occupation":"饲养员"},{"occupationCode":181,"occupation":"林业技术员"},{"occupationCode":182,"occupation":"水产养殖技术员"},{"occupationCode":183,"occupation":"兽医"}]},{"industryCode":20,"industry":"其他","occupationList":[{"occupationCode":184,"occupation":"自由职业"},{"occupationCode":185,"occupation":"在校学生"},{"occupationCode":186,"occupation":"待业"}]},{"industryCode":21,"industry":"金融/银行/保险","occupationList":[{"occupationCode":115,"occupation":"银行管理人员"},{"occupationCode":116,"occupation":"银行职员"},{"occupationCode":117,"occupation":"保险管理人员"},{"occupationCode":118,"occupation":"保险职员"},{"occupationCode":119,"occupation":"证券交易员"},{"occupationCode":120,"occupation":"分析师"},{"occupationCode":121,"occupation":"投行业务员"},{"occupationCode":122,"occupation":"基金经理"}]},{"industryCode":22,"industry":"医疗/护理","occupationList":[{"occupationCode":112,"occupation":"医疗管理人员"},{"occupationCode":113,"occupation":"医生"},{"occupationCode":114,"occupation":"药剂师"}]},{"industryCode":23,"industry":"法律","occupationList":[{"occupationCode":133,"occupation":"律师"},{"occupationCode":134,"occupation":"律师助理"},{"occupationCode":135,"occupation":"法务经理"},{"occupationCode":136,"occupation":"法务专员"},{"occupationCode":137,"occupation":"知识产权专员"}]}]}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.842" endtime="20240420 12:08:10.930"/>
|
|
</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="20240420 12:08:10.930" level="INFO">${data} = [{'industryCode': 1, 'industry': '销售', 'occupationList': [{'occupationCode': 1, 'occupation': '销售总监'}, {'occupationCode': 2, 'occupation': '销售经理'}, {'occupationCode': 3, 'occupation': '销售主管'}, {'occup...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${industryData}</var>
|
|
<arg>random.choice(${data})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${industryData} = {'industryCode': 9, 'industry': '广告/市场', 'occupationList': [{'occupationCode': 69, 'occupation': '广告客户经理'}, {'occupationCode': 70, 'occupation': '广告客户专员'}, {'occupationCode': 71, 'occupation': '广告策划'}...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${industry}</var>
|
|
<arg>${industryData}</arg>
|
|
<arg>industry</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${industry} = 广告/市场</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${industryCode}</var>
|
|
<arg>${industryData}</arg>
|
|
<arg>industryCode</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${industryCode} = 9</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${occupationList}</var>
|
|
<arg>${industryData}</arg>
|
|
<arg>occupationList</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${occupationList} = [{'occupationCode': 69, 'occupation': '广告客户经理'}, {'occupationCode': 70, 'occupation': '广告客户专员'}, {'occupationCode': 71, 'occupation': '广告策划'}, {'occupationCode': 72, 'occupation': '市场营销经理'}, {'occupat...</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${occupationData}</var>
|
|
<arg>random.choice(${occupationList})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${occupationData} = {'occupationCode': 81, 'occupation': '品牌专员'}</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${occupation}</var>
|
|
<arg>${occupationData}</arg>
|
|
<arg>occupation</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${occupation} = 品牌专员</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${occupationCode}</var>
|
|
<arg>${occupationData}</arg>
|
|
<arg>occupationCode</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${occupationCode} = 81</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${industry}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${industry} = 广告/市场</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${occupation}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${occupation} = 品牌专员</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${industryCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${industryCode} = 9</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${occupationCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${occupationCode} = 81</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.842" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<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="20240420 12:08:10.930" 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240420 12:08:10.930" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{ \ \ \ \ "id": "${miId}", \ \ \ \ "industry": "${industry}", \ \ \ \ "industryCode": "${industryCode}", \ \ \ \ "occupation": "${occupation}", \ \ \ \ "occupationCode": "${occupationCode}" }</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="INFO">${data} = { "id": "978733732204777472", "industry": "广告/市场", "industryCode": "9", "occupation": "品牌专员", "occupationCode": "81" }</msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:10.930"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-service/user/save/marriage/Information</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240420 12:08:10.930" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240420 12:08:11.002" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-service/user/save/marriage/Information HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240420 12:08:11.002" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/Information
|
|
path_url=/dating-agency-service/user/save/marriage/Information
|
|
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL409btrshT5wAXnN7ydpwHmYLJdKZJoWEC005jGdH1QCw==', 'Content-Length': '154'}
|
|
body=b'{ "id": "978733732204777472", "industry": "\xe5\xb9\xbf\xe5\x91\x8a/\xe5\xb8\x82\xe5\x9c\xba", "industryCode": "9", "occupation": "\xe5\x93\x81\xe7\x89\x8c\xe4\xb8\x93\xe5\x91\x98", "occupationCode": "81" }'
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:11.002" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/marriage/Information
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Sat, 20 Apr 2024 04:08:26 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":"978733732204777472"}
|
|
</msg>
|
|
<msg timestamp="20240420 12:08:11.002" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240420 12:08:10.930" endtime="20240420 12:08:11.002"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.842" endtime="20240420 12:08:11.002"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:11.002"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240420 12:08:10.666" endtime="20240420 12:08:11.002"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240420 12:08:10.497" endtime="20240420 12:08:11.002"/>
|
|
</test>
|
|
<doc>资料认证</doc>
|
|
<status status="PASS" starttime="20240420 12:08:10.008" endtime="20240420 12:08:11.002"/>
|
|
</suite>
|
|
<doc>征婚人资料</doc>
|
|
<status status="PASS" starttime="20240420 12:08:09.992" endtime="20240420 12:08:11.002"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240420 12:08:09.992" endtime="20240420 12:08:11.002"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240420 12:08:09.992" endtime="20240420 12:08:11.002"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240420 12:08:09.237" endtime="20240420 12:08:11.002"/>
|
|
</suite>
|
|
<statistics>
|
|
<total>
|
|
<stat pass="3" fail="0" skip="0">All Tests</stat>
|
|
</total>
|
|
<tag>
|
|
</tag>
|
|
<suite>
|
|
<stat pass="3" 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="2" fail="0" skip="0" id="s1-s2" name="1-Applet">Dating-agency.1-Applet</stat>
|
|
<stat pass="2" fail="0" skip="0" id="s1-s2-s1" name="2-Homepage">Dating-agency.1-Applet.2-Homepage</stat>
|
|
<stat pass="2" fail="0" skip="0" id="s1-s2-s1-s1" name="MarriageInfo">Dating-agency.1-Applet.2-Homepage.MarriageInfo</stat>
|
|
<stat pass="2" fail="0" skip="0" id="s1-s2-s1-s1-s1" name="DataAuthentication">Dating-agency.1-Applet.2-Homepage.MarriageInfo.DataAuthentication</stat>
|
|
</suite>
|
|
</statistics>
|
|
<errors>
|
|
</errors>
|
|
</robot>
|