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.
1438 lines
111 KiB
1438 lines
111 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240430 10:22:41.588" 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="20240430 10:22:41.620" endtime="20240430 10:22:41.620"/>
|
|
</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="20240430 10:22:42.029" endtime="20240430 10:22:42.029"/>
|
|
</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="20240430 10:22:42.029" level="INFO" html="true">Getting file '<a href="file://D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt">D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt</a>'.</msg>
|
|
<msg timestamp="20240430 10:22:42.029" level="INFO">${file} = 手机号
|
|
15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.029" endtime="20240430 10:22:42.029"/>
|
|
</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="20240430 10:22:42.029" level="INFO">${skip-line} = 1</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.029" endtime="20240430 10:22:42.029"/>
|
|
</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="20240430 10:22:42.029" level="INFO">${lines} = -1</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.029" endtime="20240430 10:22:42.029"/>
|
|
</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="20240430 10:22:42.029" level="INFO">1 out of 2 lines matched</msg>
|
|
<msg timestamp="20240430 10:22:42.029" level="INFO">${content} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.029" endtime="20240430 10:22:42.029"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${id}</var>
|
|
<value>${content}</value>
|
|
<iter>
|
|
<var name="${id}">15121074365</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="20240430 10:22:42.044" level="INFO">${id} = ['15121074365']</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.044"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.044"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.044"/>
|
|
</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="20240430 10:22:42.044" level="INFO">${id} = ['15121074365']</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.044"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.029" endtime="20240430 10:22:42.044"/>
|
|
</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="20240430 10:22:42.044" level="INFO">${userid_list} = []</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.044"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Cheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240430 10:22:42.044" level="INFO">${Cheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.044"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Aheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240430 10:22:42.044" level="INFO">${Aheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.044"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${phoneList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240430 10:22:42.048" level="INFO">${phoneList} = []</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.048"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${account}</var>
|
|
<value>@{id}</value>
|
|
<iter>
|
|
<var name="${account}">15121074365</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240430 10:22:42.048" endtime="20240430 10:22:42.048"/>
|
|
</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="20240430 10:22:42.049" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.049" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.048" endtime="20240430 10:22:42.050"/>
|
|
</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="20240430 10:22:42.050" level="INFO">${data} = { "account":"15121074365", "accountType":2, "captcha":888888 }</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.050" endtime="20240430 10:22:42.050"/>
|
|
</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="20240430 10:22:42.053" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.158" 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="20240430 10:22:42.158" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha
|
|
path_url=/dating-agency-uec/authorize/by-captcha
|
|
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Content-Length': '68'}
|
|
body=b'{ "account":"15121074365", "accountType":2, "captcha":888888 }'
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.158" 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, 30 Apr 2024 02:23:07 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==","userId":"977568001438126080"}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.158" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.050" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${code} = 0</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${userId} = 977568001438126080</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${login_header}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20240430 10:22:42.158" level="INFO">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'963432943739605555'}</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.048" endtime="20240430 10:22:42.158"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.048" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${phoneList} = ['15121074365']</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${userid_list} = ['977568001438126080']</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.158"/>
|
|
</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="20240430 10:22:42.158" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.158" endtime="20240430 10:22:42.173"/>
|
|
</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="20240430 10:22:42.173" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}"]</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.173"/>
|
|
</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="20240430 10:22:42.173" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.173"/>
|
|
</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="20240430 10:22:42.173" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.173"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.044" endtime="20240430 10:22:42.173"/>
|
|
</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="20240430 10:22:42.173" level="INFO">${Aheader} = []</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.173"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${login_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Aheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">977568001438126080</var>
|
|
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'96...</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.173"/>
|
|
</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="20240430 10:22:42.178" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.178" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.178"/>
|
|
</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="20240430 10:22:42.179" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.210" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=977568001438126080 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.210" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977568001438126080
|
|
path_url=/dating-agency-uec/user/list/own-organization?userId=977568001438126080
|
|
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.210" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977568001438126080
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 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="20240430 10:22:42.210" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.178" endtime="20240430 10:22:42.210"/>
|
|
</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="20240430 10:22:42.210" level="INFO">${data} = []</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.210"/>
|
|
</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="20240430 10:22:42.210" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.210"/>
|
|
</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="20240430 10:22:42.210" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.210"/>
|
|
</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="20240430 10:22:42.210" level="INFO">未获取到组织信息!</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.210"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.210"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.210"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.210"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.173" endtime="20240430 10:22:42.210"/>
|
|
</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="20240430 10:22:42.210" level="INFO">${matchmakerFlagList} = []</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.210"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${admin_header}</var>
|
|
<value>@{Aheader_list}</value>
|
|
<iter>
|
|
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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="20240430 10:22:42.210" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.210" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.210"/>
|
|
</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="20240430 10:22:42.210" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.260" 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="20240430 10:22:42.260" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
|
|
path_url=/dating-agency-uec/user/get/base-info
|
|
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.260" 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, 30 Apr 2024 02:23:07 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"userId":"977568001438126080","realName":null,"nickName":null,"phone":"15121074365","matchmakerFlag":false}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.260" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.260"/>
|
|
</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="20240430 10:22:42.260" level="INFO">${phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.260"/>
|
|
</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="20240430 10:22:42.260" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.260"/>
|
|
</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="20240430 10:22:42.260" endtime="20240430 10:22:42.260"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.260"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.260"/>
|
|
</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="20240430 10:22:42.260" level="INFO">${phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.260"/>
|
|
</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="20240430 10:22:42.260" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.260"/>
|
|
</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="20240430 10:22:42.260" level="INFO">${matchmakerFlagList} = [False]</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.260"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.210" endtime="20240430 10:22:42.260"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.029" endtime="20240430 10:22:42.260"/>
|
|
</test>
|
|
<test id="s1-s1-s1-t2" name="用户扫描红娘二维码注册登录" line="50">
|
|
<kw name="Given 扫描婚介红娘二维码" library="LoginResource" sourcename="扫描${dating}红娘二维码">
|
|
<for flavor="IN">
|
|
<var>${client_header}</var>
|
|
<value>@{Cheader_list}</value>
|
|
<iter>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}</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="20240430 10:22:42.260" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.260" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.260"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/verify/qrcode</arg>
|
|
<arg>params=&qrCodeRecordId=982617756153286656</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240430 10:22:42.260" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/verify/qrcode?&qrCodeRecordId=982617756153286656 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/verify/qrcode?&qrCodeRecordId=982617756153286656
|
|
path_url=/dating-agency-uec/user/verify/qrcode?&qrCodeRecordId=982617756153286656
|
|
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">MacCyrillic Russian confidence = 0.14221661547437375</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">IBM866 Russian confidence = 0.09751996489671343</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">IBM855 Russian confidence = 0.1706599385692485</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">ISO-8859-9 Turkish confidence = 0.4085339397462577</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/verify/qrcode?&qrCodeRecordId=982617756153286656
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":200100,"message":"二维码已失效","data":null}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.295" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.295"/>
|
|
</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="20240430 10:22:42.295" level="INFO">${code} = 200100</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.295" endtime="20240430 10:22:42.295"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.310"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.310"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.310"/>
|
|
</kw>
|
|
<kw name="When 获取婚介平台用户baseinfo并判断是否是红娘" library="LoginResource" sourcename="获取${dating}平台用户baseinfo并判断是否是红娘">
|
|
<for flavor="IN">
|
|
<var>${admin_header}</var>
|
|
<value>@{Aheader_list}</value>
|
|
<iter>
|
|
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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="20240430 10:22:42.310" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.310" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.310" endtime="20240430 10:22:42.310"/>
|
|
</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="20240430 10:22:42.310" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.359" 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="20240430 10:22:42.359" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
|
|
path_url=/dating-agency-uec/user/get/base-info
|
|
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.360" 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, 30 Apr 2024 02:23:07 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"userId":"977568001438126080","realName":null,"nickName":null,"phone":"15121074365","matchmakerFlag":false}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.360" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.310" endtime="20240430 10:22:42.360"/>
|
|
</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="20240430 10:22:42.361" level="INFO">${phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.360" endtime="20240430 10:22:42.361"/>
|
|
</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="20240430 10:22:42.362" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.361" endtime="20240430 10:22:42.362"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${matchmakerFlag}==False</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="LoginResource" sourcename="查询${dating}红娘申请结果">
|
|
<for flavor="IN">
|
|
<var>${client_header}</var>
|
|
<value>@{Cheader_list}</value>
|
|
<iter>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}</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="20240430 10:22:42.363" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.364" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.363" endtime="20240430 10:22:42.364"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/get/matchmaker-apply/by/customer</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240430 10:22:42.365" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/get/matchmaker-apply/by/customer HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/matchmaker-apply/by/customer
|
|
path_url=/dating-agency-uec/user/get/matchmaker-apply/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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">IBM855 Russian confidence = 0.19341459704514832</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">ISO-8859-9 Turkish confidence = 0.41480255132912114</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.400" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.416" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.416" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.416" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.416" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.416" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/matchmaker-apply/by/customer
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 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":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":2,"serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.416" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.364" endtime="20240430 10:22:42.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="20240430 10:22:42.416" level="INFO">${data} = {'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'serviceAreaList': [{'provinceCode': 4400...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.416" endtime="20240430 10:22:42.416"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${data}==None</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="LoginResource" 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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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="20240430 10:22:42.420" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.420" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.419" endtime="20240430 10:22:42.420"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/page/matchmaker-audit</arg>
|
|
<arg>params=pageSize=10&pageNum=1</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240430 10:22:42.421" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
|
|
path_url=/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">MacCyrillic Russian confidence = 0.013610850690844134</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">IBM866 Russian confidence = 0.038819642678841935</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">IBM855 Russian confidence = 0.13871892002381908</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">TIS-620 Thai confidence = 0.005273610129833278</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">ISO-8859-9 Turkish confidence = 0.35526307854536965</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 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":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":2,"createTime":"2024-04-30 09:47:12","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]},{"id":"982372403910938624","userId":"980101508504883200","name":"qianniao被邀请注册","phone":"19128859944","identityCard":"qianniao新账号","status":2,"createTime":"2024-04-29 17:18:18","serviceAreaList":[{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310101,"districtName":"黄浦区"},{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310105,"districtName":"长宁区"}]},{"id":"981235088085880832","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","status":3,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980926388150341632","userId":"980870337099075584","name":"新用户测试红娘注册","phone":"13630297765","identityCard":"202404251731","status":1,"createTime":"2024-04-25 17:32:21","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110105,"districtName":"朝阳区"}]},{"id":"980811414660845568","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":3,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980808130864746496","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":4,"createTime":"2024-04-25 09:42:27","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559360306581504","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"978751718789615616","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":8,"size":10,"current":1,"pages":1}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.467" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.420" endtime="20240430 10:22:42.467"/>
|
|
</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="20240430 10:22:42.467" level="INFO">${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'se...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.467" endtime="20240430 10:22:42.467"/>
|
|
</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="20240430 10:22:42.483" level="INFO">${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'se...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.467" endtime="20240430 10:22:42.483"/>
|
|
</kw>
|
|
<kw name="遍历红娘加盟审核列表" library="LoginResource">
|
|
<for flavor="IN">
|
|
<var>${data}</var>
|
|
<value>@{records}</value>
|
|
<iter>
|
|
<var name="${data}">{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'ser...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${Phone}</var>
|
|
<arg>${data}</arg>
|
|
<arg>phone</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.483" level="INFO">${Phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.483" endtime="20240430 10:22:42.483"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${data}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.483" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.483" endtime="20240430 10:22:42.483"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${matchmakerId}</var>
|
|
<arg>${data}</arg>
|
|
<arg>id</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.483" level="INFO">${matchmakerId} = 982621268689948672</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.483" endtime="20240430 10:22:42.483"/>
|
|
</kw>
|
|
<kw name="Exit For Loop If" library="BuiltIn">
|
|
<arg>${Phone}==${phone}</arg>
|
|
<doc>Stops executing the enclosing FOR loop if the ``condition`` is true.</doc>
|
|
<msg timestamp="20240430 10:22:42.486" level="INFO">Exiting for loop altogether.</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.483" endtime="20240430 10:22:42.486"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.483" endtime="20240430 10:22:42.486"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.483" endtime="20240430 10:22:42.486"/>
|
|
</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="20240430 10:22:42.486" level="INFO">${Phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.486" endtime="20240430 10:22:42.486"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240430 10:22:42.487" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.487" endtime="20240430 10:22:42.487"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${matchmakerId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240430 10:22:42.487" level="INFO">${matchmakerId} = 982621268689948672</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.487" endtime="20240430 10:22:42.488"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.483" endtime="20240430 10:22:42.488"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.419" endtime="20240430 10:22:42.488"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.416" endtime="20240430 10:22:42.488"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.416" endtime="20240430 10:22:42.488"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.416" endtime="20240430 10:22:42.488"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${status}==4</arg>
|
|
<arg>填写婚介红娘加盟信息</arg>
|
|
<arg>ELSE IF</arg>
|
|
<arg>${status}==1</arg>
|
|
<arg>数据库修改申请状态为待审核</arg>
|
|
<arg>ELSE IF</arg>
|
|
<arg>${status}==3</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="LoginResource" 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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'96...</var>
|
|
<kw name="查询婚介红娘申请加盟列表" library="LoginResource" 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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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="20240430 10:22:42.491" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.491" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.490" endtime="20240430 10:22:42.491"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/page/matchmaker-audit</arg>
|
|
<arg>params=pageSize=10&pageNum=1</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240430 10:22:42.492" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.534" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.534" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
|
|
path_url=/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">MacCyrillic Russian confidence = 0.013610850690844134</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">IBM866 Russian confidence = 0.038819642678841935</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">IBM855 Russian confidence = 0.13871892002381908</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">TIS-620 Thai confidence = 0.005273610129833278</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">ISO-8859-9 Turkish confidence = 0.35526307854536965</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 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":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":2,"createTime":"2024-04-30 09:47:12","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]},{"id":"982372403910938624","userId":"980101508504883200","name":"qianniao被邀请注册","phone":"19128859944","identityCard":"qianniao新账号","status":2,"createTime":"2024-04-29 17:18:18","serviceAreaList":[{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310101,"districtName":"黄浦区"},{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310105,"districtName":"长宁区"}]},{"id":"981235088085880832","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","status":3,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980926388150341632","userId":"980870337099075584","name":"新用户测试红娘注册","phone":"13630297765","identityCard":"202404251731","status":1,"createTime":"2024-04-25 17:32:21","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110105,"districtName":"朝阳区"}]},{"id":"980811414660845568","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":3,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980808130864746496","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":4,"createTime":"2024-04-25 09:42:27","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559360306581504","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"978751718789615616","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":8,"size":10,"current":1,"pages":1}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.550" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.491" endtime="20240430 10:22:42.550"/>
|
|
</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="20240430 10:22:42.550" level="INFO">${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'se...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.550" endtime="20240430 10:22:42.550"/>
|
|
</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="20240430 10:22:42.550" level="INFO">${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'se...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.550" endtime="20240430 10:22:42.550"/>
|
|
</kw>
|
|
<kw name="遍历红娘加盟审核列表" library="LoginResource">
|
|
<for flavor="IN">
|
|
<var>${data}</var>
|
|
<value>@{records}</value>
|
|
<iter>
|
|
<var name="${data}">{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'ser...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${Phone}</var>
|
|
<arg>${data}</arg>
|
|
<arg>phone</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.556" level="INFO">${Phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.555" endtime="20240430 10:22:42.556"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${data}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.556" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.556" endtime="20240430 10:22:42.556"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${matchmakerId}</var>
|
|
<arg>${data}</arg>
|
|
<arg>id</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.557" level="INFO">${matchmakerId} = 982621268689948672</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.556" endtime="20240430 10:22:42.557"/>
|
|
</kw>
|
|
<kw name="Exit For Loop If" library="BuiltIn">
|
|
<arg>${Phone}==${phone}</arg>
|
|
<doc>Stops executing the enclosing FOR loop if the ``condition`` is true.</doc>
|
|
<msg timestamp="20240430 10:22:42.557" level="INFO">Exiting for loop altogether.</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.557" endtime="20240430 10:22:42.557"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.555" endtime="20240430 10:22:42.558"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.555" endtime="20240430 10:22:42.558"/>
|
|
</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="20240430 10:22:42.558" level="INFO">${Phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.558" endtime="20240430 10:22:42.558"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240430 10:22:42.559" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.559" endtime="20240430 10:22:42.559"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${matchmakerId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240430 10:22:42.559" level="INFO">${matchmakerId} = 982621268689948672</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.559" endtime="20240430 10:22:42.559"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.555" endtime="20240430 10:22:42.560"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.490" endtime="20240430 10:22:42.560"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.490" endtime="20240430 10:22:42.560"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.489" endtime="20240430 10:22:42.560"/>
|
|
</kw>
|
|
<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="20240430 10:22:42.561" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.561" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.560" endtime="20240430 10:22:42.561"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{"id":"${matchmakerId}","status":3}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240430 10:22:42.562" level="INFO">${data} = {"id":"982621268689948672","status":3}</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.561" endtime="20240430 10:22:42.562"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/audit/matchmaker-apply</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240430 10:22:42.563" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.649" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-uec/user/audit/matchmaker-apply HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.649" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/audit/matchmaker-apply
|
|
path_url=/dating-agency-uec/user/audit/matchmaker-apply
|
|
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '38'}
|
|
body=b'{"id":"982621268689948672","status":3}'
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.649" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/audit/matchmaker-apply
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:08 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":null}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.649" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.562" endtime="20240430 10:22:42.649"/>
|
|
</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="20240430 10:22:42.649" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.649"/>
|
|
</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="20240430 10:22:42.649" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.649"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.489" endtime="20240430 10:22:42.649"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.489" endtime="20240430 10:22:42.649"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.489" endtime="20240430 10:22:42.649"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.488" endtime="20240430 10:22:42.649"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.363" endtime="20240430 10:22:42.649"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.362" endtime="20240430 10:22:42.649"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.362" endtime="20240430 10:22:42.649"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.362" endtime="20240430 10:22:42.649"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.310" endtime="20240430 10:22:42.649"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.310" endtime="20240430 10:22:42.649"/>
|
|
</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="20240430 10:22:42.649" level="INFO">${phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.649"/>
|
|
</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="20240430 10:22:42.649" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.649"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.310" endtime="20240430 10:22:42.649"/>
|
|
</kw>
|
|
<kw name="And 查询婚介红娘申请结果" library="LoginResource" sourcename="查询${dating}红娘申请结果">
|
|
<for flavor="IN">
|
|
<var>${client_header}</var>
|
|
<value>@{Cheader_list}</value>
|
|
<iter>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}</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="20240430 10:22:42.649" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.649" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.649"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/get/matchmaker-apply/by/customer</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240430 10:22:42.649" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/get/matchmaker-apply/by/customer HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/matchmaker-apply/by/customer
|
|
path_url=/dating-agency-uec/user/get/matchmaker-apply/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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">IBM855 Russian confidence = 0.19341459704514832</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">ISO-8859-9 Turkish confidence = 0.41480255132912114</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/matchmaker-apply/by/customer
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:08 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"id":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":3,"serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.701" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.701"/>
|
|
</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="20240430 10:22:42.701" level="INFO">${data} = {'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 3, 'serviceAreaList': [{'provinceCode': 4400...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.701" endtime="20240430 10:22:42.701"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${data}==None</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="LoginResource" 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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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="20240430 10:22:42.716" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.716" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.701" endtime="20240430 10:22:42.716"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/page/matchmaker-audit</arg>
|
|
<arg>params=pageSize=10&pageNum=1</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240430 10:22:42.716" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.767" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.767" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
|
|
path_url=/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">MacCyrillic Russian confidence = 0.013610850690844134</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">IBM866 Russian confidence = 0.038819642678841935</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">IBM855 Russian confidence = 0.13871892002381908</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">TIS-620 Thai confidence = 0.005273610129833278</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">ISO-8859-9 Turkish confidence = 0.35526307854536965</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:08 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"records":[{"id":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":3,"createTime":"2024-04-30 09:47:12","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]},{"id":"982372403910938624","userId":"980101508504883200","name":"qianniao被邀请注册","phone":"19128859944","identityCard":"qianniao新账号","status":2,"createTime":"2024-04-29 17:18:18","serviceAreaList":[{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310101,"districtName":"黄浦区"},{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310105,"districtName":"长宁区"}]},{"id":"981235088085880832","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","status":3,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980926388150341632","userId":"980870337099075584","name":"新用户测试红娘注册","phone":"13630297765","identityCard":"202404251731","status":1,"createTime":"2024-04-25 17:32:21","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110105,"districtName":"朝阳区"}]},{"id":"980811414660845568","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":3,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980808130864746496","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":4,"createTime":"2024-04-25 09:42:27","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559360306581504","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"978751718789615616","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":8,"size":10,"current":1,"pages":1}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.716" endtime="20240430 10:22:42.783"/>
|
|
</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="20240430 10:22:42.783" level="INFO">${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 3, 'createTime': '2024-04-30 09:47:12', 'se...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</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="20240430 10:22:42.783" level="INFO">${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 3, 'createTime': '2024-04-30 09:47:12', 'se...</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<kw name="遍历红娘加盟审核列表" library="LoginResource">
|
|
<for flavor="IN">
|
|
<var>${data}</var>
|
|
<value>@{records}</value>
|
|
<iter>
|
|
<var name="${data}">{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 3, 'createTime': '2024-04-30 09:47:12', 'ser...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${Phone}</var>
|
|
<arg>${data}</arg>
|
|
<arg>phone</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.783" level="INFO">${Phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${data}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.783" level="INFO">${status} = 3</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${matchmakerId}</var>
|
|
<arg>${data}</arg>
|
|
<arg>id</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240430 10:22:42.783" level="INFO">${matchmakerId} = 982621268689948672</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<kw name="Exit For Loop If" library="BuiltIn">
|
|
<arg>${Phone}==${phone}</arg>
|
|
<doc>Stops executing the enclosing FOR loop if the ``condition`` is true.</doc>
|
|
<msg timestamp="20240430 10:22:42.783" level="INFO">Exiting for loop altogether.</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</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="20240430 10:22:42.783" level="INFO">${Phone} = 15121074365</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240430 10:22:42.783" level="INFO">${status} = 3</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${matchmakerId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240430 10:22:42.783" level="INFO">${matchmakerId} = 982621268689948672</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.701" endtime="20240430 10:22:42.783"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.701" endtime="20240430 10:22:42.783"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.701" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.701" endtime="20240430 10:22:42.783"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${status}==4</arg>
|
|
<arg>填写婚介红娘加盟信息</arg>
|
|
<arg>ELSE IF</arg>
|
|
<arg>${status}==1</arg>
|
|
<arg>数据库修改申请状态为待审核</arg>
|
|
<arg>ELSE IF</arg>
|
|
<arg>${status}==3</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="LoginResource" 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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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="20240430 10:22:42.783" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240430 10:22:42.783" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.799"/>
|
|
</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&pageNum=1</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240430 10:22:42.799" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1
|
|
path_url=/dating-agency-uec/user/page/matchmaker?pageSize=10&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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">MacCyrillic Russian confidence = 0.008481674693058567</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">IBM866 Russian confidence = 0.022517630783442513</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">IBM855 Russian confidence = 0.12121964180464125</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">ISO-8859-9 Turkish confidence = 0.36761248111062</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:08 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"records":[{"id":"982630310560796672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","enable":true,"createTime":"2024-04-30 09:47:12","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]},{"id":"981270314208071680","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","enable":true,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"981312240928034816","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","enable":true,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559527067914240","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","enable":true,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"979784994299973632","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","enable":false,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":5,"size":10,"current":1,"pages":1}}
|
|
</msg>
|
|
<msg timestamp="20240430 10:22:42.846" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240430 10:22:42.799" endtime="20240430 10:22:42.846"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.846"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.846"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.846"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.783" endtime="20240430 10:22:42.846"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.846"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.846"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240430 10:22:42.649" endtime="20240430 10:22:42.846"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240430 10:22:42.260" endtime="20240430 10:22:42.846"/>
|
|
</test>
|
|
<doc>接口:短信验证码登录认证</doc>
|
|
<status status="PASS" starttime="20240430 10:22:41.620" endtime="20240430 10:22:42.846"/>
|
|
</suite>
|
|
<doc>用户登录婚介平台</doc>
|
|
<status status="PASS" starttime="20240430 10:22:41.620" endtime="20240430 10:22:42.846"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240430 10:22:41.604" endtime="20240430 10:22:42.861"/>
|
|
</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="2" fail="0" skip="0" id="s1-s1" name="0-Login">Dating-agency.0-Login</stat>
|
|
<stat pass="2" fail="0" skip="0" id="s1-s1-s1" name="Login-interface">Dating-agency.0-Login.Login-interface</stat>
|
|
</suite>
|
|
</statistics>
|
|
<errors>
|
|
</errors>
|
|
</robot>
|