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.
 
 
 

1405 lines
98 KiB

<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240625 11:32:11.248" 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="20240625 11:32:11.279" endtime="20240625 11:32:11.279"/>
</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="20240625 11:32:11.672" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.688" level="INFO" html="true">Getting file '&lt;a href="file://D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt"&gt;D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt&lt;/a&gt;'.</msg>
<msg timestamp="20240625 11:32:11.688" level="INFO">${file} = 手机号
19128859944</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.688" level="INFO">${skip-line} = 1</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.688" level="INFO">${lines} = -1</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.688" level="INFO">1 out of 2 lines matched</msg>
<msg timestamp="20240625 11:32:11.688" level="INFO">${content} = 19128859944</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</kw>
<for flavor="IN">
<var>${id}</var>
<value>${content}</value>
<iter>
<var name="${id}">19128859944</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="20240625 11:32:11.688" level="INFO">${id} = ['19128859944']</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</iter>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.688" level="INFO">${id} = ['19128859944']</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.688" level="INFO">${userid_list} = []</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${Cheader_list}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240625 11:32:11.688" level="INFO">${Cheader_list} = []</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${Aheader_list}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240625 11:32:11.688" level="INFO">${Aheader_list} = []</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${phoneList}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240625 11:32:11.688" level="INFO">${phoneList} = []</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</kw>
<for flavor="IN">
<var>${account}</var>
<value>@{id}</value>
<iter>
<var name="${account}">19128859944</var>
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.688" 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="20240625 11:32:11.688" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.688" level="INFO">${data} = { "account":"19128859944", "accountType":2, "captcha":888888 }</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.688"/>
</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="20240625 11:32:11.704" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:11.798" 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="20240625 11:32:11.798" 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":"19128859944", "accountType":2, "captcha":888888 }'
</msg>
<msg timestamp="20240625 11:32:11.798" 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': 'Tue, 25 Jun 2024 03:32:11 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==","userId":"986635834872696832"}}
</msg>
<msg timestamp="20240625 11:32:11.798" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${code} = 0</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${userId} = 986635834872696832</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==','X-Organization-Id':'96...</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${login_header}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240625 11:32:11.798" level="INFO">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==','X-Organization-Id':'963432943739605555'}</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.798"/>
</iter>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${phoneList} = ['19128859944']</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${userid_list} = ['986635834872696832']</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==','X-Organization-Id':'...</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.798" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}"]</msg>
<status status="PASS" starttime="20240625 11:32:11.798" endtime="20240625 11:32:11.798"/>
</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="20240625 11:32:11.814" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==','X-Organization-Id':'96...</msg>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.814"/>
</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="20240625 11:32:11.814" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</msg>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.814"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.814"/>
</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="20240625 11:32:11.814" level="INFO">${Aheader} = []</msg>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.814"/>
</kw>
<for flavor="IN ZIP">
<var>${userId}</var>
<var>${login_header}</var>
<value>${userid_list}</value>
<value>${Aheader_list}</value>
<iter>
<var name="${userId}">986635834872696832</var>
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==','X-Organization-Id':'96...</var>
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.814"/>
</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="20240625 11:32:11.814" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:11.814" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.814"/>
</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="20240625 11:32:11.814" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=986635834872696832 HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:11.861" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=986635834872696832
path_url=/dating-agency-uec/user/list/own-organization?userId=986635834872696832
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">windows-1253 Greek confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">ISO-8859-9 Turkish confidence = 0.2794564987311486</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:11.861" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=986635834872696832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:11 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":[{"orgId":"963432943739605555","fullName":"趣招亲","shortName":"趣招亲"}]}
</msg>
<msg timestamp="20240625 11:32:11.861" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.861"/>
</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="20240625 11:32:11.861" level="INFO">${data} = [{'orgId': '963432943739605555', 'fullName': '趣招亲', 'shortName': '趣招亲'}]</msg>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.861"/>
</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="20240625 11:32:11.861" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.861"/>
</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="20240625 11:32:11.861" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.861"/>
</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>${data}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240625 11:32:11.861" level="INFO">[{'orgId': '963432943739605555', 'fullName': '趣招亲', 'shortName': '趣招亲'}]</msg>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.861"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.861"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.861"/>
</iter>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.861"/>
</for>
<status status="PASS" starttime="20240625 11:32:11.814" endtime="20240625 11:32:11.861"/>
</kw>
<kw name="And 获取婚介平台用户baseinfo" library="LoginResource" sourcename="获取${dating}平台用户baseinfo">
<kw name="Create List" library="BuiltIn">
<var>${matchmakerFlagList}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240625 11:32:11.861" level="INFO">${matchmakerFlagList} = []</msg>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.861"/>
</kw>
<for flavor="IN">
<var>${admin_header}</var>
<value>@{Aheader_list}</value>
<iter>
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==','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="20240625 11:32:11.861" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:11.861" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.861"/>
</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="20240625 11:32:11.861" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:11.908" 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="20240625 11:32:11.908" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240625 11:32:11.908" 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': 'Tue, 25 Jun 2024 03:32:11 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":"986635834872696832","realName":"qianniao","nickName":null,"phone":"19128859944","matchmakerFlag":false}}
</msg>
<msg timestamp="20240625 11:32:11.908" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.908"/>
</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="20240625 11:32:11.908" level="INFO">${phone} = 19128859944</msg>
<status status="PASS" starttime="20240625 11:32:11.908" endtime="20240625 11:32:11.908"/>
</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="20240625 11:32:11.924" level="INFO">${matchmakerFlag} = False</msg>
<status status="PASS" starttime="20240625 11:32:11.908" endtime="20240625 11:32:11.924"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${matchmakerFlagList}</arg>
<arg>${matchmakerFlag}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240625 11:32:11.924" endtime="20240625 11:32:11.924"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.924"/>
</iter>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.924"/>
</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="20240625 11:32:11.924" level="INFO">${phone} = 19128859944</msg>
<status status="PASS" starttime="20240625 11:32:11.924" endtime="20240625 11:32:11.924"/>
</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="20240625 11:32:11.924" level="INFO">${matchmakerFlag} = False</msg>
<status status="PASS" starttime="20240625 11:32:11.924" endtime="20240625 11:32:11.924"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${matchmakerFlagList}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240625 11:32:11.924" level="INFO">${matchmakerFlagList} = [False]</msg>
<status status="PASS" starttime="20240625 11:32:11.924" endtime="20240625 11:32:11.924"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.861" endtime="20240625 11:32:11.924"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.688" endtime="20240625 11:32:11.924"/>
</test>
<doc>接口:短信验证码登录认证</doc>
<status status="PASS" starttime="20240625 11:32:11.279" endtime="20240625 11:32:11.924"/>
</suite>
<doc>用户登录婚介平台</doc>
<status status="PASS" starttime="20240625 11:32:11.279" endtime="20240625 11:32:11.924"/>
</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="7-Chat" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\7-Chat">
<suite id="s1-s2-s1-s1" name="Chat" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\7-Chat\Chat.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="20240625 11:32:11.940" endtime="20240625 11:32:11.940"/>
</kw>
<test id="s1-s2-s1-s1-t1" name="用户发起聊天-红娘" line="11">
<kw name="Given 查询婚介征婚人的资料信息" library="ChatResource" sourcename="查询${dating}征婚人的资料信息">
<kw name="Create List" library="BuiltIn">
<var>${miId_list}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240625 11:32:11.940" level="INFO">${miId_list} = []</msg>
<status status="PASS" starttime="20240625 11:32:11.940" endtime="20240625 11:32:11.940"/>
</kw>
<for flavor="IN ZIP">
<var>${userId}</var>
<var>${client_header}</var>
<value>${userid_list}</value>
<value>${Cheader_list}</value>
<iter>
<var name="${userId}">986635834872696832</var>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</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="20240625 11:32:11.940" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:11.940" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:11.940" endtime="20240625 11:32:11.940"/>
</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="20240625 11:32:11.940" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:12.019" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=986635834872696832 HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:12.019" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=986635834872696832
path_url=/dating-agency-service/user/get/marriage/information/details?userId=986635834872696832
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}
body=None
</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">IBM866 Russian confidence = 0.053604724294187035</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">IBM855 Russian confidence = 0.15700714348370862</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">ISO-8859-9 Turkish confidence = 0.4181227795554567</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:12.034" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=986635834872696832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"986636134635409408","isDelete":false,"createTime":"2024-05-11 11:40:50","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"嘉宾3号","name":null,"profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/205520361E10C43.png","identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区","birthYear":"1981","birthDate":"1981-09-21","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"猪","height":162,"weight":null,"educationCode":2,"education":"大专","maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","diplomaVerificationCode":null,"describeInfo":null,"identityType":2,"identityTypeName":"母亲","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440100,"hometownCityName":"广州市","display":true,"inLove":0,"auditProfilePhoto":{"id":"995017876270354432","isDelete":null,"createTime":"2024-06-03 14:46:53","updateTime":null,"event":null,"miId":null,"photoType":0,"photoUrl":null,"auditImgId":null,"auditStatus":0},"photoList":[{"id":"995019786981347328","isDelete":null,"createTime":"2024-06-03 14:54:29","updateTime":null,"event":null,"miId":null,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/16887B9AE56A432.blob:http://localhost:9090/aa489f0b-a818-4bcc-aab2-8da2b4c17e6d","auditImgId":null,"auditStatus":0}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":37,"phone":null}}
</msg>
<msg timestamp="20240625 11:32:12.034" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:11.940" endtime="20240625 11:32:12.034"/>
</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="20240625 11:32:12.034" level="INFO">${miId} = 986636134635409408</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</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="20240625 11:32:12.034" level="INFO">${nickName} = 嘉宾3号</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</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="20240625 11:32:12.034" level="INFO">${genderCode} = 1</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</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="20240625 11:32:12.034" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${identityCard}</var>
<arg>${reps.json()['data']}</arg>
<arg>identityCard</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240625 11:32:12.034" level="INFO">${identityCard} = None</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</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="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</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="20240625 11:32:12.034" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.940" endtime="20240625 11:32:12.034"/>
</iter>
<status status="PASS" starttime="20240625 11:32:11.940" endtime="20240625 11:32:12.034"/>
</for>
<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="20240625 11:32:12.034" level="INFO">${miId_list} = ['986636134635409408']</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</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="20240625 11:32:12.034" level="INFO">${nickName} = 嘉宾3号</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</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="20240625 11:32:12.034" level="INFO">${genderCode} = 1</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.034"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${identityCard}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240625 11:32:12.050" level="INFO">${identityCard} = None</msg>
<status status="PASS" starttime="20240625 11:32:12.034" endtime="20240625 11:32:12.050"/>
</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="20240625 11:32:12.050" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</msg>
<status status="PASS" starttime="20240625 11:32:12.050" endtime="20240625 11:32:12.050"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.940" endtime="20240625 11:32:12.050"/>
</kw>
<kw name="When 查询婚介红娘列表" library="ChatResource" sourcename="查询${dating}红娘列表">
<for flavor="IN ZIP">
<var>${client_header}</var>
<var>${selfMiId}</var>
<value>${Cheader_list}</value>
<value>${miId_list}</value>
<iter>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</var>
<var name="${selfMiId}">986636134635409408</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="20240625 11:32:12.050" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:12.050" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:12.050" endtime="20240625 11:32:12.050"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-service/user/get/my/matchmaker/page</arg>
<arg>params=pageNum=1&amp;pageSize=10</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240625 11:32:12.050" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/my/matchmaker/page?pageNum=1&amp;pageSize=10 HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:15.431" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/my/matchmaker/page?pageNum=1&amp;pageSize=10
path_url=/dating-agency-service/user/get/my/matchmaker/page?pageNum=1&amp;pageSize=10
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}
body=None
</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">MacCyrillic Russian confidence = 0.0063508794343675465</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">IBM866 Russian confidence = 0.028103260806576002</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">IBM855 Russian confidence = 0.06510449269401906</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">TIS-620 Thai confidence = 0.08839280394933048</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3223127407666568</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:15.431" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:15.446" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/my/matchmaker/page?pageNum=1&amp;pageSize=10
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:15 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"83","name":"15121074365","provinceName":"广东省","cityName":"广州市","districtName":"从化市","maxAge":43,"minAge":29,"occupation":"生物/制药~医疗器械生产人员","serviceDay":56,"serviceCount":16,"genderCode":1,"score":4.0,"matchmakerId":"982651594233483264","matchmakerUserId":"977568001438126080","attention":true,"relationType":null,"miId":"977609068816502784"},{"id":"82","name":"四六零五","provinceName":"湖南省","cityName":"不限","districtName":"不限","maxAge":43,"minAge":25,"occupation":null,"serviceDay":7,"serviceCount":4,"genderCode":1,"score":0.0,"matchmakerId":"1000445180794507264","matchmakerUserId":"1000379568164573184","attention":true,"relationType":null,"miId":"1000445181293629440"},{"id":"81","name":"18593852767","provinceName":"湖南省","cityName":"衡阳市","districtName":"石鼓区","maxAge":43,"minAge":18,"occupation":"其他,其他~自由职业,品牌经理","serviceDay":48,"serviceCount":13,"genderCode":1,"score":4.0,"matchmakerId":"985664038262411264","matchmakerUserId":"985621188598435840","attention":true,"relationType":null,"miId":null},{"id":"69","name":"就是不吃饭","provinceName":"广东省","cityName":"广州市","districtName":"黄埔区","maxAge":43,"minAge":26,"occupation":"其他,其他~自由职业,生物/制药~医疗器械生产人员,销售~销售总监","serviceDay":60,"serviceCount":23,"genderCode":0,"score":4.5,"matchmakerId":"981270314208071680","matchmakerUserId":"978668013433786368","attention":true,"relationType":null,"miId":"978668042869411840"}],"total":4,"size":10,"current":1,"pages":1}}
</msg>
<msg timestamp="20240625 11:32:15.446" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:12.050" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${records}</var>
<arg>${reps.json()['data']}</arg>
<arg>records</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${records} = [{'id': '83', 'name': '15121074365', 'provinceName': '广东省', 'cityName': '广州市', 'districtName': '从化市', 'maxAge': 43, 'minAge': 29, 'occupation': '生物/制药~医疗器械生产人员', 'serviceDay': 56, 'serviceCount': 16, ...</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${records}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${records} = [{'id': '83', 'name': '15121074365', 'provinceName': '广东省', 'cityName': '广州市', 'districtName': '从化市', 'maxAge': 43, 'minAge': 29, 'occupation': '生物/制药~医疗器械生产人员', 'serviceDay': 56, 'serviceCount': 16, ...</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="遍历红娘列表" library="ChatResource">
<kw name="Evaluate" library="BuiltIn">
<var>${matchmakerData}</var>
<arg>random.choice(${records})</arg>
<arg>random</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${matchmakerData} = {'id': '83', 'name': '15121074365', 'provinceName': '广东省', 'cityName': '广州市', 'districtName': '从化市', 'maxAge': 43, 'minAge': 29, 'occupation': '生物/制药~医疗器械生产人员', 'serviceDay': 56, 'serviceCount': 16, '...</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${otherMiId}</var>
<arg>${matchmakerData}</arg>
<arg>miId</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${otherMiId} = 977609068816502784</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${otherMiId}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${otherMiId} = 977609068816502784</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${identityCard}==None</arg>
<arg>提交婚介征婚人身份证审核</arg>
<arg>ELSE</arg>
<arg>log</arg>
<arg>用户已实名认证</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="提交婚介征婚人身份证审核" library="ChatResource" sourcename="提交${dating}征婚人身份证审核">
<kw name="Set Variable" library="BuiltIn">
<var>${womanvalue_list}</var>
<arg>["赖勇兰,441481199509213863","赖敏怡,441521199410142320","刘景梅,371525198608012364","黄丽馨,441302199511296927","刘惠琼,441827198807146821"]</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${womanvalue_list} = ["赖勇兰,441481199509213863","赖敏怡,441521199410142320","刘景梅,371525198608012364","黄丽馨,441302199511296927","刘惠琼,441827198807146821"]</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Set Variable" library="BuiltIn">
<var>${manvalue_list}</var>
<arg>["张山,522328199807132811","臧琨,654001198103171417","李博,429006198410300956","王颖勋,44058319951227041X","刘文波,430426198402075198","董帅,411425199011117552","江志诚,43042619970207049X","杨仁丰,440923199311122678","陈越,445122199210152055","刘虎跃,43042619891011515X","李雷刚,430426198502033497","邝绍荣,440105198310224217","全拥军,430426197806302591"]</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${manvalue_list} = ["张山,522328199807132811","臧琨,654001198103171417","李博,429006198410300956","王颖勋,44058319951227041X","刘文波,430426198402075198","董帅,411425199011117552","江志诚,43042619970207049X","杨仁丰,440923199311122678","陈越...</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${code}</var>
<arg>0</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${code} = 0</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<for flavor="IN ZIP">
<var>${miId}</var>
<var>${client_header}</var>
<value>${miId_list}</value>
<value>${Cheader_list}</value>
<iter>
<var name="${miId}">986636134635409408</var>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</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="20240625 11:32:15.446" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${man_value}</var>
<arg>random.choice(${manvalue_list})</arg>
<arg>random</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${man_value} = 邝绍荣,440105198310224217</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${woman_value}</var>
<arg>random.choice(${womanvalue_list})</arg>
<arg>random</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${woman_value} = 黄丽馨,441302199511296927</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<var>${data}</var>
<arg>${genderCode}==1</arg>
<arg>{ \ \ \ \ "authenticationCode":"${code}", \ \ \ \ "miId":"${miId}", \ \ \ \ "value":"${woman_value}" }</arg>
<arg>{ \ \ \ \ "authenticationCode":"${code}", \ \ \ \ "miId":"${miId}", \ \ \ \ "value":"${man_value}" }</arg>
<doc>Sets variable based on the given condition.</doc>
<msg timestamp="20240625 11:32:15.446" level="INFO">${data} = { "authenticationCode":"0", "miId":"986636134635409408", "value":"黄丽馨,441302199511296927" }</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:15.446"/>
</kw>
<kw name="POST On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-service/user/save/certification/audit</arg>
<arg>${data.encode('utf-8')}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<msg timestamp="20240625 11:32:15.446" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:17.435" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-service/user/save/certification/audit HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:17.435" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/certification/audit
path_url=/dating-agency-service/user/save/certification/audit
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==', 'Content-Length': '109'}
body=b'{ "authenticationCode":"0", "miId":"986636134635409408", "value":"\xe9\xbb\x84\xe4\xb8\xbd\xe9\xa6\xa8,441302199511296927" }'
</msg>
<msg timestamp="20240625 11:32:17.435" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/certification/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:17 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":"1002941433927307264"}
</msg>
<msg timestamp="20240625 11:32:17.435" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:17.435"/>
</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="20240625 11:32:17.435" level="INFO">${data} = 1002941433927307264</msg>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.435"/>
</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="20240625 11:32:17.435" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.435"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${data}!=None</arg>
<arg>Should Be Equal As Strings</arg>
<arg>${message}</arg>
<arg>successful</arg>
<arg>ELSE</arg>
<arg>log</arg>
<arg>${message}</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="20240625 11:32:17.435" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.435"/>
</kw>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.435"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240625 11:32:17.435" level="INFO">${data} = 1002941433927307264</msg>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.435"/>
</kw>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:17.435"/>
</iter>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:17.435"/>
</for>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:17.435"/>
</kw>
<status status="PASS" starttime="20240625 11:32:15.446" endtime="20240625 11:32:17.435"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${otherMiId}==None</arg>
<arg>log</arg>
<arg>聊天者标识不能为空</arg>
<arg>ELSE</arg>
<arg>创建婚介聊天室</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="创建婚介聊天室" library="ChatResource" sourcename="创建${dating}聊天室">
<for flavor="IN ZIP">
<var>${client_header}</var>
<var>${selfMiId}</var>
<value>${Cheader_list}</value>
<value>${miId_list}</value>
<iter>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</var>
<var name="${selfMiId}">986636134635409408</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="20240625 11:32:17.435" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:17.435" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.435"/>
</kw>
<kw name="Set Variable" library="BuiltIn">
<var>${data}</var>
<arg>{"otherMiId":"${otherMiId}","selfMiId":"${selfMiId}"}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240625 11:32:17.435" level="INFO">${data} = {"otherMiId":"977609068816502784","selfMiId":"986636134635409408"}</msg>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.435"/>
</kw>
<kw name="POST On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-cim/user/join/private-chat/room</arg>
<arg>${data.encode('utf-8')}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<msg timestamp="20240625 11:32:17.435" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:17.529" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-cim/user/join/private-chat/room HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:17.529" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/join/private-chat/room
path_url=/dating-agency-cim/user/join/private-chat/room
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==', 'Content-Length': '66'}
body=b'{"otherMiId":"977609068816502784","selfMiId":"986636134635409408"}'
</msg>
<msg timestamp="20240625 11:32:17.529" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/join/private-chat/room
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:17 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":{"roomId":"1001948467494522880"}}
</msg>
<msg timestamp="20240625 11:32:17.529" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.529"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${roomId}</var>
<arg>${reps.json()['data']}</arg>
<arg>roomId</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240625 11:32:17.529" level="INFO">${roomId} = 1001948467494522880</msg>
<status status="PASS" starttime="20240625 11:32:17.529" endtime="20240625 11:32:17.529"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${roomId}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240625 11:32:17.529" level="INFO">${roomId} = 1001948467494522880</msg>
<status status="PASS" starttime="20240625 11:32:17.529" endtime="20240625 11:32:17.529"/>
</kw>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.529"/>
</iter>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.529"/>
</for>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.529"/>
</kw>
<status status="PASS" starttime="20240625 11:32:17.435" endtime="20240625 11:32:17.529"/>
</kw>
<status status="PASS" starttime="20240625 11:32:12.050" endtime="20240625 11:32:17.529"/>
</iter>
<status status="PASS" starttime="20240625 11:32:12.050" endtime="20240625 11:32:17.544"/>
</for>
<status status="PASS" starttime="20240625 11:32:12.050" endtime="20240625 11:32:17.544"/>
</kw>
<kw name="Then 查询婚介用户的聊天权益" library="ChatResource" sourcename="查询${dating}用户的聊天权益">
<for flavor="IN ZIP">
<var>${client_header}</var>
<var>${selfMiId}</var>
<value>${Cheader_list}</value>
<value>${miId_list}</value>
<iter>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</var>
<var name="${selfMiId}">986636134635409408</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="20240625 11:32:17.544" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:17.544" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:17.544" endtime="20240625 11:32:17.544"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>/dating-agency-cim/user/get/chat-right-consume</arg>
<arg>params=roomId=${roomId}&amp;selfMiId=${selfMiId}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240625 11:32:17.544" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:17.576" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-cim/user/get/chat-right-consume?roomId=1001948467494522880&amp;selfMiId=986636134635409408 HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:17.591" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/get/chat-right-consume?roomId=1001948467494522880&amp;selfMiId=986636134635409408
path_url=/dating-agency-cim/user/get/chat-right-consume?roomId=1001948467494522880&amp;selfMiId=986636134635409408
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}
body=None
</msg>
<msg timestamp="20240625 11:32:17.591" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/get/chat-right-consume?roomId=1001948467494522880&amp;selfMiId=986636134635409408
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:17 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":{"chatRight":false}}
</msg>
<msg timestamp="20240625 11:32:17.591" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:17.544" endtime="20240625 11:32:17.591"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${chatRight}</var>
<arg>${reps.json()['data']}</arg>
<arg>chatRight</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240625 11:32:17.591" level="INFO">${chatRight} = False</msg>
<status status="PASS" starttime="20240625 11:32:17.591" endtime="20240625 11:32:17.591"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-mall/user/list/right/by/customer</arg>
<arg>params=miId=${selfMiId}&amp;type=501</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/list/right/by/customer?miId=986636134635409408&amp;type=501 HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:17.999" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=986636134635409408&amp;type=501
path_url=/dating-agency-mall/user/list/right/by/customer?miId=986636134635409408&amp;type=501
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}
body=None
</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">EUC-JP Japanese prober hit error at byte 56</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">GB2312 Chinese prober hit error at byte 64</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">EUC-KR Korean prober hit error at byte 56</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">CP949 Korean prober hit error at byte 56</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">Big5 Chinese prober hit error at byte 57</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">EUC-TW Taiwan prober hit error at byte 56</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">utf-8 confidence = 0.87625</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">EUC-JP not active</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">GB2312 not active</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">EUC-KR not active</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">CP949 not active</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">Big5 not active</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">EUC-TW not active</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">ISO-8859-5 Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">ISO-8859-7 Greek confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">windows-1253 Greek confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">windows-1251 Bulgarian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">ISO-8859-9 Turkish confidence = 0.4939546726022934</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
<msg timestamp="20240625 11:32:17.999" level="DEBUG">utf-8 confidence = 0.87625</msg>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">EUC-JP not active</msg>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">GB2312 not active</msg>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">EUC-KR not active</msg>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">CP949 not active</msg>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">Big5 not active</msg>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">EUC-TW not active</msg>
<msg timestamp="20240625 11:32:18.014" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=986636134635409408&amp;type=501
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:18 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"rightName":"聊天卡","type":501,"rightSpecUnit":102,"startTime":"2024-06-24 15:04:37","endTime":"2024-06-29 15:04:37","remainingDays":5,"rightCount":2,"dailyUseLimit":-1,"dailyUseCount":0,"enable":true}]}
</msg>
<msg timestamp="20240625 11:32:18.014" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:17.591" endtime="20240625 11:32:18.014"/>
</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="20240625 11:32:18.014" level="INFO">${data} = [{'rightName': '聊天卡', 'type': 501, 'rightSpecUnit': 102, 'startTime': '2024-06-24 15:04:37', 'endTime': '2024-06-29 15:04:37', 'remainingDays': 5, 'rightCount': 2, 'dailyUseLimit': -1, 'dailyUseCount'...</msg>
<status status="PASS" starttime="20240625 11:32:18.014" endtime="20240625 11:32:18.014"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${chatRight}==False and ${data}==[]</arg>
<arg>数据库新增聊天卡权益</arg>
<arg>ELSE IF</arg>
<arg>${chatRight}==False and ${data}!=[]</arg>
<arg>聊天消耗婚介用户权益</arg>
<arg>ELSE IF</arg>
<arg>${chatRight}==True</arg>
<arg>使用婚介常用语聊天</arg>
<arg>ELSE</arg>
<arg>LOG</arg>
<arg>正常聊天</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="聊天消耗婚介用户权益" library="ChatResource" sourcename="聊天消耗${dating}用户权益">
<for flavor="IN ZIP">
<var>${client_header}</var>
<var>${selfMiId}</var>
<value>${Cheader_list}</value>
<value>${miId_list}</value>
<iter>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</var>
<var name="${selfMiId}">986636134635409408</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="20240625 11:32:18.014" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:18.014" endtime="20240625 11:32:18.014"/>
</kw>
<kw name="Set Variable" library="BuiltIn">
<var>${data}</var>
<arg>{"roomId":"${roomId}","selfMiId":"${selfMiId}"}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240625 11:32:18.014" level="INFO">${data} = {"roomId":"1001948467494522880","selfMiId":"986636134635409408"}</msg>
<status status="PASS" starttime="20240625 11:32:18.014" endtime="20240625 11:32:18.014"/>
</kw>
<kw name="POST On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-cim/user/consume/chat-right</arg>
<arg>${data.encode('utf-8')}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<msg timestamp="20240625 11:32:18.014" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:18.499" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-cim/user/consume/chat-right HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:18.499" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/consume/chat-right
path_url=/dating-agency-cim/user/consume/chat-right
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==', 'Content-Length': '64'}
body=b'{"roomId":"1001948467494522880","selfMiId":"986636134635409408"}'
</msg>
<msg timestamp="20240625 11:32:18.499" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/consume/chat-right
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:18 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20240625 11:32:18.499" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:18.014" endtime="20240625 11:32:18.499"/>
</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="20240625 11:32:18.499" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240625 11:32:18.499" endtime="20240625 11:32:18.499"/>
</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="20240625 11:32:18.499" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240625 11:32:18.499" endtime="20240625 11:32:18.499"/>
</kw>
<status status="PASS" starttime="20240625 11:32:18.014" endtime="20240625 11:32:18.499"/>
</iter>
<status status="PASS" starttime="20240625 11:32:18.014" endtime="20240625 11:32:18.499"/>
</for>
<kw name="使用婚介常用语聊天" library="ChatResource" sourcename="使用${dating}常用语聊天">
<for flavor="IN ZIP">
<var>${client_header}</var>
<var>${selfmiId}</var>
<value>${Cheader_list}</value>
<value>${miId_list}</value>
<iter>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}</var>
<var name="${selfmiId}">986636134635409408</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="20240625 11:32:18.499" 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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240625 11:32:18.499" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240625 11:32:18.499" endtime="20240625 11:32:18.499"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-cim/user/page/common-chat-template/by/customer</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240625 11:32:18.499" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-cim/user/page/common-chat-template/by/customer HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:18.562" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/page/common-chat-template/by/customer
path_url=/dating-agency-cim/user/page/common-chat-template/by/customer
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw=='}
body=None
</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">IBM866 Russian confidence = 0.04293064457159178</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">IBM855 Russian confidence = 0.016445265691132117</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">TIS-620 Thai confidence = 0.07036654784268855</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">ISO-8859-9 Turkish confidence = 0.31050097644885893</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240625 11:32:18.562" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/page/common-chat-template/by/customer
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:18 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"commonContent":"The future belongs to those who believe in the beauty of their dreams."},{"commonContent":"微信号:qianniao"},{"commonContent":"nice to meet you\uD83E\uDD1D\uD83E\uDD1D\uD83E\uDD1D"},{"commonContent":"你做过最开心的事情是什么?"},{"commonContent":"你觉得现在过年还有年味吗?"},{"commonContent":"独门独户不独居,相亲相敬常相知。"}],"total":6,"size":10,"current":1,"pages":1}}
</msg>
<msg timestamp="20240625 11:32:18.562" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:18.499" endtime="20240625 11:32:18.562"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${records}</var>
<arg>${reps.json()['data']}</arg>
<arg>records</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240625 11:32:18.562" level="INFO">${records} = [{'commonContent': 'The future belongs to those who believe in the beauty of their dreams.'}, {'commonContent': '微信号:qianniao'}, {'commonContent': 'nice to meet you🤝🤝🤝'}, {'commonContent': '你做过最开心的事情是...</msg>
<status status="PASS" starttime="20240625 11:32:18.562" endtime="20240625 11:32:18.562"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${CommonData}</var>
<arg>random.choice(${records})</arg>
<arg>random</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240625 11:32:18.577" level="INFO">${CommonData} = {'commonContent': '独门独户不独居,相亲相敬常相知。'}</msg>
<status status="PASS" starttime="20240625 11:32:18.577" endtime="20240625 11:32:18.577"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${commonContent}</var>
<arg>${CommonData}</arg>
<arg>commonContent</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240625 11:32:18.577" level="INFO">${commonContent} = 独门独户不独居,相亲相敬常相知。</msg>
<status status="PASS" starttime="20240625 11:32:18.577" endtime="20240625 11:32:18.577"/>
</kw>
<kw name="Set Variable" library="BuiltIn">
<var>${data}</var>
<arg>{"selfMiId":"${selfmiId}","content":"${commonContent}","roomId":"${roomId}"}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240625 11:32:18.577" level="INFO">${data} = {"selfMiId":"986636134635409408","content":"独门独户不独居,相亲相敬常相知。","roomId":"1001948467494522880"}</msg>
<status status="PASS" starttime="20240625 11:32:18.577" endtime="20240625 11:32:18.577"/>
</kw>
<kw name="POST On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-cim/user/send/content</arg>
<arg>${data.encode('utf-8')}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<msg timestamp="20240625 11:32:18.828" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-cim/user/send/content HTTP/1.1" 200 None</msg>
<msg timestamp="20240625 11:32:18.828" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/send/content
path_url=/dating-agency-cim/user/send/content
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/g6O5DXHixyNrf7tr3eQtrvwg2p35xl6PEP5oWK1gQVtproFDiUgWLoQfkHL4SYe1w7V+VtyfQ6e/8BCw==', 'Content-Length': '125'}
body=b'{"selfMiId":"986636134635409408","content":"\xe7\x8b\xac\xe9\x97\xa8\xe7\x8b\xac\xe6\x88\xb7\xe4\xb8\x8d\xe7\x8b\xac\xe5\xb1\x85\xef\xbc\x8c\xe7\x9b\xb8\xe4\xba\xb2\xe7\x9b\xb8\xe6\x95\xac\xe5\xb8\xb8\xe7\x9b\xb8\xe7\x9f\xa5\xe3\x80\x82","roomId":"1001948467494522880"}'
</msg>
<msg timestamp="20240625 11:32:18.828" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-cim/user/send/content
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 03:32:18 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20240625 11:32:18.828" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240625 11:32:18.577" endtime="20240625 11:32:18.828"/>
</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="20240625 11:32:18.828" level="INFO">${code} = 0</msg>
<status status="PASS" starttime="20240625 11:32:18.828" endtime="20240625 11:32:18.828"/>
</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="20240625 11:32:18.828" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240625 11:32:18.828" endtime="20240625 11:32:18.828"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${code}==200100</arg>
<arg>log</arg>
<arg>${message}</arg>
<arg>ELSE</arg>
<arg>log</arg>
<arg>消息发送成功</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="20240625 11:32:18.828" level="INFO">消息发送成功</msg>
<status status="PASS" starttime="20240625 11:32:18.828" endtime="20240625 11:32:18.828"/>
</kw>
<status status="PASS" starttime="20240625 11:32:18.828" endtime="20240625 11:32:18.828"/>
</kw>
<status status="PASS" starttime="20240625 11:32:18.499" endtime="20240625 11:32:18.828"/>
</iter>
<status status="PASS" starttime="20240625 11:32:18.499" endtime="20240625 11:32:18.828"/>
</for>
<status status="PASS" starttime="20240625 11:32:18.499" endtime="20240625 11:32:18.828"/>
</kw>
<status status="PASS" starttime="20240625 11:32:18.014" endtime="20240625 11:32:18.828"/>
</kw>
<status status="PASS" starttime="20240625 11:32:18.014" endtime="20240625 11:32:18.828"/>
</kw>
<status status="PASS" starttime="20240625 11:32:17.544" endtime="20240625 11:32:18.828"/>
</iter>
<status status="PASS" starttime="20240625 11:32:17.544" endtime="20240625 11:32:18.828"/>
</for>
<status status="PASS" starttime="20240625 11:32:17.544" endtime="20240625 11:32:18.828"/>
</kw>
<status status="PASS" starttime="20240625 11:32:11.940" endtime="20240625 11:32:18.828"/>
</test>
<status status="PASS" starttime="20240625 11:32:11.924" endtime="20240625 11:32:18.828"/>
</suite>
<doc>1、嘉宾和嘉宾聊天
2、嘉宾和红娘聊天</doc>
<status status="PASS" starttime="20240625 11:32:11.924" endtime="20240625 11:32:18.828"/>
</suite>
<status status="PASS" starttime="20240625 11:32:11.924" endtime="20240625 11:32:18.828"/>
</suite>
<status status="PASS" starttime="20240625 11:32:11.264" endtime="20240625 11:32:18.828"/>
</suite>
<statistics>
<total>
<stat pass="2" fail="0" skip="0">All Tests</stat>
</total>
<tag>
</tag>
<suite>
<stat pass="2" fail="0" skip="0" id="s1" name="Dating-agency">Dating-agency</stat>
<stat pass="1" fail="0" skip="0" id="s1-s1" name="0-Login">Dating-agency.0-Login</stat>
<stat pass="1" fail="0" skip="0" id="s1-s1-s1" name="Login-interface">Dating-agency.0-Login.Login-interface</stat>
<stat pass="1" fail="0" skip="0" id="s1-s2" name="1-Applet">Dating-agency.1-Applet</stat>
<stat pass="1" fail="0" skip="0" id="s1-s2-s1" name="7-Chat">Dating-agency.1-Applet.7-Chat</stat>
<stat pass="1" fail="0" skip="0" id="s1-s2-s1-s1" name="Chat">Dating-agency.1-Applet.7-Chat.Chat</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>