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.
1310 lines
81 KiB
1310 lines
81 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240409 10:58:31.526" 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="20240409 10:58:31.555" endtime="20240409 10:58:31.559"/>
|
|
</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="20240409 10:58:31.846" endtime="20240409 10:58:31.851"/>
|
|
</kw>
|
|
<test id="s1-s1-s1-t1" name="手机号验证码登录-888888" line="26">
|
|
<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="20240409 10:58:31.853" 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="20240409 10:58:31.853" level="INFO">${file} = 手机号
|
|
15014242835</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.852" endtime="20240409 10:58:31.853"/>
|
|
</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="20240409 10:58:31.853" level="INFO">${skip-line} = 1</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.853" endtime="20240409 10:58:31.853"/>
|
|
</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="20240409 10:58:31.854" level="INFO">${lines} = -1</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.854" endtime="20240409 10:58:31.854"/>
|
|
</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="20240409 10:58:31.854" level="INFO">1 out of 2 lines matched</msg>
|
|
<msg timestamp="20240409 10:58:31.855" level="INFO">${content} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.854" endtime="20240409 10:58:31.855"/>
|
|
</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="20240409 10:58:31.856" level="INFO">${id} = ['15014242835']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.855" endtime="20240409 10:58:31.856"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.855" endtime="20240409 10:58:31.856"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240409 10:58:31.855" endtime="20240409 10:58:31.856"/>
|
|
</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="20240409 10:58:31.856" level="INFO">${id} = ['15014242835']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.856" endtime="20240409 10:58:31.856"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.852" endtime="20240409 10:58:31.857"/>
|
|
</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="20240409 10:58:31.857" level="INFO">${userid_list} = []</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.857" endtime="20240409 10:58:31.857"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Cheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240409 10:58:31.858" level="INFO">${Cheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.858" endtime="20240409 10:58:31.858"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${Aheader_list}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240409 10:58:31.858" level="INFO">${Aheader_list} = []</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.858" endtime="20240409 10:58:31.858"/>
|
|
</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="20240409 10:58:31.859" endtime="20240409 10:58:31.859"/>
|
|
</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="20240409 10:58:31.860" 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="20240409 10:58:31.860" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.859" endtime="20240409 10:58:31.860"/>
|
|
</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="20240409 10:58:31.861" level="INFO">${data} = { "account":"15014242835", "accountType":2, "captcha":888888 }</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.860" endtime="20240409 10:58:31.861"/>
|
|
</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="20240409 10:58:31.864" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240409 10:58:31.933" 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="20240409 10:58:31.934" 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="20240409 10:58:31.934" 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, 09 Apr 2024 02:58:35 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==","userId":"964927709455192064"}}
|
|
</msg>
|
|
<msg timestamp="20240409 10:58:31.934" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.861" endtime="20240409 10:58:31.934"/>
|
|
</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="20240409 10:58:31.936" level="INFO">${code} = 0</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.935" endtime="20240409 10:58:31.936"/>
|
|
</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="20240409 10:58:31.937" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.936" endtime="20240409 10:58:31.937"/>
|
|
</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="20240409 10:58:31.938" level="INFO">${userId} = 964927709455192064</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.937" endtime="20240409 10:58:31.938"/>
|
|
</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="20240409 10:58:31.938" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.938" endtime="20240409 10:58:31.938"/>
|
|
</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="20240409 10:58:31.939" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.939" endtime="20240409 10:58:31.939"/>
|
|
</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="20240409 10:58:31.939" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw=='}</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.939" endtime="20240409 10:58:31.939"/>
|
|
</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="20240409 10:58:31.940" endtime="20240409 10:58:31.940"/>
|
|
</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="20240409 10:58:31.940" endtime="20240409 10:58:31.940"/>
|
|
</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="20240409 10:58:31.940" endtime="20240409 10:58:31.941"/>
|
|
</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="20240409 10:58:31.941" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.941" endtime="20240409 10:58:31.941"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.941" endtime="20240409 10:58:31.942"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.859" endtime="20240409 10:58:31.942"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240409 10:58:31.858" endtime="20240409 10:58:31.942"/>
|
|
</for>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${phone}</var>
|
|
<arg>${account}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240409 10:58:31.942" level="INFO">${phone} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.942" endtime="20240409 10:58:31.942"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${phone}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:31.943" level="INFO">${phone} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.942" endtime="20240409 10:58:31.943"/>
|
|
</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="20240409 10:58:31.943" level="INFO">${userid_list} = ['964927709455192064']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.943" endtime="20240409 10:58:31.943"/>
|
|
</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="20240409 10:58:31.944" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==','X-Organization-Id':'...</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.943" endtime="20240409 10:58:31.944"/>
|
|
</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="20240409 10:58:31.944" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw=='}"]</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.944" endtime="20240409 10:58:31.944"/>
|
|
</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="20240409 10:58:31.945" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==','X-Organization-Id':'96...</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.944" endtime="20240409 10:58:31.945"/>
|
|
</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="20240409 10:58:31.945" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw=='}</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.945" endtime="20240409 10:58:31.945"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.857" endtime="20240409 10:58:31.945"/>
|
|
</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="20240409 10:58:31.946" level="INFO">${Aheader} = []</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.946" endtime="20240409 10:58:31.946"/>
|
|
</kw>
|
|
<for flavor="IN ZIP">
|
|
<var>${userId}</var>
|
|
<var>${login_header}</var>
|
|
<value>${userid_list}</value>
|
|
<value>${Aheader_list}</value>
|
|
<iter>
|
|
<var name="${userId}">964927709455192064</var>
|
|
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==','X-Organization-Id':'96...</var>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:31.947" endtime="20240409 10:58:31.947"/>
|
|
</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="20240409 10:58:31.948" 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240409 10:58:31.948" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.947" endtime="20240409 10:58:31.948"/>
|
|
</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="20240409 10:58:31.950" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240409 10:58:31.983" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=964927709455192064 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240409 10:58:31.983" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=964927709455192064
|
|
path_url=/dating-agency-uec/user/list/own-organization?userId=964927709455192064
|
|
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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240409 10:58:31.985" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240409 10:58:31.985" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.985" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.985" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.985" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.985" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.986" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">windows-1251 Bulgarian confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">ISO-8859-9 Turkish confidence = 0.2794564987311486</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.987" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.988" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.988" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.988" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.988" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.988" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:31.988" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=964927709455192064
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 02:58:35 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="20240409 10:58:31.988" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.948" endtime="20240409 10:58:31.988"/>
|
|
</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="20240409 10:58:31.989" level="INFO">${data} = [{'orgId': '963432943739605555', 'fullName': '寻找伴侣', 'shortName': '寻伴'}]</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.989" endtime="20240409 10:58:31.989"/>
|
|
</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="20240409 10:58:31.990" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.990" endtime="20240409 10:58:31.990"/>
|
|
</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="20240409 10:58:31.991" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.991" endtime="20240409 10:58:31.991"/>
|
|
</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="20240409 10:58:31.992" level="INFO">[{'orgId': '963432943739605555', 'fullName': '寻找伴侣', 'shortName': '寻伴'}]</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.992" endtime="20240409 10:58:31.992"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.991" endtime="20240409 10:58:31.992"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.947" endtime="20240409 10:58:31.992"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240409 10:58:31.946" endtime="20240409 10:58:31.992"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240409 10:58:31.946" endtime="20240409 10:58:31.992"/>
|
|
</kw>
|
|
<kw name="And 获取婚介平台用户baseinfo" library="LoginResource" sourcename="获取${dating}平台用户baseinfo">
|
|
<for flavor="IN">
|
|
<var>${admin_header}</var>
|
|
<value>@{Aheader_list}</value>
|
|
<iter>
|
|
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==','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="20240409 10:58:31.994" 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240409 10:58:31.994" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.993" endtime="20240409 10:58:31.994"/>
|
|
</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="20240409 10:58:31.995" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240409 10:58:32.037" 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="20240409 10:58:32.038" 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240409 10:58:32.039" level="DEBUG">utf-8 confidence = 0.9690625</msg>
|
|
<msg timestamp="20240409 10:58:32.039" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.039" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.039" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.039" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.039" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.039" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.039" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">MacCyrillic Russian confidence = 0.12287515576985893</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">IBM866 Russian confidence = 0.1820372678071984</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">windows-1251 Bulgarian confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">ISO-8859-9 Turkish confidence = 0.41600535235170244</msg>
|
|
<msg timestamp="20240409 10:58:32.040" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">windows-1255 Hebrew confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">utf-8 confidence = 0.9690625</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.041" 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, 09 Apr 2024 02:58:35 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":"964927709455192064","realName":"就是不吃饭","nickName":null,"phone":"15014242835","matchmakerFlag":false}}
|
|
</msg>
|
|
<msg timestamp="20240409 10:58:32.041" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240409 10:58:31.994" endtime="20240409 10:58:32.042"/>
|
|
</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="20240409 10:58:32.043" level="INFO">${phone} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.042" endtime="20240409 10:58:32.043"/>
|
|
</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="20240409 10:58:32.044" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.043" endtime="20240409 10:58:32.044"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.993" endtime="20240409 10:58:32.044"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240409 10:58:31.993" endtime="20240409 10:58:32.044"/>
|
|
</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="20240409 10:58:32.045" level="INFO">${phone} = 15014242835</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.044" endtime="20240409 10:58:32.045"/>
|
|
</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="20240409 10:58:32.045" level="INFO">${matchmakerFlag} = False</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.045" endtime="20240409 10:58:32.045"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.993" endtime="20240409 10:58:32.045"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:31.851" endtime="20240409 10:58:32.046"/>
|
|
</test>
|
|
<doc>接口:短信验证码登录认证</doc>
|
|
<status status="PASS" starttime="20240409 10:58:31.560" endtime="20240409 10:58:32.046"/>
|
|
</suite>
|
|
<doc>用户登录婚介平台</doc>
|
|
<status status="PASS" starttime="20240409 10:58:31.559" endtime="20240409 10:58:32.048"/>
|
|
</suite>
|
|
<suite id="s1-s2" name="2-Web" source="D:\LYL\Study\Robot_framework\space\Dating-agency\2-Web">
|
|
<suite id="s1-s2-s1" name="Mall" source="D:\LYL\Study\Robot_framework\space\Dating-agency\2-Web\Mall">
|
|
<suite id="s1-s2-s1-s1" name="Product" source="D:\LYL\Study\Robot_framework\space\Dating-agency\2-Web\Mall\product.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="20240409 10:58:32.062" endtime="20240409 10:58:32.063"/>
|
|
</kw>
|
|
<test id="s1-s2-s1-s1-t1" name="上下架商品" line="12">
|
|
<kw name="Given 查询婚介平台商品定价列表" library="ProductResource" sourcename="查询${dating}平台商品定价列表">
|
|
<for flavor="IN">
|
|
<var>${admin_header}</var>
|
|
<value>@{Aheader_list}</value>
|
|
<iter>
|
|
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==','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="20240409 10:58:32.066" 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240409 10:58:32.066" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.065" endtime="20240409 10:58:32.066"/>
|
|
</kw>
|
|
<kw name="GET On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-mall/user/page/product/by/operator</arg>
|
|
<arg>params=pageSize=10&pageNum=1</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240409 10:58:32.068" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240409 10:58:32.116" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/page/product/by/operator?pageSize=10&pageNum=1 HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240409 10:58:32.117" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/page/product/by/operator?pageSize=10&pageNum=1
|
|
path_url=/dating-agency-mall/user/page/product/by/operator?pageSize=10&pageNum=1
|
|
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==', 'X-Organization-Id': '963432943739605555'}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20240409 10:58:32.123" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240409 10:58:32.123" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">IBM866 Russian confidence = 0.04285745825723985</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">IBM855 Russian confidence = 0.038581336112262256</msg>
|
|
<msg timestamp="20240409 10:58:32.124" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">TIS-620 Thai confidence = 0.1244136915290347</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3099787437381887</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">utf-8 confidence = 0.99</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.125" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.126" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.126" level="DEBUG">CP949 Korean confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.126" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.126" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
|
|
<msg timestamp="20240409 10:58:32.126" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/page/product/by/operator?pageSize=10&pageNum=1
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 02:58:36 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":{"records":[{"productId":"975024857609801728","productSpecId":"975024857651744768","mainCategory":1,"subCategory":101,"productTitle":"学历认证","productDesc":"学历认证产品描述","detailDesc":"学历认证详细描述","status":1,"unitOriginalPrice":3370.000,"unitSellingPrice":0.010,"productSpecUnit":102,"validityPeriodValue":"358"},{"productId":"975024858238947328","productSpecId":"975024858276696064","mainCategory":2,"subCategory":201,"productTitle":"头像修改","productDesc":"头像修改产品描述","detailDesc":"头像修改详情描述","status":2,"unitOriginalPrice":1826.000,"unitSellingPrice":0.010,"productSpecUnit":102,"validityPeriodValue":"365"},{"productId":"975024858876481536","productSpecId":"975024858922618880","mainCategory":3,"subCategory":301,"productTitle":"解锁更多人数","productDesc":"解锁更多人数产品描述","detailDesc":"解锁更多人数详情描述","status":2,"unitOriginalPrice":2931.000,"unitSellingPrice":0.010,"productSpecUnit":101,"validityPeriodValue":"116"},{"productId":"975024859484655616","productSpecId":"975024859526598656","mainCategory":3,"subCategory":302,"productTitle":"高级搜索","productDesc":"高级搜索产品描述","detailDesc":"高级搜索详细描述","status":2,"unitOriginalPrice":3573.000,"unitSellingPrice":0.010,"productSpecUnit":102,"validityPeriodValue":"30"},{"productId":"975024860180910080","productSpecId":"975024860218658816","mainCategory":4,"subCategory":401,"productTitle":"线下约见面","productDesc":"线下约见面产品描述","detailDesc":"线下约见面详情描述","status":2,"unitOriginalPrice":637.000,"unitSellingPrice":0.010,"productSpecUnit":102,"validityPeriodValue":"283"},{"productId":"975024860805861376","productSpecId":"975024860843610112","mainCategory":3,"subCategory":501,"productTitle":"聊天卡","productDesc":"聊天卡产品描述","detailDesc":"聊天卡详情描述","status":2,"unitOriginalPrice":1401.000,"unitSellingPrice":1.401,"productSpecUnit":102,"validityPeriodValue":"63"},{"productId":"975024861455978496","productSpecId":"975024861493727232","mainCategory":3,"subCategory":601,"productTitle":"会员","productDesc":"会员产品描述","detailDesc":"会员详细描述","status":1,"unitOriginalPrice":3317.000,"unitSellingPrice":3.317,"productSpecUnit":101,"validityPeriodValue":"1"}],"total":7,"size":10,"current":1,"pages":1}}
|
|
</msg>
|
|
<msg timestamp="20240409 10:58:32.126" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.067" endtime="20240409 10:58:32.126"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${records}</var>
|
|
<arg>${reps.json()['data']}</arg>
|
|
<arg>records</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.127" level="INFO">${records} = [{'productId': '975024857609801728', 'productSpecId': '975024857651744768', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.126" endtime="20240409 10:58:32.127"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${records}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.128" level="INFO">${records} = [{'productId': '975024857609801728', 'productSpecId': '975024857651744768', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.127" endtime="20240409 10:58:32.128"/>
|
|
</kw>
|
|
<kw name="遍历商品列表" library="ProductResource">
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${productIdList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240409 10:58:32.129" level="INFO">${productIdList} = []</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.128" endtime="20240409 10:58:32.129"/>
|
|
</kw>
|
|
<kw name="Create List" library="BuiltIn">
|
|
<var>${productTitleList}</var>
|
|
<doc>Returns a list containing given items.</doc>
|
|
<msg timestamp="20240409 10:58:32.129" level="INFO">${productTitleList} = []</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.129" endtime="20240409 10:58:32.129"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${product}</var>
|
|
<value>@{records}</value>
|
|
<iter>
|
|
<var name="${product}">{'productId': '975024857609801728', 'productSpecId': '975024857651744768', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${product}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.130" level="INFO">${status} = 1</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.130" endtime="20240409 10:58:32.130"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.130" level="INFO">${productId} = 975024857609801728</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.130" endtime="20240409 10:58:32.130"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productTitle}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productTitle</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.131" level="INFO">${productTitle} = 学历认证</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.131" endtime="20240409 10:58:32.131"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productSpecId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productSpecId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.131" level="INFO">${productSpecId} = 975024857651744768</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.131" endtime="20240409 10:58:32.131"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productIdList}</arg>
|
|
<arg>${productId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.131" endtime="20240409 10:58:32.132"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productTitleList}</arg>
|
|
<arg>${productTitle}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.132" endtime="20240409 10:58:32.132"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.133" level="INFO">${status} = 1</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.132" endtime="20240409 10:58:32.133"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.133" level="INFO">${productId} = 975024857609801728</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.133" endtime="20240409 10:58:32.133"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitle}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.134" level="INFO">${productTitle} = 学历认证</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.134" endtime="20240409 10:58:32.134"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productIdList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.134" level="INFO">${productIdList} = ['975024857609801728']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.134" endtime="20240409 10:58:32.134"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productSpecId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.135" level="INFO">${productSpecId} = 975024857651744768</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.135" endtime="20240409 10:58:32.135"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitleList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.135" level="INFO">${productTitleList} = ['学历认证']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.135" endtime="20240409 10:58:32.135"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.129" endtime="20240409 10:58:32.136"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${product}">{'productId': '975024858238947328', 'productSpecId': '975024858276696064', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详情描述', 'status':...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${product}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.136" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.136" endtime="20240409 10:58:32.136"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.137" level="INFO">${productId} = 975024858238947328</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.136" endtime="20240409 10:58:32.137"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productTitle}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productTitle</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.137" level="INFO">${productTitle} = 头像修改</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.137" endtime="20240409 10:58:32.137"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productSpecId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productSpecId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.138" level="INFO">${productSpecId} = 975024858276696064</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.137" endtime="20240409 10:58:32.138"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productIdList}</arg>
|
|
<arg>${productId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.138" endtime="20240409 10:58:32.138"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productTitleList}</arg>
|
|
<arg>${productTitle}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.138" endtime="20240409 10:58:32.138"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.139" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.139" endtime="20240409 10:58:32.139"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.139" level="INFO">${productId} = 975024858238947328</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.139" endtime="20240409 10:58:32.139"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitle}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.140" level="INFO">${productTitle} = 头像修改</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.140" endtime="20240409 10:58:32.140"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productIdList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.140" level="INFO">${productIdList} = ['975024857609801728', '975024858238947328']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.140" endtime="20240409 10:58:32.140"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productSpecId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.141" level="INFO">${productSpecId} = 975024858276696064</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.141" endtime="20240409 10:58:32.141"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitleList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.142" level="INFO">${productTitleList} = ['学历认证', '头像修改']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.141" endtime="20240409 10:58:32.142"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.136" endtime="20240409 10:58:32.142"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${product}">{'productId': '975024858876481536', 'productSpecId': '975024858922618880', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详情描述', 'st...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${product}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.143" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.142" endtime="20240409 10:58:32.143"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.143" level="INFO">${productId} = 975024858876481536</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.143" endtime="20240409 10:58:32.143"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productTitle}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productTitle</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.144" level="INFO">${productTitle} = 解锁更多人数</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.143" endtime="20240409 10:58:32.144"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productSpecId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productSpecId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.144" level="INFO">${productSpecId} = 975024858922618880</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.144" endtime="20240409 10:58:32.144"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productIdList}</arg>
|
|
<arg>${productId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.144" endtime="20240409 10:58:32.144"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productTitleList}</arg>
|
|
<arg>${productTitle}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.145" endtime="20240409 10:58:32.145"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.145" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.145" endtime="20240409 10:58:32.145"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.146" level="INFO">${productId} = 975024858876481536</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.145" endtime="20240409 10:58:32.146"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitle}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.146" level="INFO">${productTitle} = 解锁更多人数</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.146" endtime="20240409 10:58:32.146"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productIdList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.147" level="INFO">${productIdList} = ['975024857609801728', '975024858238947328', '975024858876481536']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.146" endtime="20240409 10:58:32.147"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productSpecId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.147" level="INFO">${productSpecId} = 975024858922618880</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.147" endtime="20240409 10:58:32.147"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitleList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.148" level="INFO">${productTitleList} = ['学历认证', '头像修改', '解锁更多人数']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.147" endtime="20240409 10:58:32.148"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.142" endtime="20240409 10:58:32.148"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${product}">{'productId': '975024859484655616', 'productSpecId': '975024859526598656', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${product}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.149" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.148" endtime="20240409 10:58:32.149"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.149" level="INFO">${productId} = 975024859484655616</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.149" endtime="20240409 10:58:32.149"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productTitle}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productTitle</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.150" level="INFO">${productTitle} = 高级搜索</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.150" endtime="20240409 10:58:32.150"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productSpecId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productSpecId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.150" level="INFO">${productSpecId} = 975024859526598656</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.150" endtime="20240409 10:58:32.150"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productIdList}</arg>
|
|
<arg>${productId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.151" endtime="20240409 10:58:32.151"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productTitleList}</arg>
|
|
<arg>${productTitle}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.151" endtime="20240409 10:58:32.151"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.152" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.151" endtime="20240409 10:58:32.152"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.152" level="INFO">${productId} = 975024859484655616</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.152" endtime="20240409 10:58:32.152"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitle}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.153" level="INFO">${productTitle} = 高级搜索</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.152" endtime="20240409 10:58:32.153"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productIdList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.153" level="INFO">${productIdList} = ['975024857609801728', '975024858238947328', '975024858876481536', '975024859484655616']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.153" endtime="20240409 10:58:32.153"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productSpecId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.154" level="INFO">${productSpecId} = 975024859526598656</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.153" endtime="20240409 10:58:32.154"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitleList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.154" level="INFO">${productTitleList} = ['学历认证', '头像修改', '解锁更多人数', '高级搜索']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.154" endtime="20240409 10:58:32.154"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.148" endtime="20240409 10:58:32.154"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${product}">{'productId': '975024860180910080', 'productSpecId': '975024860218658816', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${product}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.155" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.155" endtime="20240409 10:58:32.155"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.155" level="INFO">${productId} = 975024860180910080</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.155" endtime="20240409 10:58:32.155"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productTitle}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productTitle</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.156" level="INFO">${productTitle} = 线下约见面</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.155" endtime="20240409 10:58:32.156"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productSpecId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productSpecId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.156" level="INFO">${productSpecId} = 975024860218658816</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.156" endtime="20240409 10:58:32.156"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productIdList}</arg>
|
|
<arg>${productId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.156" endtime="20240409 10:58:32.157"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productTitleList}</arg>
|
|
<arg>${productTitle}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.158" endtime="20240409 10:58:32.158"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.158" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.158" endtime="20240409 10:58:32.158"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.159" level="INFO">${productId} = 975024860180910080</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.159" endtime="20240409 10:58:32.159"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitle}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.159" level="INFO">${productTitle} = 线下约见面</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.159" endtime="20240409 10:58:32.159"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productIdList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.160" level="INFO">${productIdList} = ['975024857609801728', '975024858238947328', '975024858876481536', '975024859484655616', '975024860180910080']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.160" endtime="20240409 10:58:32.160"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productSpecId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.160" level="INFO">${productSpecId} = 975024860218658816</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.160" endtime="20240409 10:58:32.160"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitleList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.161" level="INFO">${productTitleList} = ['学历认证', '头像修改', '解锁更多人数', '高级搜索', '线下约见面']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.161" endtime="20240409 10:58:32.161"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.154" endtime="20240409 10:58:32.161"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${product}">{'productId': '975024860805861376', 'productSpecId': '975024860843610112', 'mainCategory': 3, 'subCategory': 501, 'productTitle': '聊天卡', 'productDesc': '聊天卡产品描述', 'detailDesc': '聊天卡详情描述', 'status': 2,...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${product}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.162" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.161" endtime="20240409 10:58:32.162"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.162" level="INFO">${productId} = 975024860805861376</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.162" endtime="20240409 10:58:32.162"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productTitle}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productTitle</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.163" level="INFO">${productTitle} = 聊天卡</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.162" endtime="20240409 10:58:32.163"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productSpecId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productSpecId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.163" level="INFO">${productSpecId} = 975024860843610112</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.163" endtime="20240409 10:58:32.163"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productIdList}</arg>
|
|
<arg>${productId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.163" endtime="20240409 10:58:32.163"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productTitleList}</arg>
|
|
<arg>${productTitle}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.164" endtime="20240409 10:58:32.164"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.164" level="INFO">${status} = 2</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.164" endtime="20240409 10:58:32.164"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.165" level="INFO">${productId} = 975024860805861376</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.165" endtime="20240409 10:58:32.165"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitle}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.165" level="INFO">${productTitle} = 聊天卡</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.165" endtime="20240409 10:58:32.166"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productIdList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.166" level="INFO">${productIdList} = ['975024857609801728', '975024858238947328', '975024858876481536', '975024859484655616', '975024860180910080', '975024860805861376']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.166" endtime="20240409 10:58:32.166"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productSpecId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.167" level="INFO">${productSpecId} = 975024860843610112</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.166" endtime="20240409 10:58:32.167"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitleList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.167" level="INFO">${productTitleList} = ['学历认证', '头像修改', '解锁更多人数', '高级搜索', '线下约见面', '聊天卡']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.167" endtime="20240409 10:58:32.167"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.161" endtime="20240409 10:58:32.167"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${product}">{'productId': '975024861455978496', 'productSpecId': '975024861493727232', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详细描述', 'status': 1, 'u...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${status}</var>
|
|
<arg>${product}</arg>
|
|
<arg>status</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.168" level="INFO">${status} = 1</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.168" endtime="20240409 10:58:32.168"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.168" level="INFO">${productId} = 975024861455978496</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.168" endtime="20240409 10:58:32.168"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productTitle}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productTitle</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.169" level="INFO">${productTitle} = 会员</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.168" endtime="20240409 10:58:32.169"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${productSpecId}</var>
|
|
<arg>${product}</arg>
|
|
<arg>productSpecId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20240409 10:58:32.169" level="INFO">${productSpecId} = 975024861493727232</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.169" endtime="20240409 10:58:32.169"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productIdList}</arg>
|
|
<arg>${productId}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.169" endtime="20240409 10:58:32.171"/>
|
|
</kw>
|
|
<kw name="Append To List" library="Collections">
|
|
<arg>${productTitleList}</arg>
|
|
<arg>${productTitle}</arg>
|
|
<doc>Adds ``values`` to the end of ``list``.</doc>
|
|
<status status="PASS" starttime="20240409 10:58:32.171" endtime="20240409 10:58:32.171"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${status}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.171" level="INFO">${status} = 1</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.171" endtime="20240409 10:58:32.171"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.172" level="INFO">${productId} = 975024861455978496</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.172" endtime="20240409 10:58:32.172"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitle}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.172" level="INFO">${productTitle} = 会员</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.172" endtime="20240409 10:58:32.172"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productIdList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.173" level="INFO">${productIdList} = ['975024857609801728', '975024858238947328', '975024858876481536', '975024859484655616', '975024860180910080', '975024860805861376', '975024861455978496']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.173" endtime="20240409 10:58:32.173"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productSpecId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.173" level="INFO">${productSpecId} = 975024861493727232</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.173" endtime="20240409 10:58:32.173"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${productTitleList}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20240409 10:58:32.174" level="INFO">${productTitleList} = ['学历认证', '头像修改', '解锁更多人数', '高级搜索', '线下约见面', '聊天卡', '会员']</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.174" endtime="20240409 10:58:32.174"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.167" endtime="20240409 10:58:32.174"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240409 10:58:32.129" endtime="20240409 10:58:32.174"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240409 10:58:32.128" endtime="20240409 10:58:32.174"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.065" endtime="20240409 10:58:32.174"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240409 10:58:32.065" endtime="20240409 10:58:32.174"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240409 10:58:32.064" endtime="20240409 10:58:32.174"/>
|
|
</kw>
|
|
<kw name="When 操作婚介平台商品上下架" library="ProductResource" sourcename="操作${dating}平台商品上下架">
|
|
<for flavor="IN ZIP">
|
|
<var>${admin_header}</var>
|
|
<var>${productId}</var>
|
|
<value>${Aheader_list}</value>
|
|
<value>${productIdList}</value>
|
|
<iter>
|
|
<var name="${admin_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==','X-Organization-Id':'96...</var>
|
|
<var name="${productId}">975024857609801728</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="20240409 10:58:32.176" 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<msg timestamp="20240409 10:58:32.176" level="DEBUG">Creating session: dating</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.176" endtime="20240409 10:58:32.177"/>
|
|
</kw>
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>{"productId":"${productId}","status":1}</arg>
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
<msg timestamp="20240409 10:58:32.177" level="INFO">${data} = {"productId":"975024857609801728","status":1}</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.177" endtime="20240409 10:58:32.177"/>
|
|
</kw>
|
|
<kw name="POST On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>dating</arg>
|
|
<arg>dating-agency-mall/user/operate/product</arg>
|
|
<arg>${data.encode('utf-8')}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20240409 10:58:32.178" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
|
|
<msg timestamp="20240409 10:58:32.249" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-mall/user/operate/product HTTP/1.1" 200 None</msg>
|
|
<msg timestamp="20240409 10:58:32.250" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product
|
|
path_url=/dating-agency-mall/user/operate/product
|
|
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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXniqogySpoEym+Vdxbt7KDAokpxi5DAOUzRHJkIUYCrqzw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '45'}
|
|
body=b'{"productId":"975024857609801728","status":1}'
|
|
</msg>
|
|
<msg timestamp="20240409 10:58:32.250" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 02:58:36 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
|
|
body={"code":0,"message":"successful","data":null}
|
|
</msg>
|
|
<msg timestamp="20240409 10:58:32.250" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.177" endtime="20240409 10:58:32.250"/>
|
|
</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="20240409 10:58:32.251" level="INFO">${message} = successful</msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.250" endtime="20240409 10:58:32.251"/>
|
|
</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="20240409 10:58:32.252" level="DEBUG">Argument types are:
|
|
<class 'str'>
|
|
<class 'str'></msg>
|
|
<status status="PASS" starttime="20240409 10:58:32.251" endtime="20240409 10:58:32.252"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.175" endtime="20240409 10:58:32.252"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20240409 10:58:32.175" endtime="20240409 10:58:32.252"/>
|
|
</for>
|
|
<status status="PASS" starttime="20240409 10:58:32.175" endtime="20240409 10:58:32.252"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20240409 10:58:32.063" endtime="20240409 10:58:32.252"/>
|
|
</test>
|
|
<status status="PASS" starttime="20240409 10:58:32.052" endtime="20240409 10:58:32.253"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240409 10:58:32.050" endtime="20240409 10:58:32.253"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240409 10:58:32.049" endtime="20240409 10:58:32.254"/>
|
|
</suite>
|
|
<status status="PASS" starttime="20240409 10:58:31.537" endtime="20240409 10:58:32.254"/>
|
|
</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="2-Web">Dating-agency.2-Web</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2-s1" name="Mall">Dating-agency.2-Web.Mall</stat>
|
|
<stat pass="1" fail="0" skip="0" id="s1-s2-s1-s1" name="Product">Dating-agency.2-Web.Mall.Product</stat>
|
|
</suite>
|
|
</statistics>
|
|
<errors>
|
|
</errors>
|
|
</robot>
|