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
57 KiB
819 lines
57 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240508 16:42:30.414" 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="20240508 16:42:30.445" endtime="20240508 16:42:30.445"/>
|
|
</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="20240508 16:42:30.868" endtime="20240508 16:42:30.868"/>
|
|
</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="20240508 16:42:30.868" 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="20240508 16:42:30.868" level="INFO">${file} = 手机号
|
|
15014242835</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:30.868"/>
|
|
</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="20240508 16:42:30.868" level="INFO">${skip-line} = 1</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:30.868"/>
|
|
</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="20240508 16:42:30.868" level="INFO">${lines} = -1</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:30.868"/>
|
|
</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="20240508 16:42:30.868" level="INFO">1 out of 2 lines matched</msg>
|
|
<msg timestamp="20240508 16:42:30.868" level="INFO">${content} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:30.868"/>
|
|
</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="20240508 16:42:30.868" level="INFO">${id} = ['15014242835']</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:30.868"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:30.876"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:30.876"/>
|
|
</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="20240508 16:42:30.876" level="INFO">${id} = ['15014242835']</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.876" endtime="20240508 16:42:30.876"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:30.876"/>
|
|
</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="20240508 16:42:30.877" level="INFO">${userid_list} = []</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.877" endtime="20240508 16:42:30.877"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Cheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240508 16:42:30.878" level="INFO">${Cheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.877" endtime="20240508 16:42:30.878"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Aheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240508 16:42:30.878" level="INFO">${Aheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.878" endtime="20240508 16:42:30.878"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${phoneList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240508 16:42:30.878" level="INFO">${phoneList} = []</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.878" endtime="20240508 16:42:30.879"/>
|
|
</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="20240508 16:42:30.879" endtime="20240508 16:42:30.879"/>
|
|
</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="20240508 16:42:30.880" 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="20240508 16:42:30.881" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.879" endtime="20240508 16:42:30.881"/>
|
|
</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="20240508 16:42:30.881" level="INFO">${data} = { "account":"15014242835", "accountType":2, "captcha":888888 }</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.881" endtime="20240508 16:42:30.881"/>
|
|
</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="20240508 16:42:30.884" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240508 16:42:30.965" 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="20240508 16:42:30.965" 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="20240508 16:42:30.965" 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': 'Wed, 08 May 2024 08:42:31 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==","userId":"978668013433786368"}}
|
|
</msg>
|
|
<msg timestamp="20240508 16:42:30.965" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.881" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${code} = 0</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${userId} = 978668013433786368</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${login_header}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20240508 16:42:30.965" level="INFO">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==','X-Organization-Id':'963432943739605555'}</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA=='}</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:30.879" endtime="20240508 16:42:30.965"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240508 16:42:30.879" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${phoneList} = ['15014242835']</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${userid_list} = ['978668013433786368']</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==','X-Organization-Id':'...</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA=='}"]</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA=='}</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:30.877" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" level="INFO">${Aheader} = []</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==','X-Organization-Id':'96...</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.965"/>
|
|
</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="20240508 16:42:30.965" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240508 16:42:30.965" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:30.981"/>
|
|
</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="20240508 16:42:30.981" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240508 16:42:31.006" 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="20240508 16:42:31.006" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.006" level="DEBUG">windows-1253 Greek confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">ISO-8859-9 Turkish confidence = 0.2794564987311486</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.021" 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': 'Wed, 08 May 2024 08:42:31 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="20240508 16:42:31.021" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240508 16:42:30.981" endtime="20240508 16:42:31.021"/>
|
|
</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="20240508 16:42:31.021" level="INFO">${data} = [{'orgId': '963432943739605555', 'fullName': '趣招亲', 'shortName': '趣招亲'}]</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.021"/>
|
|
</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="20240508 16:42:31.021" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.021"/>
|
|
</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="20240508 16:42:31.021" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.021"/>
|
|
</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="20240508 16:42:31.021" level="INFO">[{'orgId': '963432943739605555', 'fullName': '趣招亲', 'shortName': '趣招亲'}]</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.021"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.021"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:31.021"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:31.021"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240508 16:42:30.965" endtime="20240508 16:42:31.021"/>
|
|
</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="20240508 16:42:31.021" level="INFO">${matchmakerFlagList} = []</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.021"/>
|
|
</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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==','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="20240508 16:42:31.021" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240508 16:42:31.021" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.021"/>
|
|
</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="20240508 16:42:31.021" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240508 16:42:31.069" 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="20240508 16:42:31.069" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">utf-8 confidence = 0.9690625</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">MacCyrillic Russian confidence = 0.12287515576985893</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">IBM866 Russian confidence = 0.1820372678071984</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">windows-1251 Bulgarian confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">ISO-8859-9 Turkish confidence = 0.4080570286827862</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">utf-8 confidence = 0.9690625</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.069" 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': 'Wed, 08 May 2024 08:42:31 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="20240508 16:42:31.069" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.069"/>
|
|
</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="20240508 16:42:31.069" level="INFO">${phone} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.069" endtime="20240508 16:42:31.069"/>
|
|
</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="20240508 16:42:31.069" level="INFO">${matchmakerFlag} = True</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.069" endtime="20240508 16:42:31.069"/>
|
|
</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="20240508 16:42:31.069" endtime="20240508 16:42:31.069"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.069"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.069"/>
|
|
</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="20240508 16:42:31.069" level="INFO">${phone} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.069" endtime="20240508 16:42:31.069"/>
|
|
</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="20240508 16:42:31.069" level="INFO">${matchmakerFlag} = True</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.069" endtime="20240508 16:42:31.069"/>
|
|
</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="20240508 16:42:31.069" level="INFO">${matchmakerFlagList} = [True]</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.069" endtime="20240508 16:42:31.069"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:31.021" endtime="20240508 16:42:31.069"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:30.868" endtime="20240508 16:42:31.069"/>
|
|
</test>
|
|
<doc>接口:短信验证码登录认证</doc>
|
|
<status status="PASS" starttime="20240508 16:42:30.445" endtime="20240508 16:42:31.069"/>
|
|
</suite>
|
|
<doc>用户登录婚介平台</doc>
|
|
<status status="PASS" starttime="20240508 16:42:30.445" endtime="20240508 16:42:31.069"/>
|
|
</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="20240508 16:42:31.084" endtime="20240508 16:42:31.100"/>
|
|
</kw>
|
|
<test id="s1-s2-s1-s1-t1" name="用户线聊天卡权益" line="29">
|
|
<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="20240508 16:42:31.100" level="INFO">${miId_list} = []</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.100" endtime="20240508 16:42:31.100"/>
|
|
</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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA=='}</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="20240508 16:42:31.100" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240508 16:42:31.100" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.100" endtime="20240508 16:42:31.100"/>
|
|
</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="20240508 16:42:31.100" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240508 16:42:31.173" 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="20240508 16:42:31.173" 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/g6O5DXHixyNrf7tsI4LxersKwPpHkSDpywNbH9elxe1l9ivmu8LXVCrmz5W42vUMI0m3MjdGEZDVp6yA=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">MacCyrillic Russian confidence = 0.013283412858856083</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">IBM866 Russian confidence = 0.02178766027340239</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">IBM855 Russian confidence = 0.06805635906862702</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">TIS-620 Thai confidence = 0.043659924094613556</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3677816729834285</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240508 16:42:31.188" 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': 'Wed, 08 May 2024 08:42:31 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}}
|
|
</msg>
|
|
<msg timestamp="20240508 16:42:31.188" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.100" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="INFO">${miId} = 978668042869411840</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="INFO">${nickName} = 就是不吃饭</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="INFO">${nickName} = 就是不吃饭</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="INFO">${miId_list} = ['978668042869411840']</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="INFO">${genderCode} = 1</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:31.100" endtime="20240508 16:42:31.188"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240508 16:42:31.100" endtime="20240508 16:42:31.188"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240508 16:42:31.100" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.188" level="INFO">${dataTime} = 2024-05-08 16:42:31</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.188"/>
|
|
</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="20240508 16:42:31.204" level="INFO">${Time} = 2024-05-13 16:42:31.000</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.204"/>
|
|
</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="20240508 16:42:31.220" 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="20240508 16:42:31.204" endtime="20240508 16:42:31.263"/>
|
|
</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, '${dataTime}', '${dataTime}', ${userId}, ${miId}, 501, '${dataTime}', '${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="20240508 16:42:31.264" 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-05-08 16:42:31', '2024-05-08 16:42:31', 978668013433786368, 978668042869411840, 501, '2024-05-08 16:42:31', '2024-05-13 16:42:31.000', 1) </msg>
|
|
<msg timestamp="20240508 16:42:31.293" level="INFO">${insert_1} = None</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.263" endtime="20240508 16:42:31.293"/>
|
|
</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` = '501' 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="20240508 16:42:31.293" level="INFO">Executing : Query | SELECT id FROM `dating_agency_mall`.`da_right` WHERE `mi_id` = '978668042869411840' AND `type` = '501' AND `enable` = '1' </msg>
|
|
<msg timestamp="20240508 16:42:31.312" level="INFO">${check_1} = ((978733732578070541,), (985593282769850369,))</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.293" endtime="20240508 16:42:31.312"/>
|
|
</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="20240508 16:42:31.313" level="INFO">${right_id} = 978733732578070541</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.312" endtime="20240508 16:42:31.313"/>
|
|
</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}', '${dataTime}', ${right_id}, '规格', 1, 102, 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="20240508 16:42:31.314" 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-05-08 16:42:31', '2024-05-08 16:42:31', 978733732578070541, '规格', 1, 102, NULL) </msg>
|
|
<msg timestamp="20240508 16:42:31.349" level="INFO">${insert_2} = None</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.313" endtime="20240508 16:42:31.349"/>
|
|
</kw>
|
|
<kw name="Execute Sql String" library="DatabaseLibrary">
|
|
<var>${insert_3}</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}', '${dataTime}', ${right_id}, '权益上限额度', 2, 1, '3')</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="20240508 16:42:31.349" 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-05-08 16:42:31', '2024-05-08 16:42:31', 978733732578070541, '权益上限额度', 2, 1, '3') </msg>
|
|
<msg timestamp="20240508 16:42:31.383" level="INFO">${insert_3} = None</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.349" endtime="20240508 16:42:31.384"/>
|
|
</kw>
|
|
<kw name="Execute Sql String" library="DatabaseLibrary">
|
|
<var>${insert_4}</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}', '${dataTime}', ${right_id}, '权益剩余额度', 3, 1, '3')</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="20240508 16:42:31.384" 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-05-08 16:42:31', '2024-05-08 16:42:31', 978733732578070541, '权益剩余额度', 3, 1, '3') </msg>
|
|
<msg timestamp="20240508 16:42:31.406" level="INFO">${insert_4} = None</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.384" endtime="20240508 16:42:31.406"/>
|
|
</kw>
|
|
<kw name="Disconnect From Database" library="DatabaseLibrary">
|
|
<doc>Disconnects from the database.</doc>
|
|
<msg timestamp="20240508 16:42:31.406" level="INFO">Executing : Disconnect From Database</msg>
|
|
<status status="PASS" starttime="20240508 16:42:31.406" endtime="20240508 16:42:31.406"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.406"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.406"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240508 16:42:31.188" endtime="20240508 16:42:31.406"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240508 16:42:31.100" endtime="20240508 16:42:31.406"/>
|
|
</test>
|
|
<status status="PASS" starttime="20240508 16:42:31.084" endtime="20240508 16:42:31.406"/>
|
|
</suite>
|
|
<doc>权益购买</doc>
|
|
<status status="PASS" starttime="20240508 16:42:31.084" endtime="20240508 16:42:31.406"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240508 16:42:31.084" endtime="20240508 16:42:31.406"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240508 16:42:30.430" endtime="20240508 16:42:31.406"/>
|
|
</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>
|