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.
819 lines
56 KiB
819 lines
56 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240625 14:47:22.951" rpa="false" schemaversion="4">
|
|
<suite id="s1" name="Dating-agency" source="D:\LYL\Study\Robot_framework\space\Dating-agency">
|
|
<kw name="Import Variables" library="BuiltIn" type="SETUP">
|
|
<arg>${EXECDIR}\\DA_data.yaml</arg>
|
|
<doc>Imports a variable file with the given path and optional arguments.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:22.979" endtime="20240625 14:47:22.983"/>
|
|
</kw>
|
|
<suite id="s1-s1" name="0-Login" source="D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login">
|
|
<suite id="s1-s1-s1" name="Login-interface" source="D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\Login-interface.robot">
|
|
<kw name="Import Variables" library="BuiltIn" type="SETUP">
|
|
<arg>${EXECDIR}\\DA_data.yaml</arg>
|
|
<doc>Imports a variable file with the given path and optional arguments.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.386" endtime="20240625 14:47:23.390"/>
|
|
</kw>
|
|
<test id="s1-s1-s1-t1" name="手机号验证码登录-888888" line="27">
|
|
<kw name="Given 读取TXT文件" library="LoginResource">
|
|
<kw name="Get File" library="OperatingSystem">
|
|
<var>${file}</var>
|
|
<arg>D:\\LYL\\Study\\Robot_framework\\space\\Dating-agency\\0-Login\\phone-test.txt</arg>
|
|
<doc>Returns the contents of a specified file.</doc>
|
|
<msg timestamp="20240625 14:47:23.392" 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="20240625 14:47:23.392" level="INFO">${file} = 手机号
|
|
15014242835</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.392" endtime="20240625 14:47:23.392"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${skip-line}</var>
|
|
<arg>1</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240625 14:47:23.393" level="INFO">${skip-line} = 1</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.393" endtime="20240625 14:47:23.393"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${lines}</var>
|
|
<arg>-1</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240625 14:47:23.393" level="INFO">${lines} = -1</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.393" endtime="20240625 14:47:23.393"/>
|
|
</kw>
|
|
<kw name="Get Lines Containing String" library="String">
|
|
<var>${content}</var>
|
|
<arg>${file}</arg>
|
|
<arg>${skip-line}</arg>
|
|
<arg>${lines}</arg>
|
|
<doc>Returns lines of the given ``string`` that contain the ``pattern``.</doc>
|
|
<msg timestamp="20240625 14:47:23.394" level="INFO">1 out of 2 lines matched</msg>
|
|
<msg timestamp="20240625 14:47:23.394" level="INFO">${content} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.393" endtime="20240625 14:47:23.394"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${id}</var>
|
|
<value>${content}</value>
|
|
<iter>
|
|
<var name="${id}">15014242835</var>
|
|
<kw name="Split String" library="String">
|
|
<var>${id}</var>
|
|
<arg>${id}</arg>
|
|
<arg>\n</arg>
|
|
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
|
|
<msg timestamp="20240625 14:47:23.395" level="INFO">${id} = ['15014242835']</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.394" endtime="20240625 14:47:23.395"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.394" endtime="20240625 14:47:23.395"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240625 14:47:23.394" endtime="20240625 14:47:23.395"/>
|
|
</for>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${id}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.395" level="INFO">${id} = ['15014242835']</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.395" endtime="20240625 14:47:23.395"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.391" endtime="20240625 14:47:23.396"/>
|
|
</kw>
|
|
<kw name="And 用户手机号验证码登录婚介平台-888888" library="LoginResource" sourcename="用户手机号验证码登录${dating}平台-888888">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${userid_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240625 14:47:23.396" level="INFO">${userid_list} = []</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.396" endtime="20240625 14:47:23.396"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Cheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240625 14:47:23.397" level="INFO">${Cheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.396" endtime="20240625 14:47:23.397"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Aheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240625 14:47:23.397" level="INFO">${Aheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.397" endtime="20240625 14:47:23.397"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${phoneList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240625 14:47:23.397" level="INFO">${phoneList} = []</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.397" endtime="20240625 14:47:23.397"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${account}</var>
|
|
<value>@{id}</value>
|
|
<iter>
|
|
<var name="${account}">15014242835</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.398" endtime="20240625 14:47:23.398"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${${dating}.AHeader}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240625 14:47:23.399" level="INFO">Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240625 14:47:23.399" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.398" endtime="20240625 14:47:23.400"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{ \ \ "account":"${account}", \ \ "accountType":2, \ \ "captcha":888888 }</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240625 14:47:23.400" level="INFO">${data} = { "account":"15014242835", "accountType":2, "captcha":888888 }</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.400" endtime="20240625 14:47:23.400"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-uec/authorize/by-captcha</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240625 14:47:23.403" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240625 14:47:23.502" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-uec/authorize/by-captcha HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240625 14:47:23.503" 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":"15014242835", "accountType":2, "captcha":888888 }'
|
|
</msg>
|
|
<msg timestamp="20240625 14:47:23.503" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 06:47:23 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==","userId":"978668013433786368"}}
|
|
</msg>
|
|
<msg timestamp="20240625 14:47:23.503" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.400" endtime="20240625 14:47:23.503"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${code}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>code</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.504" level="INFO">${code} = 0</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.504" endtime="20240625 14:47:23.504"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${token}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>token</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.505" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.504" endtime="20240625 14:47:23.505"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${userId}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>userId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.506" level="INFO">${userId} = 978668013433786368</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.505" endtime="20240625 14:47:23.506"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.506" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.506" endtime="20240625 14:47:23.507"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${login_header}</var>
|
|
<arg>{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT ${token}','X-Organization-Id':'963432943739605555'}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240625 14:47:23.507" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.507" endtime="20240625 14:47:23.507"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${login_header}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20240625 14:47:23.507" level="INFO">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==','X-Organization-Id':'963432943739605555'}</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.507" endtime="20240625 14:47:23.507"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${client_header}</var>
|
|
<arg>{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT ${token}'}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240625 14:47:23.508" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw=='}</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.508" endtime="20240625 14:47:23.508"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${userid_list}</arg>
|
|
<arg>${userId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.508" endtime="20240625 14:47:23.508"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${Cheader_list}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.508" endtime="20240625 14:47:23.509"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${Aheader_list}</arg>
|
|
<arg>${login_header}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.509" endtime="20240625 14:47:23.509"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${phoneList}</arg>
|
|
<arg>${account}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.509" endtime="20240625 14:47:23.509"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${code}==0</arg>
|
|
<arg>Should Be Equal As Strings</arg>
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<arg>ELSE</arg>
|
|
<arg>Should Be Equal As Strings</arg>
|
|
<arg>${message}</arg>
|
|
<arg>验证码错误或无效验证码,请重试!</arg>
|
|
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240625 14:47:23.510" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.510" endtime="20240625 14:47:23.510"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.509" endtime="20240625 14:47:23.510"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.398" endtime="20240625 14:47:23.510"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240625 14:47:23.398" endtime="20240625 14:47:23.510"/>
|
|
</for>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${phoneList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.511" level="INFO">${phoneList} = ['15014242835']</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.511" endtime="20240625 14:47:23.511"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${userid_list}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.511" level="INFO">${userid_list} = ['978668013433786368']</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.511" endtime="20240625 14:47:23.511"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${Aheader_list}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.512" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==','X-Organization-Id':'...</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.512" endtime="20240625 14:47:23.512"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${Cheader_list}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.512" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw=='}"]</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.512" endtime="20240625 14:47:23.512"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${login_header}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.513" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.513" endtime="20240625 14:47:23.513"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${client_header}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.513" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw=='}</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.513" endtime="20240625 14:47:23.514"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.396" endtime="20240625 14:47:23.514"/>
|
|
</kw>
|
|
<kw name="And 查询用户的婚介组织" library="LoginResource" sourcename="查询用户的${dating}组织">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Aheader}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240625 14:47:23.514" level="INFO">${Aheader} = []</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.514" endtime="20240625 14:47:23.514"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${login_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Aheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">978668013433786368</var>
|
|
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==','X-Organization-Id':'96...</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.515" endtime="20240625 14:47:23.515"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${login_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240625 14:47:23.516" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240625 14:47:23.516" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.515" endtime="20240625 14:47:23.516"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-uec/user/list/own-organization</arg>
|
|
<arg>params=userId=${userid}</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240625 14:47:23.517" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240625 14:47:23.559" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=978668013433786368 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240625 14:47:23.560" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668013433786368
|
|
path_url=/dating-agency-uec/user/list/own-organization?userId=978668013433786368
|
|
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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.561" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">windows-1253 Greek confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">ISO-8859-9 Turkish confidence = 0.2794564987311486</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240625 14:47:23.562" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.563" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.563" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.563" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.563" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.563" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.563" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.563" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668013433786368
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 06:47:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":[{"orgId":"963432943739605555","fullName":"趣招亲","shortName":"趣招亲"}]}
|
|
</msg>
|
|
<msg timestamp="20240625 14:47:23.563" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.516" endtime="20240625 14:47:23.563"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${data}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>data</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.564" level="INFO">${data} = [{'orgId': '963432943739605555', 'fullName': '趣招亲', 'shortName': '趣招亲'}]</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.563" endtime="20240625 14:47:23.564"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.565" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.564" endtime="20240625 14:47:23.565"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240625 14:47:23.565" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.565" endtime="20240625 14:47:23.565"/>
|
|
</kw>
|
|
<kw name="Run Keyword If" library="BuiltIn">
|
|
<arg>${data}==[]</arg>
|
|
<arg>log</arg>
|
|
<arg>未获取到组织信息!</arg>
|
|
<arg>ELSE</arg>
|
|
<arg>log</arg>
|
|
<arg>${data}</arg>
|
|
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${data}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20240625 14:47:23.566" level="INFO">[{'orgId': '963432943739605555', 'fullName': '趣招亲', 'shortName': '趣招亲'}]</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.566" endtime="20240625 14:47:23.566"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.566" endtime="20240625 14:47:23.566"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.515" endtime="20240625 14:47:23.566"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240625 14:47:23.515" endtime="20240625 14:47:23.567"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240625 14:47:23.514" endtime="20240625 14:47:23.567"/>
|
|
</kw>
|
|
<kw name="And 获取婚介平台用户baseinfo" library="LoginResource" sourcename="获取${dating}平台用户baseinfo">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${matchmakerFlagList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240625 14:47:23.567" level="INFO">${matchmakerFlagList} = []</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.567" endtime="20240625 14:47:23.568"/>
|
|
</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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==','X-Organization-Id':'96...</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${admin_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240625 14:47:23.569" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240625 14:47:23.569" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.568" endtime="20240625 14:47:23.569"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-uec/user/get/base-info</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240625 14:47:23.570" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240625 14:47:23.618" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/get/base-info HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240625 14:47:23.618" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240625 14:47:23.619" level="DEBUG">utf-8 confidence = 0.9690625</msg>
|
|
<msg timestamp="20240625 14:47:23.619" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.619" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.619" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.619" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.619" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">MacCyrillic Russian confidence = 0.12287515576985893</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">IBM866 Russian confidence = 0.1820372678071984</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">windows-1251 Bulgarian confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.620" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">ISO-8859-9 Turkish confidence = 0.4080570286827862</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">utf-8 confidence = 0.9690625</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.621" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 06:47:23 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":"978668013433786368","realName":"就是不吃饭","nickName":null,"phone":"15014242835","matchmakerFlag":true}}
|
|
</msg>
|
|
<msg timestamp="20240625 14:47:23.622" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.569" endtime="20240625 14:47:23.622"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${phone}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>phone</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.623" level="INFO">${phone} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.622" endtime="20240625 14:47:23.623"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${matchmakerFlag}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>matchmakerFlag</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.623" level="INFO">${matchmakerFlag} = True</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.623" endtime="20240625 14:47:23.623"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${matchmakerFlagList}</arg>
|
|
<arg>${matchmakerFlag}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.624" endtime="20240625 14:47:23.624"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.568" endtime="20240625 14:47:23.624"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240625 14:47:23.568" endtime="20240625 14:47:23.624"/>
|
|
</for>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${phone}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.625" level="INFO">${phone} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.624" endtime="20240625 14:47:23.625"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${matchmakerFlag}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.625" level="INFO">${matchmakerFlag} = True</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.625" endtime="20240625 14:47:23.625"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${matchmakerFlagList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.626" level="INFO">${matchmakerFlagList} = [True]</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.625" endtime="20240625 14:47:23.626"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.567" endtime="20240625 14:47:23.626"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.391" endtime="20240625 14:47:23.626"/>
|
|
</test>
|
|
<doc>接口:短信验证码登录认证</doc>
|
|
<status status="PASS" starttime="20240625 14:47:22.985" endtime="20240625 14:47:23.626"/>
|
|
</suite>
|
|
<doc>用户登录婚介平台</doc>
|
|
<status status="PASS" starttime="20240625 14:47:22.983" endtime="20240625 14:47:23.627"/>
|
|
</suite>
|
|
<suite id="s1-s2" name="1-Applet" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet">
|
|
<suite id="s1-s2-s1" name="3-Customer" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\3-Customer">
|
|
<suite id="s1-s2-s1-s1" name="byEquity" source="D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\3-Customer\byEquity.robot">
|
|
<kw name="Import Variables" library="BuiltIn" type="SETUP">
|
|
<arg>${EXECDIR}\\DA_data.yaml</arg>
|
|
<doc>Imports a variable file with the given path and optional arguments.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.644" endtime="20240625 14:47:23.646"/>
|
|
</kw>
|
|
<test id="s1-s2-s1-s1-t1" name="用户线会员权益" line="33">
|
|
<kw name="Given 查询婚介征婚人的资料信息" library="EquityResource" sourcename="查询${dating}征婚人的资料信息">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${miId_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240625 14:47:23.647" level="INFO">${miId_list} = []</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.647" endtime="20240625 14:47:23.647"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${client_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Cheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">978668013433786368</var>
|
|
<var name="${client_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw=='}</var>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>dating</arg>
|
|
<arg>${${dating}.dating域名}</arg>
|
|
<arg>${client_header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20240625 14:47:23.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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240625 14:47:23.649" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.648" endtime="20240625 14:47:23.649"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>/dating-agency-service/user/get/marriage/information/details</arg>
|
|
<arg>params=userId=${userId}</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240625 14:47:23.650" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240625 14:47:23.741" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=978668013433786368 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240625 14:47:23.742" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668013433786368
|
|
path_url=/dating-agency-service/user/get/marriage/information/details?userId=978668013433786368
|
|
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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH+b+7nuc8W2/V1Uqu3MW+zzKfHxiyFSFjX99xkdz1+aw=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">MacCyrillic Russian confidence = 0.013283412858856083</msg>
|
|
<msg timestamp="20240625 14:47:23.753" level="DEBUG">IBM866 Russian confidence = 0.02178766027340239</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">IBM855 Russian confidence = 0.06805635906862702</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">TIS-620 Thai confidence = 0.043659924094613556</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">ISO-8859-9 Turkish confidence = 0.36756588541974194</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240625 14:47:23.754" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.755" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.755" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.755" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.755" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.755" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.755" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240625 14:47:23.755" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668013433786368
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 25 Jun 2024 06:47:23 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":"978668042869411840","isDelete":false,"createTime":"2024-04-19 11:58:29","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"就是不吃饭","name":"赖勇兰","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/5366B037642657C.png","identityCard":"441481199509213863","genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1995","birthDate":"1995-09-21","constellationCode":10,"constellation":"天蝎座","chineseZodiacCode":null,"chineseZodiac":"猪","height":160,"weight":48,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"015348541678462228","describeInfo":"A painting is more than the sum of its parts. A cow by itself is just a cow. A meadow by itself is just grass, flowers. And the sun peeking through the trees is just a beam of light. But you put them all together and it can be magic.\n一幅画不是众多物件简单拼凑而成的。牛只是一头牛,草地也只有青草和鲜花,而穿过树枝的阳光也仅仅只是一束光,但如果将它们放到一起,就会产生魔一般的魅力。","identityType":0,"identityTypeName":"本人","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":441400,"domicilePlaceCityName":"梅州市","nationCode":1,"nation":"汉族","bodilyFormCode":1,"bodilyForm":"正常","accountTypeCode":1,"accountTypeName":"农村","nationalityCode":null,"nationality":null,"nativePlaceCode":440000,"nativePlaceName":"广东省","industryCode":null,"industry":null,"occupationCode":18,"occupation":"互联网/通信~工程师","onlyChild":0,"carPurchaseSituationCode":0,"carPurchaseSituation":"未购车","propertyPermitsCode":2,"propertyPermits":"租房","wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","display":true,"inLove":0,"auditProfilePhoto":null,"photoList":[{"id":"978744295509069824","isDelete":false,"createTime":"2024-04-19 17:01:29","updateTime":null,"event":null,"miId":978668042869411840,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/231B75484BB2665.jpg","auditImgId":978743974699339776,"auditStatus":1},{"id":"978744295576178688","isDelete":false,"createTime":"2024-04-19 17:01:29","updateTime":null,"event":null,"miId":978668042869411840,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/B724829C9D53D4E.jpg","auditImgId":978743974770642944,"auditStatus":1}],"describeAuditStatus":0,"describeAudit":"A painting is more than the sum of its parts. A cow by itself is just a cow. A meadow by itself is just grass, flowers. And the sun peeking through the trees is just a beam of light. But you put them all together and it can be magic.\n一幅画不是众多物件简单拼凑而成的。牛只是一头牛,草地也只有青草和鲜花,而穿过树枝的阳光也仅仅只是一束光,但如果将它们放到一起,就会产生魔一般的魅力。","fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":75,"phone":null}}
|
|
</msg>
|
|
<msg timestamp="20240625 14:47:23.755" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.649" endtime="20240625 14:47:23.755"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${miId}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>id</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.756" level="INFO">${miId} = 978668042869411840</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.756" endtime="20240625 14:47:23.756"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${nickName}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>nickName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.757" level="INFO">${nickName} = 就是不吃饭</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.757" endtime="20240625 14:47:23.757"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${genderCode}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>genderCode</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.758" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.757" endtime="20240625 14:47:23.758"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${message}</var>
|
|
<arg>${reps.json()}</arg>
|
|
<arg>message</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240625 14:47:23.759" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.758" endtime="20240625 14:47:23.759"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${miId_list}</arg>
|
|
<arg>${miId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.759" endtime="20240625 14:47:23.759"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${message}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<msg timestamp="20240625 14:47:23.760" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.759" endtime="20240625 14:47:23.760"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${nickName}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.760" level="INFO">${nickName} = 就是不吃饭</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.760" endtime="20240625 14:47:23.760"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${miId_list}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.761" level="INFO">${miId_list} = ['978668042869411840']</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.760" endtime="20240625 14:47:23.761"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${genderCode}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240625 14:47:23.761" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.761" endtime="20240625 14:47:23.761"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.648" endtime="20240625 14:47:23.761"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240625 14:47:23.647" endtime="20240625 14:47:23.761"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240625 14:47:23.647" endtime="20240625 14:47:23.762"/>
|
|
</kw>
|
|
<kw name="When 数据库新增会员权益" library="EquityResource">
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${miId}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${miId_list}</value>
|
|
<iter>
|
|
<var name="${userId}">978668013433786368</var>
|
|
<var name="${miId}">978668042869411840</var>
|
|
<kw name="Get Current Date" library="DateTime">
|
|
<var>${dataTime}</var>
|
|
<arg>result_format=%Y-%m-%d %H:%M:%S</arg>
|
|
<doc>Returns current local or UTC time with an optional increment.</doc>
|
|
<msg timestamp="20240625 14:47:23.763" level="INFO">${dataTime} = 2024-06-25 14:47:23</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.763" endtime="20240625 14:47:23.763"/>
|
|
</kw>
|
|
<kw name="Add Time To Date" library="DateTime">
|
|
<var>${Time}</var>
|
|
<arg>${dataTime}</arg>
|
|
<arg>5 days</arg>
|
|
<doc>Adds time to date and returns the resulting date.</doc>
|
|
<msg timestamp="20240625 14:47:23.765" level="INFO">${Time} = 2024-06-30 14:47:23.000</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.763" endtime="20240625 14:47:23.765"/>
|
|
</kw>
|
|
<kw name="Get Substring" library="String">
|
|
<var>${end_time}</var>
|
|
<arg>${Time}</arg>
|
|
<arg>0</arg>
|
|
<arg>19</arg>
|
|
<doc>Returns a substring from ``start`` index to ``end`` index.</doc>
|
|
<msg timestamp="20240625 14:47:23.766" level="INFO">${end_time} = 2024-06-30 14:47:23</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.766" endtime="20240625 14:47:23.766"/>
|
|
</kw>
|
|
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
|
|
<arg>pymysql</arg>
|
|
<arg>database='dating_agency_mall',user='root',password='qniaothreetwoonego',host='8.135.8.221'</arg>
|
|
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
|
|
connect to the database using the map string `db_custom_param_string`.</doc>
|
|
<msg timestamp="20240625 14:47:23.776" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_mall',user='root',password='qniaothreetwoonego',host='8.135.8.221')) </msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.766" endtime="20240625 14:47:23.831"/>
|
|
</kw>
|
|
<kw name="Execute Sql String" library="DatabaseLibrary">
|
|
<var>${insert_1}</var>
|
|
<arg>INSERT INTO `dating_agency_mall`.`da_right`(`id`, `is_delete`, `create_time`, `update_time`, `user_id`, `mi_id`, `type`, `start_time`, `end_time`, `enable`) VALUES (NULL, 0, '${Time}', '${dataTime}', ${userId}, ${miId}, 601, '${dataTime}', '${end_time}', 1)</arg>
|
|
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
|
|
True to run command without an explicit transaction commit or rollback.</doc>
|
|
<msg timestamp="20240625 14:47:23.833" level="INFO">Executing : Execute SQL String | INSERT INTO `dating_agency_mall`.`da_right`(`id`, `is_delete`, `create_time`, `update_time`, `user_id`, `mi_id`, `type`, `start_time`, `end_time`, `enable`) VALUES (NULL, 0, '2024-06-30 14:47:23.000', '2024-06-25 14:47:23', 978668013433786368, 978668042869411840, 601, '2024-06-25 14:47:23', '2024-06-30 14:47:23', 1) </msg>
|
|
<msg timestamp="20240625 14:47:23.871" level="INFO">${insert_1} = None</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.831" endtime="20240625 14:47:23.871"/>
|
|
</kw>
|
|
<kw name="Query" library="DatabaseLibrary">
|
|
<var>${check_1}</var>
|
|
<arg>SELECT id FROM `dating_agency_mall`.`da_right` WHERE `mi_id` = '${miId}' AND `type` = '601' AND `end_time` = '${end_time}' AND `enable` = '1'</arg>
|
|
<doc>Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
|
|
input `sansTran` to True to run command without an explicit transaction commit or rollback.
|
|
Set optional input `returnAsDict` to True to return values as a list of dictionaries.</doc>
|
|
<msg timestamp="20240625 14:47:23.872" level="INFO">Executing : Query | SELECT id FROM `dating_agency_mall`.`da_right` WHERE `mi_id` = '978668042869411840' AND `type` = '601' AND `end_time` = '2024-06-30 14:47:23' AND `enable` = '1' </msg>
|
|
<msg timestamp="20240625 14:47:23.890" level="INFO">${check_1} = ((1002983861216481284,),)</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.871" endtime="20240625 14:47:23.890"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${right_id}</var>
|
|
<arg>${check_1[0][0]}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240625 14:47:23.891" level="INFO">${right_id} = 1002983861216481284</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.890" endtime="20240625 14:47:23.891"/>
|
|
</kw>
|
|
<kw name="Execute Sql String" library="DatabaseLibrary">
|
|
<var>${insert_2}</var>
|
|
<arg>INSERT INTO `dating_agency_mall`.`da_right_term`(`id`, `is_delete`, `create_time`, `update_time`, `right_id`, `display_name`, `name`, `unit`, `value`) VALUES (NULL, 0, '${dataTime}', '${Time}', ${right_id}, '规格', 1, 101, NULL)</arg>
|
|
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
|
|
True to run command without an explicit transaction commit or rollback.</doc>
|
|
<msg timestamp="20240625 14:47:23.891" level="INFO">Executing : Execute SQL String | INSERT INTO `dating_agency_mall`.`da_right_term`(`id`, `is_delete`, `create_time`, `update_time`, `right_id`, `display_name`, `name`, `unit`, `value`) VALUES (NULL, 0, '2024-06-25 14:47:23', '2024-06-30 14:47:23.000', 1002983861216481284, '规格', 1, 101, NULL) </msg>
|
|
<msg timestamp="20240625 14:47:23.932" level="INFO">${insert_2} = None</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.891" endtime="20240625 14:47:23.932"/>
|
|
</kw>
|
|
<kw name="Execute Sql String" library="DatabaseLibrary">
|
|
<var>${insert_2}</var>
|
|
<arg>INSERT INTO `dating_agency_mall`.`da_right_acquire_record`(`id`, `create_time`, `user_id`, `mi_id`, `right_id`, `right_type`, `acquire_type`) VALUES (NULL, '${dataTime}', ${userId}, ${miId}, ${right_id}, 601, 2)</arg>
|
|
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
|
|
True to run command without an explicit transaction commit or rollback.</doc>
|
|
<msg timestamp="20240625 14:47:23.933" level="INFO">Executing : Execute SQL String | INSERT INTO `dating_agency_mall`.`da_right_acquire_record`(`id`, `create_time`, `user_id`, `mi_id`, `right_id`, `right_type`, `acquire_type`) VALUES (NULL, '2024-06-25 14:47:23', 978668013433786368, 978668042869411840, 1002983861216481284, 601, 2) </msg>
|
|
<msg timestamp="20240625 14:47:23.971" level="INFO">${insert_2} = None</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.932" endtime="20240625 14:47:23.972"/>
|
|
</kw>
|
|
<kw name="Disconnect From Database" library="DatabaseLibrary">
|
|
<doc>Disconnects from the database.</doc>
|
|
<msg timestamp="20240625 14:47:23.972" level="INFO">Executing : Disconnect From Database</msg>
|
|
<status status="PASS" starttime="20240625 14:47:23.972" endtime="20240625 14:47:23.973"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.762" endtime="20240625 14:47:23.973"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240625 14:47:23.762" endtime="20240625 14:47:23.973"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240625 14:47:23.762" endtime="20240625 14:47:23.973"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240625 14:47:23.646" endtime="20240625 14:47:23.973"/>
|
|
</test>
|
|
<status status="PASS" starttime="20240625 14:47:23.631" endtime="20240625 14:47:23.974"/>
|
|
</suite>
|
|
<doc>权益购买</doc>
|
|
<status status="PASS" starttime="20240625 14:47:23.630" endtime="20240625 14:47:23.974"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240625 14:47:23.628" endtime="20240625 14:47:23.975"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240625 14:47:22.962" endtime="20240625 14:47:23.976"/>
|
|
</suite>
|
|
<statistics>
|
|
<total>
|
|
<stat pass="2" fail="0" skip="0">All Tests</stat>
|
|
</total>
|
|
<tag>
|
|
</tag>
|
|
<suite>
|
|
<stat pass="2" fail="0" skip="0" id="s1" name="Dating-agency">Dating-agency</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s1" name="0-Login">Dating-agency.0-Login</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s1-s1" name="Login-interface">Dating-agency.0-Login.Login-interface</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2" name="1-Applet">Dating-agency.1-Applet</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2-s1" name="3-Customer">Dating-agency.1-Applet.3-Customer</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2-s1-s1" name="byEquity">Dating-agency.1-Applet.3-Customer.byEquity</stat>
|
|
</suite>
|
|
</statistics>
|
|
<errors>
|
|
</errors>
|
|
</robot>
|