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.
 
 
 

1081 lines
79 KiB

<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240518 10:06:35.933" 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="20240518 10:06:35.948" endtime="20240518 10:06:35.964"/>
</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="20240518 10:06:36.328" endtime="20240518 10:06:36.328"/>
</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="20240518 10:06:36.328" 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="20240518 10:06:36.328" level="INFO">${file} = 手机号
13416472917</msg>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.328"/>
</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="20240518 10:06:36.328" level="INFO">${skip-line} = 1</msg>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.328"/>
</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="20240518 10:06:36.328" level="INFO">${lines} = -1</msg>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.328"/>
</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="20240518 10:06:36.328" level="INFO">1 out of 2 lines matched</msg>
<msg timestamp="20240518 10:06:36.328" level="INFO">${content} = 13416472917</msg>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.328"/>
</kw>
<for flavor="IN">
<var>${id}</var>
<value>${content}</value>
<iter>
<var name="${id}">13416472917</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="20240518 10:06:36.338" level="INFO">${id} = ['13416472917']</msg>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.338"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.338"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.338"/>
</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="20240518 10:06:36.338" level="INFO">${id} = ['13416472917']</msg>
<status status="PASS" starttime="20240518 10:06:36.338" endtime="20240518 10:06:36.338"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.339"/>
</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="20240518 10:06:36.339" level="INFO">${userid_list} = []</msg>
<status status="PASS" starttime="20240518 10:06:36.339" endtime="20240518 10:06:36.339"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${Cheader_list}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240518 10:06:36.340" level="INFO">${Cheader_list} = []</msg>
<status status="PASS" starttime="20240518 10:06:36.340" endtime="20240518 10:06:36.340"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${Aheader_list}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240518 10:06:36.340" level="INFO">${Aheader_list} = []</msg>
<status status="PASS" starttime="20240518 10:06:36.340" endtime="20240518 10:06:36.340"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${phoneList}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240518 10:06:36.341" level="INFO">${phoneList} = []</msg>
<status status="PASS" starttime="20240518 10:06:36.340" endtime="20240518 10:06:36.341"/>
</kw>
<for flavor="IN">
<var>${account}</var>
<value>@{id}</value>
<iter>
<var name="${account}">13416472917</var>
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20240518 10:06:36.341" endtime="20240518 10:06:36.341"/>
</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="20240518 10:06:36.343" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240518 10:06:36.343" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240518 10:06:36.342" endtime="20240518 10:06:36.343"/>
</kw>
<kw name="Set Variable" library="BuiltIn">
<var>${data}</var>
<arg>{ \ \ "account":"${account}", \ \ "accountType":2, \ \ "captcha":666666 }</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240518 10:06:36.343" level="INFO">${data} = { "account":"13416472917", "accountType":2, "captcha":666666 }</msg>
<status status="PASS" starttime="20240518 10:06:36.343" endtime="20240518 10:06:36.343"/>
</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="20240518 10:06:36.346" level="DEBUG">Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com</msg>
<msg timestamp="20240518 10:06:36.373" level="DEBUG">http://dating-agency-api.quzhaoqin.com:80 "POST /dating-agency-uec/authorize/by-captcha HTTP/1.1" 200 None</msg>
<msg timestamp="20240518 10:06:36.373" level="INFO">POST Request : url=http://dating-agency-api.quzhaoqin.com/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":"13416472917", "accountType":2, "captcha":666666 }'
</msg>
<msg timestamp="20240518 10:06:36.373" level="INFO">POST Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==","userId":"986353512956956672"}}
</msg>
<msg timestamp="20240518 10:06:36.373" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.343" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${code} = 0</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${userId} = 986353512956956672</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','X-Organization-Id':'96...</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${login_header}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240518 10:06:36.373" level="INFO">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','X-Organization-Id':'963432943739605555'}</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.341" endtime="20240518 10:06:36.373"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.341" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${phoneList} = ['13416472917']</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${userid_list} = ['986353512956956672']</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.373" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','X-Organization-Id':'...</msg>
<status status="PASS" starttime="20240518 10:06:36.373" endtime="20240518 10:06:36.373"/>
</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="20240518 10:06:36.389" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}"]</msg>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.389"/>
</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="20240518 10:06:36.389" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','X-Organization-Id':'96...</msg>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.389"/>
</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="20240518 10:06:36.389" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}</msg>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.389"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.339" endtime="20240518 10:06:36.389"/>
</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="20240518 10:06:36.389" level="INFO">${Aheader} = []</msg>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.389"/>
</kw>
<for flavor="IN ZIP">
<var>${userId}</var>
<var>${login_header}</var>
<value>${userid_list}</value>
<value>${Aheader_list}</value>
<iter>
<var name="${userId}">986353512956956672</var>
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','X-Organization-Id':'96...</var>
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.389"/>
</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="20240518 10:06:36.393" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240518 10:06:36.393" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.393"/>
</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="20240518 10:06:36.394" level="DEBUG">Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com</msg>
<msg timestamp="20240518 10:06:36.416" level="DEBUG">http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-uec/user/list/own-organization?userId=986353512956956672 HTTP/1.1" 200 None</msg>
<msg timestamp="20240518 10:06:36.416" level="INFO">GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/user/list/own-organization?userId=986353512956956672
path_url=/dating-agency-uec/user/list/own-organization?userId=986353512956956672
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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240518 10:06:36.416" level="INFO">GET Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/user/list/own-organization?userId=986353512956956672
status=200, reason=
headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[]}
</msg>
<msg timestamp="20240518 10:06:36.416" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.393" endtime="20240518 10:06:36.416"/>
</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="20240518 10:06:36.416" level="INFO">${data} = []</msg>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.416"/>
</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="20240518 10:06:36.416" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.416"/>
</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="20240518 10:06:36.416" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.416"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${data}==[]</arg>
<arg>log</arg>
<arg>未获取到组织信息!</arg>
<arg>ELSE</arg>
<arg>log</arg>
<arg>${data}</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="Log" library="BuiltIn">
<arg>未获取到组织信息!</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240518 10:06:36.416" level="INFO">未获取到组织信息!</msg>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.416"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.416"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.416"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.416"/>
</for>
<status status="PASS" starttime="20240518 10:06:36.389" endtime="20240518 10:06:36.416"/>
</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="20240518 10:06:36.416" level="INFO">${matchmakerFlagList} = []</msg>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.416"/>
</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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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="20240518 10:06:36.416" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240518 10:06:36.416" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.416"/>
</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="20240518 10:06:36.416" level="DEBUG">Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com</msg>
<msg timestamp="20240518 10:06:36.449" level="DEBUG">http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-uec/user/get/base-info HTTP/1.1" 200 None</msg>
<msg timestamp="20240518 10:06:36.449" level="INFO">GET Request : url=http://dating-agency-api.quzhaoqin.com/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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240518 10:06:36.449" level="INFO">GET Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/user/get/base-info
status=200, reason=
headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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":"986353512956956672","realName":null,"nickName":null,"phone":"13416472917","matchmakerFlag":false}}
</msg>
<msg timestamp="20240518 10:06:36.450" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.450"/>
</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="20240518 10:06:36.451" level="INFO">${phone} = 13416472917</msg>
<status status="PASS" starttime="20240518 10:06:36.450" endtime="20240518 10:06:36.451"/>
</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="20240518 10:06:36.451" level="INFO">${matchmakerFlag} = False</msg>
<status status="PASS" starttime="20240518 10:06:36.451" endtime="20240518 10:06:36.452"/>
</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="20240518 10:06:36.452" endtime="20240518 10:06:36.452"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.452"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.452"/>
</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="20240518 10:06:36.453" level="INFO">${phone} = 13416472917</msg>
<status status="PASS" starttime="20240518 10:06:36.452" endtime="20240518 10:06:36.453"/>
</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="20240518 10:06:36.453" level="INFO">${matchmakerFlag} = False</msg>
<status status="PASS" starttime="20240518 10:06:36.453" endtime="20240518 10:06:36.453"/>
</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="20240518 10:06:36.454" level="INFO">${matchmakerFlagList} = [False]</msg>
<status status="PASS" starttime="20240518 10:06:36.453" endtime="20240518 10:06:36.454"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.416" endtime="20240518 10:06:36.454"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.328" endtime="20240518 10:06:36.454"/>
</test>
<doc>接口:短信验证码登录认证</doc>
<status status="PASS" starttime="20240518 10:06:35.964" endtime="20240518 10:06:36.454"/>
</suite>
<doc>用户登录婚介平台</doc>
<status status="PASS" starttime="20240518 10:06:35.964" endtime="20240518 10:06:36.455"/>
</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="4-Invite" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\4-Invite">
<suite id="s1-s2-s1-s1" name="Invite" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\4-Invite\Invite.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="20240518 10:06:36.468" endtime="20240518 10:06:36.468"/>
</kw>
<test id="s1-s2-s1-s1-t1" name="红娘邀请嘉宾" line="6">
<kw name="Given 查询婚介用户资料" library="InviteResource" sourcename="查询${dating}用户资料">
<kw name="Create List" library="BuiltIn">
<var>${miId_list}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240518 10:06:36.468" level="INFO">${miId_list} = []</msg>
<status status="PASS" starttime="20240518 10:06:36.468" endtime="20240518 10:06:36.468"/>
</kw>
<for flavor="IN ZIP">
<var>${userId}</var>
<var>${client_header}</var>
<value>${userid_list}</value>
<value>${Cheader_list}</value>
<iter>
<var name="${userId}">986353512956956672</var>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}</var>
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20240518 10:06:36.468" endtime="20240518 10:06:36.468"/>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<arg>dating</arg>
<arg>${${dating}.dating域名}</arg>
<arg>${client_header}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<msg timestamp="20240518 10:06:36.468" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240518 10:06:36.468" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240518 10:06:36.468" endtime="20240518 10:06:36.468"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>/dating-agency-service/user/get/first/fill/marriage/information/details</arg>
<arg>params=userId=${userId}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240518 10:06:36.468" level="DEBUG">Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com</msg>
<msg timestamp="20240518 10:06:36.507" level="DEBUG">http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-service/user/get/first/fill/marriage/information/details?userId=986353512956956672 HTTP/1.1" 200 None</msg>
<msg timestamp="20240518 10:06:36.507" level="INFO">GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/first/fill/marriage/information/details?userId=986353512956956672
path_url=/dating-agency-service/user/get/first/fill/marriage/information/details?userId=986353512956956672
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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}
body=None
</msg>
<msg timestamp="20240518 10:06:36.512" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240518 10:06:36.512" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.512" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.512" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.512" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.512" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.513" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.513" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.513" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.513" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.513" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.513" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.513" level="DEBUG">IBM866 Russian confidence = 0.023855690337636886</msg>
<msg timestamp="20240518 10:06:36.513" level="DEBUG">IBM855 Russian confidence = 0.08912241236394088</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">ISO-8859-9 Turkish confidence = 0.35695340012443866</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.514" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.515" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240518 10:06:36.515" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.515" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.515" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.515" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.515" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.515" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.515" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.515" level="INFO">GET Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/first/fill/marriage/information/details?userId=986353512956956672
status=200, reason=
headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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":"986353543797673984","accountId":null,"userId":"986353512956956672","nickName":"七月半","genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1992","educationCode":3,"education":"大学本科","incomeCode":3,"income":"8001~12000","height":"163","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440300,"hometownCityName":"深圳市","identityType":3,"identityTypeName":"亲友","fillSerialNumber":8}}
</msg>
<msg timestamp="20240518 10:06:36.516" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.468" endtime="20240518 10:06:36.516"/>
</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="20240518 10:06:36.517" level="INFO">${miId} = 986353543797673984</msg>
<status status="PASS" starttime="20240518 10:06:36.516" endtime="20240518 10:06:36.517"/>
</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="20240518 10:06:36.518" endtime="20240518 10:06:36.518"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${userId}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240518 10:06:36.519" level="INFO">${userId} = 986353512956956672</msg>
<status status="PASS" starttime="20240518 10:06:36.518" endtime="20240518 10:06:36.519"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${miId_list}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240518 10:06:36.520" level="INFO">${miId_list} = ['986353543797673984']</msg>
<status status="PASS" starttime="20240518 10:06:36.519" endtime="20240518 10:06:36.520"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.468" endtime="20240518 10:06:36.520"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.468" endtime="20240518 10:06:36.520"/>
</for>
<status status="PASS" starttime="20240518 10:06:36.468" endtime="20240518 10:06:36.521"/>
</kw>
<kw name="And 查询婚介征婚人发榜详情" library="InviteResource" sourcename="查询${dating}征婚人发榜详情">
<for flavor="IN ZIP">
<var>${miId}</var>
<var>${client_header}</var>
<value>${miId_list}</value>
<value>${Cheader_list}</value>
<iter>
<var name="${miId}">986353543797673984</var>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}</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="20240518 10:06:36.523" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240518 10:06:36.523" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240518 10:06:36.522" endtime="20240518 10:06:36.523"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail</arg>
<arg>params=miId=${miId}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240518 10:06:36.525" level="DEBUG">Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com</msg>
<msg timestamp="20240518 10:06:36.572" level="DEBUG">http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail?miId=986353543797673984 HTTP/1.1" 200 None</msg>
<msg timestamp="20240518 10:06:36.572" level="INFO">GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail?miId=986353543797673984
path_url=/dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail?miId=986353543797673984
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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}
body=None
</msg>
<msg timestamp="20240518 10:06:36.582" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240518 10:06:36.582" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.582" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.582" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.582" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.582" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">MacCyrillic Russian confidence = 0.03516867630646567</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">IBM866 Russian confidence = 0.03301227318477545</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">IBM855 Russian confidence = 0.06350449919974399</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.583" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">TIS-620 Thai confidence = 0.029914948694517267</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">ISO-8859-9 Turkish confidence = 0.34862764196311435</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.584" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.585" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.585" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.585" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.585" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.585" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.585" level="INFO">GET Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail?miId=986353543797673984
status=200, reason=
headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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":"986353543797673984","isDelete":false,"createTime":"2024-05-16 18:51:37","updateTime":null,"event":null,"accountId":null,"userId":"986353512956956672","nickName":"七月半","name":"赖勇兰","profilePhoto":"https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg","identityCard":"441481199509213863","genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1992","birthDate":"1992-09-21","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"猪","height":163,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":null,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","identityType":3,"identityTypeName":"亲友","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","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":440300,"hometownCityName":"深圳市","display":true,"inLove":0,"auditProfilePhoto":null,"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":[],"age":32,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":false,"dataScoring":40,"phone":"13416472917","amountPaid":0,"publishOrNot":true,"meetingAmount":0,"withdrawalAmount":0,"appointment":0,"visibleTotal":5,"selected":false,"msrId":"2","matchmaker":{"id":null,"userId":null,"name":null,"score":0.0,"serviceDay":null},"marriageBountyOrderId":"988556480489852928","educationAudit":false,"mobileNumber":""}}
</msg>
<msg timestamp="20240518 10:06:36.585" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.524" endtime="20240518 10:06:36.585"/>
</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="20240518 10:06:36.586" level="INFO">${userId} = 986353512956956672</msg>
<status status="PASS" starttime="20240518 10:06:36.586" endtime="20240518 10:06:36.586"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${matchmaker}</var>
<arg>${reps.json()['data']}</arg>
<arg>matchmaker</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240518 10:06:36.588" level="INFO">${matchmaker} = {'id': None, 'userId': None, 'name': None, 'score': 0.0, 'serviceDay': None}</msg>
<status status="PASS" starttime="20240518 10:06:36.587" endtime="20240518 10:06:36.588"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${matchmakerId}</var>
<arg>${matchmaker}</arg>
<arg>id</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240518 10:06:36.588" level="INFO">${matchmakerId} = None</msg>
<status status="PASS" starttime="20240518 10:06:36.588" endtime="20240518 10:06:36.588"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${matchmakerUserId}</var>
<arg>${matchmaker}</arg>
<arg>userId</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240518 10:06:36.589" level="INFO">${matchmakerUserId} = None</msg>
<status status="PASS" starttime="20240518 10:06:36.589" endtime="20240518 10:06:36.589"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${matchmakerId}==None</arg>
<arg>红娘邀请婚介用户成为嘉宾</arg>
<arg>ELSE</arg>
<arg>log</arg>
<arg>${matchmaker}</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="红娘邀请婚介用户成为嘉宾" library="InviteResource" sourcename="红娘邀请${dating}用户成为嘉宾">
<for flavor="IN ZIP">
<var>${userId}</var>
<var>${client_header}</var>
<value>${userid_list}</value>
<value>${Cheader_list}</value>
<iter>
<var name="${userId}">986353512956956672</var>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}</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="20240518 10:06:36.592" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240518 10:06:36.592" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240518 10:06:36.591" endtime="20240518 10:06:36.592"/>
</kw>
<kw name="Set Variable" library="BuiltIn">
<var>${matchmakerUserId}</var>
<arg>988491861142409216</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240518 10:06:36.593" level="INFO">${matchmakerUserId} = 988491861142409216</msg>
<status status="PASS" starttime="20240518 10:06:36.593" endtime="20240518 10:06:36.593"/>
</kw>
<kw name="Set Variable" library="BuiltIn">
<var>${data}</var>
<arg>{"initiatorUserId":${matchmakerUserId}}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240518 10:06:36.594" level="INFO">${data} = {"initiatorUserId":988491861142409216}</msg>
<status status="PASS" starttime="20240518 10:06:36.593" endtime="20240518 10:06:36.594"/>
</kw>
<kw name="Post Request" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-service/user/save/matchmaker/invite/user?userId=${userId}</arg>
<arg>${data.encode('utf-8')}</arg>
<doc>*DEPRECATED* Please use `POST On Session` instead.</doc>
<msg timestamp="20240518 10:06:36.594" level="WARN">Keyword 'RequestsLibrary.Post Request' is deprecated. Please use `POST On Session` instead.</msg>
<msg timestamp="20240518 10:06:36.596" level="DEBUG">Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com</msg>
<msg timestamp="20240518 10:06:36.629" level="DEBUG">http://dating-agency-api.quzhaoqin.com:80 "POST /dating-agency-service/user/save/matchmaker/invite/user?userId=986353512956956672 HTTP/1.1" 200 None</msg>
<msg timestamp="20240518 10:06:36.629" level="INFO">POST Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/save/matchmaker/invite/user?userId=986353512956956672
path_url=/dating-agency-service/user/save/matchmaker/invite/user?userId=986353512956956672
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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'Content-Length': '38'}
body=b'{"initiatorUserId":988491861142409216}'
</msg>
<msg timestamp="20240518 10:06:36.629" level="INFO">POST Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/save/matchmaker/invite/user?userId=986353512956956672
status=200, reason=
headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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="20240518 10:06:36.629" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.594" endtime="20240518 10:06:36.629"/>
</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="20240518 10:06:36.629" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.629"/>
</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="20240518 10:06:36.629" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.629"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.591" endtime="20240518 10:06:36.629"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.590" endtime="20240518 10:06:36.629"/>
</for>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${matchmakerUserId}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240518 10:06:36.629" level="INFO">${matchmakerUserId} = 988491861142409216</msg>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.629"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.590" endtime="20240518 10:06:36.629"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.589" endtime="20240518 10:06:36.629"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${userId}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240518 10:06:36.629" level="INFO">${userId} = 986353512956956672</msg>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.629"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.522" endtime="20240518 10:06:36.629"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.521" endtime="20240518 10:06:36.629"/>
</for>
<status status="PASS" starttime="20240518 10:06:36.521" endtime="20240518 10:06:36.629"/>
</kw>
<kw name="When 后台查询婚介红娘列表" library="InviteResource" sourcename="后台查询${dating}红娘列表">
<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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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="20240518 10:06:36.629" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240518 10:06:36.629" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.629"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-uec/user/page/matchmaker</arg>
<arg>params=pageSize=10&amp;pageNum=1</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240518 10:06:36.629" level="DEBUG">Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com</msg>
<msg timestamp="20240518 10:06:36.663" level="DEBUG">http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-uec/user/page/matchmaker?pageSize=10&amp;pageNum=1 HTTP/1.1" 200 None</msg>
<msg timestamp="20240518 10:06:36.664" level="INFO">GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/user/page/matchmaker?pageSize=10&amp;pageNum=1
path_url=/dating-agency-uec/user/page/matchmaker?pageSize=10&amp;pageNum=1
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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240518 10:06:36.666" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240518 10:06:36.666" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.666" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.666" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">IBM855 Russian confidence = 0.14951815818455233</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.667" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3590180753709183</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.668" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.669" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.669" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.669" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.669" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.669" level="INFO">GET Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/user/page/matchmaker?pageSize=10&amp;pageNum=1
status=200, reason=
headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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":"988495646774398976","userId":"988491861142409216","name":"15134891062","phone":"15134891062","identityCard":"20240516144835","enable":true,"createTime":"2024-05-16 14:49:17","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]}],"total":1,"size":10,"current":1,"pages":1}}
</msg>
<msg timestamp="20240518 10:06:36.669" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.669"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${matchmaker_list}</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="20240518 10:06:36.669" level="INFO">${matchmaker_list} = [{'id': '988495646774398976', 'userId': '988491861142409216', 'name': '15134891062', 'phone': '15134891062', 'identityCard': '20240516144835', 'enable': True, 'createTime': '2024-05-16 14:49:17', 'ser...</msg>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${matchmaker_list}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240518 10:06:36.669" level="INFO">${matchmaker_list} = [{'id': '988495646774398976', 'userId': '988491861142409216', 'name': '15134891062', 'phone': '15134891062', 'identityCard': '20240516144835', 'enable': True, 'createTime': '2024-05-16 14:49:17', 'ser...</msg>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</kw>
<kw name="遍历红娘列表" library="InviteResource">
<for flavor="IN">
<var>${matchmaker}</var>
<value>@{matchmaker_list}</value>
<iter>
<var name="${matchmaker}">{'id': '988495646774398976', 'userId': '988491861142409216', 'name': '15134891062', 'phone': '15134891062', 'identityCard': '20240516144835', 'enable': True, 'createTime': '2024-05-16 14:49:17', 'serv...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${matchmakerId}</var>
<arg>${matchmaker}</arg>
<arg>id</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240518 10:06:36.669" level="INFO">${matchmakerId} = 988495646774398976</msg>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${userId}</var>
<arg>${matchmaker}</arg>
<arg>userId</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240518 10:06:36.669" level="INFO">${userId} = 988491861142409216</msg>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<arg>${userId}==${matchmakerUserId}</arg>
<doc>Stops executing the enclosing FOR loop if the ``condition`` is true.</doc>
<msg timestamp="20240518 10:06:36.669" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</for>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${matchmakerId}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240518 10:06:36.669" level="INFO">${matchmakerId} = 988495646774398976</msg>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.669"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.669"/>
</for>
<status status="PASS" starttime="20240518 10:06:36.629" endtime="20240518 10:06:36.669"/>
</kw>
<kw name="Then 查询婚介后台红娘详情" library="InviteResource" sourcename="查询${dating}后台红娘详情">
<for flavor="IN">
<var>${client_header}</var>
<value>@{Cheader_list}</value>
<iter>
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}</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="20240518 10:06:36.669" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240518 10:06:36.669" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.669"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-service/user/get/matchmaker/guest/page</arg>
<arg>params=pageSize=10&amp;matchmakerId=${matchmakerId}&amp;pageNum=1</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240518 10:06:36.669" level="DEBUG">Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com</msg>
<msg timestamp="20240518 10:06:36.708" level="DEBUG">http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-service/user/get/matchmaker/guest/page?pageSize=10&amp;matchmakerId=988495646774398976&amp;pageNum=1 HTTP/1.1" 200 None</msg>
<msg timestamp="20240518 10:06:36.709" level="INFO">GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/matchmaker/guest/page?pageSize=10&amp;matchmakerId=988495646774398976&amp;pageNum=1
path_url=/dating-agency-service/user/get/matchmaker/guest/page?pageSize=10&amp;matchmakerId=988495646774398976&amp;pageNum=1
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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}
body=None
</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.721" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">MacCyrillic Russian confidence = 0.03342838104601722</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">IBM866 Russian confidence = 0.0387388308938027</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">IBM855 Russian confidence = 0.07748755167022003</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">TIS-620 Thai confidence = 0.03105930225993092</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3042322168187015</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240518 10:06:36.722" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.723" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.723" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.723" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.723" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.723" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.723" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240518 10:06:36.723" level="INFO">GET Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/matchmaker/guest/page?pageSize=10&amp;matchmakerId=988495646774398976&amp;pageNum=1
status=200, reason=
headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"miId":"986353543797673984","profilePhoto":"https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg","nickName":"七月半","height":"163","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":32,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","hasConsumeUnlockMorePeople":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440300,"hometownCityName":"深圳市","miSessionType":null,"meLike":null,"vip":false,"dataScoring":null,"identityType":3,"identityTypeName":"亲友","status":0,"name":"赖勇兰","msrId":"2","genderCode":1,"genderValue":"女","createTime":"2024-05-18 10:06:36","phone":"13416472917","educationAudit":false},{"miId":"986344345860968448","profilePhoto":"https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/20201721432758197.jpg","nickName":"qianniao","height":"171","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":40,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440100,"hometownCityName":"广州市","miSessionType":null,"meLike":null,"vip":false,"dataScoring":null,"identityType":2,"identityTypeName":"母亲","status":0,"name":"李博","msrId":"1","genderCode":0,"genderValue":"男","createTime":"2024-05-16 15:43:00","phone":"19128859944","educationAudit":false},{"miId":"988486875104808960","profilePhoto":"https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/8DDE1ECACB1916B.png","nickName":"就是不吃饭","height":"160","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":441400,"domicilePlaceCityName":"梅州市","educationCode":3,"education":"大学本科","age":29,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"Some days the sunsets would be purple and pink. And some days they were a blazing orange setting fire to the clouds on the horizon. It was during one of those sunsets that my father's idea of the whole being greater than the sum of its parts moved from my head to my heart. 有时落日泛起紫红的余晖,有时散发出橘红色的火光燃起天边的晚霞。在这绚烂的日落景象中,我慢慢领悟了父亲所说的整体胜于局部总和的道理。","hasConsumeUnlockMorePeople":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSessionType":null,"meLike":null,"vip":false,"dataScoring":null,"identityType":0,"identityTypeName":"本人","status":0,"name":"赖勇兰","msrId":"5","genderCode":1,"genderValue":"女","createTime":"2024-05-16 14:58:33","phone":"15014242835","educationAudit":false}],"total":3,"size":10,"current":1,"pages":1}}
</msg>
<msg timestamp="20240518 10:06:36.723" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.723"/>
</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="20240518 10:06:36.724" level="INFO">${records} = [{'miId': '986353543797673984', 'profilePhoto': 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg', 'nickName': '七月半', 'height': '163', 'provinceCode': 440000, 'provinceNa...</msg>
<status status="PASS" starttime="20240518 10:06:36.724" endtime="20240518 10:06:36.724"/>
</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="20240518 10:06:36.725" level="INFO">${records} = [{'miId': '986353543797673984', 'profilePhoto': 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg', 'nickName': '七月半', 'height': '163', 'provinceCode': 440000, 'provinceNa...</msg>
<status status="PASS" starttime="20240518 10:06:36.725" endtime="20240518 10:06:36.725"/>
</kw>
<kw name="遍历嘉宾列表" library="InviteResource">
<for flavor="IN">
<var>${records}</var>
<value>@{records}</value>
<iter>
<var name="${records}">{'miId': '986353543797673984', 'profilePhoto': 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg', 'nickName': '七月半', 'height': '163', 'provinceCode': 440000, 'provinceNam...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${MIID}</var>
<arg>${records}</arg>
<arg>miId</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240518 10:06:36.725" level="INFO">${MIID} = 986353543797673984</msg>
<status status="PASS" starttime="20240518 10:06:36.725" endtime="20240518 10:06:36.725"/>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<arg>${MIID}==${miId}</arg>
<doc>Stops executing the enclosing FOR loop if the ``condition`` is true.</doc>
<msg timestamp="20240518 10:06:36.725" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20240518 10:06:36.725" endtime="20240518 10:06:36.725"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${MIID}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<status status="NOT RUN" starttime="20240518 10:06:36.725" endtime="20240518 10:06:36.725"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.725" endtime="20240518 10:06:36.725"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.725" endtime="20240518 10:06:36.725"/>
</for>
<status status="PASS" starttime="20240518 10:06:36.725" endtime="20240518 10:06:36.725"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.725"/>
</iter>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.725"/>
</for>
<status status="PASS" starttime="20240518 10:06:36.669" endtime="20240518 10:06:36.725"/>
</kw>
<status status="PASS" starttime="20240518 10:06:36.468" endtime="20240518 10:06:36.725"/>
</test>
<status status="PASS" starttime="20240518 10:06:36.460" endtime="20240518 10:06:36.725"/>
</suite>
<doc>1、红娘邀请加盟
2、红娘邀请嘉宾
3、邀请帮忙认证
4、资料分享</doc>
<status status="PASS" starttime="20240518 10:06:36.458" endtime="20240518 10:06:36.725"/>
</suite>
<status status="PASS" starttime="20240518 10:06:36.456" endtime="20240518 10:06:36.725"/>
</suite>
<status status="PASS" starttime="20240518 10:06:35.933" endtime="20240518 10:06:36.725"/>
</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="4-Invite">Dating-agency.1-Applet.4-Invite</stat>
<stat pass="1" fail="0" skip="0" id="s1-s2-s1-s1" name="Invite">Dating-agency.1-Applet.4-Invite.Invite</stat>
</suite>
</statistics>
<errors>
<msg timestamp="20240518 10:06:36.594" level="WARN">Keyword 'RequestsLibrary.Post Request' is deprecated. Please use `POST On Session` instead.</msg>
</errors>
</robot>