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.
 
 
 

1640 lines
120 KiB

<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240410 17:23:22.685" 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="20240410 17:23:22.717" endtime="20240410 17:23:22.717"/>
</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="20240410 17:23:23.001" endtime="20240410 17:23:23.001"/>
</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="20240410 17:23:23.001" level="INFO" html="true">Getting file '&lt;a href="file://D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt"&gt;D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt&lt;/a&gt;'.</msg>
<msg timestamp="20240410 17:23:23.001" level="INFO">${file} = 手机号
19128859944</msg>
<status status="PASS" starttime="20240410 17:23:23.001" endtime="20240410 17:23:23.001"/>
</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="20240410 17:23:23.017" level="INFO">${skip-line} = 1</msg>
<status status="PASS" starttime="20240410 17:23:23.017" endtime="20240410 17:23:23.017"/>
</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="20240410 17:23:23.017" level="INFO">${lines} = -1</msg>
<status status="PASS" starttime="20240410 17:23:23.017" endtime="20240410 17:23:23.017"/>
</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="20240410 17:23:23.017" level="INFO">1 out of 2 lines matched</msg>
<msg timestamp="20240410 17:23:23.017" level="INFO">${content} = 19128859944</msg>
<status status="PASS" starttime="20240410 17:23:23.017" endtime="20240410 17:23:23.017"/>
</kw>
<for flavor="IN">
<var>${id}</var>
<value>${content}</value>
<iter>
<var name="${id}">19128859944</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="20240410 17:23:23.017" level="INFO">${id} = ['19128859944']</msg>
<status status="PASS" starttime="20240410 17:23:23.017" endtime="20240410 17:23:23.017"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.017" endtime="20240410 17:23:23.017"/>
</iter>
<status status="PASS" starttime="20240410 17:23:23.017" endtime="20240410 17:23:23.020"/>
</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="20240410 17:23:23.020" level="INFO">${id} = ['19128859944']</msg>
<status status="PASS" starttime="20240410 17:23:23.020" endtime="20240410 17:23:23.020"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.001" endtime="20240410 17:23:23.020"/>
</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="20240410 17:23:23.021" level="INFO">${userid_list} = []</msg>
<status status="PASS" starttime="20240410 17:23:23.021" endtime="20240410 17:23:23.021"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${Cheader_list}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240410 17:23:23.022" level="INFO">${Cheader_list} = []</msg>
<status status="PASS" starttime="20240410 17:23:23.021" endtime="20240410 17:23:23.022"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${Aheader_list}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240410 17:23:23.022" level="INFO">${Aheader_list} = []</msg>
<status status="PASS" starttime="20240410 17:23:23.022" endtime="20240410 17:23:23.022"/>
</kw>
<for flavor="IN">
<var>${account}</var>
<value>@{id}</value>
<iter>
<var name="${account}">19128859944</var>
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20240410 17:23:23.023" endtime="20240410 17:23:23.023"/>
</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="20240410 17:23:23.024" 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="20240410 17:23:23.024" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240410 17:23:23.023" endtime="20240410 17:23:23.024"/>
</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="20240410 17:23:23.024" level="INFO">${data} = { "account":"19128859944", "accountType":2, "captcha":888888 }</msg>
<status status="PASS" starttime="20240410 17:23:23.024" endtime="20240410 17:23:23.025"/>
</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="20240410 17:23:23.027" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240410 17:23:23.114" 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="20240410 17:23:23.114" 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":"19128859944", "accountType":2, "captcha":888888 }'
</msg>
<msg timestamp="20240410 17:23:23.114" 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, 10 Apr 2024 09:23:28 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==","userId":"968624964985032704"}}
</msg>
<msg timestamp="20240410 17:23:23.114" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240410 17:23:23.025" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" level="INFO">${code} = 0</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" level="INFO">${token} = iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" level="INFO">${userId} = 968624964985032704</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==','X-Organization-Id':'96...</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ=='}</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.022" endtime="20240410 17:23:23.114"/>
</iter>
<status status="PASS" starttime="20240410 17:23:23.022" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.114" level="INFO">${phone} = 19128859944</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.114"/>
</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="20240410 17:23:23.129" level="INFO">${phone} = 19128859944</msg>
<status status="PASS" starttime="20240410 17:23:23.114" endtime="20240410 17:23:23.129"/>
</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="20240410 17:23:23.129" level="INFO">${userid_list} = ['968624964985032704']</msg>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.129"/>
</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="20240410 17:23:23.129" level="INFO">${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==','X-Organization-Id':'...</msg>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.129"/>
</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="20240410 17:23:23.129" level="INFO">${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ=='}"]</msg>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.129"/>
</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="20240410 17:23:23.129" level="INFO">${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==','X-Organization-Id':'96...</msg>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.129"/>
</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="20240410 17:23:23.129" level="INFO">${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ=='}</msg>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.129"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.021" endtime="20240410 17:23:23.129"/>
</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="20240410 17:23:23.129" level="INFO">${Aheader} = []</msg>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.129"/>
</kw>
<for flavor="IN ZIP">
<var>${userId}</var>
<var>${login_header}</var>
<value>${userid_list}</value>
<value>${Aheader_list}</value>
<iter>
<var name="${userId}">968624964985032704</var>
<var name="${login_header}">{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==','X-Organization-Id':'96...</var>
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.129"/>
</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="20240410 17:23:23.129" 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240410 17:23:23.129" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.129"/>
</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="20240410 17:23:23.129" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240410 17:23:23.167" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=968624964985032704 HTTP/1.1" 200 None</msg>
<msg timestamp="20240410 17:23:23.167" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=968624964985032704
path_url=/dating-agency-uec/user/list/own-organization?userId=968624964985032704
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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240410 17:23:23.168" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240410 17:23:23.168" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.168" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.168" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.168" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.168" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">windows-1251 Bulgarian confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.169" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">ISO-8859-9 Turkish confidence = 0.2794564987311486</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.170" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.170" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=968624964985032704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 10 Apr 2024 09:23:28 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="20240410 17:23:23.171" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.171"/>
</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="20240410 17:23:23.172" level="INFO">${data} = [{'orgId': '963432943739605555', 'fullName': '寻找伴侣', 'shortName': '寻伴'}]</msg>
<status status="PASS" starttime="20240410 17:23:23.171" endtime="20240410 17:23:23.172"/>
</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="20240410 17:23:23.172" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240410 17:23:23.172" endtime="20240410 17:23:23.172"/>
</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="20240410 17:23:23.173" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240410 17:23:23.173" endtime="20240410 17:23:23.173"/>
</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="20240410 17:23:23.174" level="INFO">[{'orgId': '963432943739605555', 'fullName': '寻找伴侣', 'shortName': '寻伴'}]</msg>
<status status="PASS" starttime="20240410 17:23:23.173" endtime="20240410 17:23:23.174"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.173" endtime="20240410 17:23:23.174"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.174"/>
</iter>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.174"/>
</for>
<status status="PASS" starttime="20240410 17:23:23.129" endtime="20240410 17:23:23.174"/>
</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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==','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="20240410 17:23:23.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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240410 17:23:23.176" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240410 17:23:23.175" endtime="20240410 17:23:23.176"/>
</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="20240410 17:23:23.177" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240410 17:23:23.218" 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="20240410 17:23:23.218" 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240410 17:23:23.218" 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, 10 Apr 2024 09:23:28 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":"968624964985032704","realName":"qianniao","nickName":null,"phone":"19128859944","matchmakerFlag":true}}
</msg>
<msg timestamp="20240410 17:23:23.218" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240410 17:23:23.176" endtime="20240410 17:23:23.218"/>
</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="20240410 17:23:23.218" level="INFO">${phone} = 19128859944</msg>
<status status="PASS" starttime="20240410 17:23:23.218" endtime="20240410 17:23:23.218"/>
</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="20240410 17:23:23.218" level="INFO">${matchmakerFlag} = True</msg>
<status status="PASS" starttime="20240410 17:23:23.218" endtime="20240410 17:23:23.218"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.175" endtime="20240410 17:23:23.218"/>
</iter>
<status status="PASS" starttime="20240410 17:23:23.175" endtime="20240410 17:23:23.218"/>
</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="20240410 17:23:23.218" level="INFO">${phone} = 19128859944</msg>
<status status="PASS" starttime="20240410 17:23:23.218" endtime="20240410 17:23:23.218"/>
</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="20240410 17:23:23.218" level="INFO">${matchmakerFlag} = True</msg>
<status status="PASS" starttime="20240410 17:23:23.218" endtime="20240410 17:23:23.218"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.175" endtime="20240410 17:23:23.218"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.001" endtime="20240410 17:23:23.218"/>
</test>
<doc>接口:短信验证码登录认证</doc>
<status status="PASS" starttime="20240410 17:23:22.717" endtime="20240410 17:23:23.218"/>
</suite>
<doc>用户登录婚介平台</doc>
<status status="PASS" starttime="20240410 17:23:22.717" endtime="20240410 17:23:23.218"/>
</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="Activity" source="D:\LYL\Study\Robot_framework\space\Dating-agency\2-Web\Mall\Activity.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="20240410 17:23:23.416" endtime="20240410 17:23:23.416"/>
</kw>
<test id="s1-s2-s1-s1-t1" name="创建会员活动" line="6">
<kw name="Given 查询婚介平台商品定价列表" library="ActivityResource" 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==','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="20240410 17:23:23.433" 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240410 17:23:23.433" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240410 17:23:23.433" endtime="20240410 17:23:23.433"/>
</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&amp;pageNum=1</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240410 17:23:23.433" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/page/product/by/operator?pageSize=10&amp;pageNum=1 HTTP/1.1" 200 None</msg>
<msg timestamp="20240410 17:23:23.483" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/page/product/by/operator?pageSize=10&amp;pageNum=1
path_url=/dating-agency-mall/user/page/product/by/operator?pageSize=10&amp;pageNum=1
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">IBM866 Russian confidence = 0.04305284813906042</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">IBM855 Russian confidence = 0.045011558797639295</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">TIS-620 Thai confidence = 0.12402348159544357</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">ISO-8859-9 Turkish confidence = 0.3102542803992893</msg>
<msg timestamp="20240410 17:23:23.483" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.499" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240410 17:23:23.499" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/page/product/by/operator?pageSize=10&amp;pageNum=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 10 Apr 2024 09:23:28 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":"975071861488619520","productSpecId":"975071861522173952","mainCategory":1,"subCategory":101,"productTitle":"学历认证","productDesc":"学历认证产品描述","detailDesc":"学历认证详细描述","status":2,"unitOriginalPrice":2768.000,"unitSellingPrice":2.768,"productSpecUnit":102,"validityPeriodValue":"174"},{"productId":"975071862004518912","productSpecId":"975071862038073344","mainCategory":2,"subCategory":201,"productTitle":"头像修改","productDesc":"头像修改产品描述","detailDesc":"头像修改详细描述","status":2,"unitOriginalPrice":3639.000,"unitSellingPrice":3.639,"productSpecUnit":102,"validityPeriodValue":"131"},{"productId":"975071862520418304","productSpecId":"975071862553972736","mainCategory":3,"subCategory":301,"productTitle":"解锁更多人数","productDesc":"解锁更多人数产品描述","detailDesc":"解锁更多人数详细描述","status":2,"unitOriginalPrice":3868.000,"unitSellingPrice":3.868,"productSpecUnit":101,"validityPeriodValue":"30"},{"productId":"975071863040512000","productSpecId":"975071863078260736","mainCategory":3,"subCategory":302,"productTitle":"高级搜索","productDesc":"高级搜索产品描述","detailDesc":"高级搜索详细描述","status":2,"unitOriginalPrice":3350.000,"unitSellingPrice":3.350,"productSpecUnit":102,"validityPeriodValue":"94"},{"productId":"975071863556411392","productSpecId":"975071863589965824","mainCategory":4,"subCategory":401,"productTitle":"线下约见面","productDesc":"线下约见面产品描述","detailDesc":"线下约见面详情描述","status":2,"unitOriginalPrice":3792.000,"unitSellingPrice":0.010,"productSpecUnit":102,"validityPeriodValue":"250"},{"productId":"975071864080699392","productSpecId":"975071864118448128","mainCategory":3,"subCategory":501,"productTitle":"聊天卡","productDesc":"聊天卡产品描述","detailDesc":"聊天卡详情描述","status":1,"unitOriginalPrice":777.000,"unitSellingPrice":0.010,"productSpecUnit":102,"validityPeriodValue":"1"},{"productId":"975071864596598784","productSpecId":"975071864630153216","mainCategory":3,"subCategory":601,"productTitle":"会员","productDesc":"会员产品描述","detailDesc":"会员详情描述","status":2,"unitOriginalPrice":3781.000,"unitSellingPrice":0.030,"productSpecUnit":101,"validityPeriodValue":"1"}],"total":7,"size":10,"current":1,"pages":1}}
</msg>
<msg timestamp="20240410 17:23:23.499" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240410 17:23:23.433" endtime="20240410 17:23:23.499"/>
</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="20240410 17:23:23.499" level="INFO">${records} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.499"/>
</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="20240410 17:23:23.499" level="INFO">${records} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.499"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.433" endtime="20240410 17:23:23.499"/>
</iter>
<status status="PASS" starttime="20240410 17:23:23.432" endtime="20240410 17:23:23.499"/>
</for>
<kw name="Create List" library="BuiltIn">
<var>${activityProductList}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240410 17:23:23.499" level="INFO">${activityProductList} = []</msg>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.499"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${indexs}</var>
<arg>0</arg>
<arg>1</arg>
<arg>2</arg>
<arg>3</arg>
<arg>4</arg>
<arg>6</arg>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240410 17:23:23.499" level="INFO">${indexs} = ['0', '1', '2', '3', '4', '6']</msg>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.499"/>
</kw>
<for flavor="IN">
<var>${index}</var>
<value>@{indexs}</value>
<iter>
<var name="${index}">0</var>
<kw name="Set Variable" library="BuiltIn">
<var>${productData}</var>
<arg>${records[${index}]}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240410 17:23:23.499" level="INFO">${productData} = {'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.499"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${subCategory}</var>
<arg>${productData}</arg>
<arg>subCategory</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.499" level="INFO">${subCategory} = 101</msg>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.499"/>
</kw>
<kw name="Add Object To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${productData}</arg>
<arg>$.freebie</arg>
<arg>true</arg>
<doc>Add an dictionary or list object to json object using json_path</doc>
<msg timestamp="20240410 17:23:23.530" level="INFO">${Data} = {'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.530"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.530" level="INFO">${Data} = {'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.530"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${subCategory}==601</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="20240410 17:23:23.530" level="INFO">{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status': 2, 'unitOriginalPrice': 2768.0, 'unitSellingPrice': 2.768, 'productSpecUnit': 102, 'validityPeriodValue': '174', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.530"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.530"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${activityProductList}</arg>
<arg>${Data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.530"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${activityProductList}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.530" level="INFO">${activityProductList} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.530"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.530"/>
</iter>
<iter>
<var name="${index}">1</var>
<kw name="Set Variable" library="BuiltIn">
<var>${productData}</var>
<arg>${records[${index}]}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240410 17:23:23.530" level="INFO">${productData} = {'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.530"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${subCategory}</var>
<arg>${productData}</arg>
<arg>subCategory</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.530" level="INFO">${subCategory} = 201</msg>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.530"/>
</kw>
<kw name="Add Object To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${productData}</arg>
<arg>$.freebie</arg>
<arg>true</arg>
<doc>Add an dictionary or list object to json object using json_path</doc>
<msg timestamp="20240410 17:23:23.566" level="INFO">${Data} = {'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.566"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.567" level="INFO">${Data} = {'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.567" endtime="20240410 17:23:23.567"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${subCategory}==601</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="20240410 17:23:23.568" level="INFO">{'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status': 2, 'unitOriginalPrice': 3639.0, 'unitSellingPrice': 3.639, 'productSpecUnit': 102, 'validityPeriodValue': '131', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.568" endtime="20240410 17:23:23.568"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.567" endtime="20240410 17:23:23.568"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${activityProductList}</arg>
<arg>${Data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.568" endtime="20240410 17:23:23.568"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${activityProductList}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.569" level="INFO">${activityProductList} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
<status status="PASS" starttime="20240410 17:23:23.569" endtime="20240410 17:23:23.569"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.530" endtime="20240410 17:23:23.569"/>
</iter>
<iter>
<var name="${index}">2</var>
<kw name="Set Variable" library="BuiltIn">
<var>${productData}</var>
<arg>${records[${index}]}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240410 17:23:23.570" level="INFO">${productData} = {'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'st...</msg>
<status status="PASS" starttime="20240410 17:23:23.569" endtime="20240410 17:23:23.570"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${subCategory}</var>
<arg>${productData}</arg>
<arg>subCategory</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.571" level="INFO">${subCategory} = 301</msg>
<status status="PASS" starttime="20240410 17:23:23.570" endtime="20240410 17:23:23.571"/>
</kw>
<kw name="Add Object To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${productData}</arg>
<arg>$.freebie</arg>
<arg>true</arg>
<doc>Add an dictionary or list object to json object using json_path</doc>
<msg timestamp="20240410 17:23:23.586" level="INFO">${Data} = {'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'st...</msg>
<status status="PASS" starttime="20240410 17:23:23.571" endtime="20240410 17:23:23.586"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.586" level="INFO">${Data} = {'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'st...</msg>
<status status="PASS" starttime="20240410 17:23:23.586" endtime="20240410 17:23:23.586"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${subCategory}==601</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="20240410 17:23:23.586" level="INFO">{'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'status': 2, 'unitOriginalPrice': 3868.0, 'unitSellingPrice': 3.868, 'productSpecUnit': 101, 'validityPeriodValue': '30', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.586" endtime="20240410 17:23:23.586"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.586" endtime="20240410 17:23:23.586"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${activityProductList}</arg>
<arg>${Data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.586" endtime="20240410 17:23:23.586"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${activityProductList}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.586" level="INFO">${activityProductList} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
<status status="PASS" starttime="20240410 17:23:23.586" endtime="20240410 17:23:23.586"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.569" endtime="20240410 17:23:23.586"/>
</iter>
<iter>
<var name="${index}">3</var>
<kw name="Set Variable" library="BuiltIn">
<var>${productData}</var>
<arg>${records[${index}]}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240410 17:23:23.586" level="INFO">${productData} = {'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.586" endtime="20240410 17:23:23.586"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${subCategory}</var>
<arg>${productData}</arg>
<arg>subCategory</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.602" level="INFO">${subCategory} = 302</msg>
<status status="PASS" starttime="20240410 17:23:23.602" endtime="20240410 17:23:23.602"/>
</kw>
<kw name="Add Object To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${productData}</arg>
<arg>$.freebie</arg>
<arg>true</arg>
<doc>Add an dictionary or list object to json object using json_path</doc>
<msg timestamp="20240410 17:23:23.617" level="INFO">${Data} = {'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.602" endtime="20240410 17:23:23.617"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.617" level="INFO">${Data} = {'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.617" endtime="20240410 17:23:23.617"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${subCategory}==601</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="20240410 17:23:23.617" level="INFO">{'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status': 2, 'unitOriginalPrice': 3350.0, 'unitSellingPrice': 3.35, 'productSpecUnit': 102, 'validityPeriodValue': '94', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.617" endtime="20240410 17:23:23.617"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.617" endtime="20240410 17:23:23.617"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${activityProductList}</arg>
<arg>${Data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.617" endtime="20240410 17:23:23.617"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${activityProductList}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.617" level="INFO">${activityProductList} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
<status status="PASS" starttime="20240410 17:23:23.617" endtime="20240410 17:23:23.617"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.586" endtime="20240410 17:23:23.617"/>
</iter>
<iter>
<var name="${index}">4</var>
<kw name="Set Variable" library="BuiltIn">
<var>${productData}</var>
<arg>${records[${index}]}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240410 17:23:23.617" level="INFO">${productData} = {'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu...</msg>
<status status="PASS" starttime="20240410 17:23:23.617" endtime="20240410 17:23:23.633"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${subCategory}</var>
<arg>${productData}</arg>
<arg>subCategory</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.633" level="INFO">${subCategory} = 401</msg>
<status status="PASS" starttime="20240410 17:23:23.633" endtime="20240410 17:23:23.633"/>
</kw>
<kw name="Add Object To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${productData}</arg>
<arg>$.freebie</arg>
<arg>true</arg>
<doc>Add an dictionary or list object to json object using json_path</doc>
<msg timestamp="20240410 17:23:23.650" level="INFO">${Data} = {'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu...</msg>
<status status="PASS" starttime="20240410 17:23:23.633" endtime="20240410 17:23:23.650"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.650" level="INFO">${Data} = {'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu...</msg>
<status status="PASS" starttime="20240410 17:23:23.650" endtime="20240410 17:23:23.650"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${subCategory}==601</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="20240410 17:23:23.650" level="INFO">{'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'status': 2, 'unitOriginalPrice': 3792.0, 'unitSellingPrice': 0.01, 'productSpecUnit': 102, 'validityPeriodValue': '250', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.650" endtime="20240410 17:23:23.650"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.650" endtime="20240410 17:23:23.650"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${activityProductList}</arg>
<arg>${Data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.650" endtime="20240410 17:23:23.650"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${activityProductList}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.650" level="INFO">${activityProductList} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
<status status="PASS" starttime="20240410 17:23:23.650" endtime="20240410 17:23:23.650"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.617" endtime="20240410 17:23:23.650"/>
</iter>
<iter>
<var name="${index}">6</var>
<kw name="Set Variable" library="BuiltIn">
<var>${productData}</var>
<arg>${records[${index}]}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240410 17:23:23.665" level="INFO">${productData} = {'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 2, 'u...</msg>
<status status="PASS" starttime="20240410 17:23:23.650" endtime="20240410 17:23:23.665"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${subCategory}</var>
<arg>${productData}</arg>
<arg>subCategory</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.665" level="INFO">${subCategory} = 601</msg>
<status status="PASS" starttime="20240410 17:23:23.665" endtime="20240410 17:23:23.665"/>
</kw>
<kw name="Add Object To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${productData}</arg>
<arg>$.freebie</arg>
<arg>true</arg>
<doc>Add an dictionary or list object to json object using json_path</doc>
<msg timestamp="20240410 17:23:23.681" level="INFO">${Data} = {'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 2, 'u...</msg>
<status status="PASS" starttime="20240410 17:23:23.665" endtime="20240410 17:23:23.681"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.681" level="INFO">${Data} = {'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 2, 'u...</msg>
<status status="PASS" starttime="20240410 17:23:23.681" endtime="20240410 17:23:23.681"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${subCategory}==601</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="更新是否赠品数据" library="ActivityResource">
<kw name="Update Value To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${Data}</arg>
<arg>$.freebie</arg>
<arg>false</arg>
<doc>Update value to JSON using JSONPath</doc>
<msg timestamp="20240410 17:23:23.697" level="INFO">${Data} = {'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 2, 'u...</msg>
<status status="PASS" starttime="20240410 17:23:23.681" endtime="20240410 17:23:23.697"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.697" level="INFO">${Data} = {'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 2, 'u...</msg>
<status status="PASS" starttime="20240410 17:23:23.697" endtime="20240410 17:23:23.697"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${Data}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240410 17:23:23.697" level="INFO">{'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 2, 'unitOriginalPrice': 3781.0, 'unitSellingPrice': 0.03, 'productSpecUnit': 101, 'validityPeriodValue': '1', 'freebie': 'false'}</msg>
<status status="PASS" starttime="20240410 17:23:23.697" endtime="20240410 17:23:23.697"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.681" endtime="20240410 17:23:23.697"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.681" endtime="20240410 17:23:23.697"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${activityProductList}</arg>
<arg>${Data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.697" endtime="20240410 17:23:23.697"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${activityProductList}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.697" level="INFO">${activityProductList} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'...</msg>
<status status="PASS" starttime="20240410 17:23:23.697" endtime="20240410 17:23:23.697"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.650" endtime="20240410 17:23:23.697"/>
</iter>
<status status="PASS" starttime="20240410 17:23:23.499" endtime="20240410 17:23:23.697"/>
</for>
<kw name="Create List" library="BuiltIn">
<var>${ActivityDataList}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20240410 17:23:23.697" level="INFO">${ActivityDataList} = []</msg>
<status status="PASS" starttime="20240410 17:23:23.697" endtime="20240410 17:23:23.712"/>
</kw>
<for flavor="IN">
<var>${data}</var>
<value>@{activityProductList}</value>
<iter>
<var name="${data}">{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${freebie}</var>
<arg>${data}</arg>
<arg>freebie</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.712" level="INFO">${freebie} = true</msg>
<status status="PASS" starttime="20240410 17:23:23.712" endtime="20240410 17:23:23.712"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.712" level="INFO">${data} = {'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.712" endtime="20240410 17:23:23.712"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>'${freebie}'=='true'</arg>
<arg>设置赠品时商品价格为0</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="设置赠品时商品价格为0" library="ActivityResource">
<kw name="Update Value To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${Data}</arg>
<arg>$.unitSellingPrice</arg>
<arg>0</arg>
<doc>Update value to JSON using JSONPath</doc>
<msg timestamp="20240410 17:23:23.728" level="INFO">${Data} = {'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.712" endtime="20240410 17:23:23.728"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.729" level="INFO">${Data} = {'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.728" endtime="20240410 17:23:23.729"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${Data}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240410 17:23:23.729" level="INFO">{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status': 2, 'unitOriginalPrice': 2768.0, 'unitSellingPrice': '0', 'productSpecUnit': 102, 'validityPeriodValue': '174', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.729"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.712" endtime="20240410 17:23:23.729"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.712" endtime="20240410 17:23:23.729"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${data}</var>
<arg>demjson.encode(${data},encoding='utf-8').decode()</arg>
<arg>demjson</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240410 17:23:23.729" level="INFO">${data} = {"detailDesc":"学历认证详细描述","freebie":"true","mainCategory":1,"productDesc":"学历认证产品描述","productId":"975071861488619520","productSpecId":"975071861522173952","productSpecUnit":102,"productTitle":"学历认证","s...</msg>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.729"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${ActivityDataList}</arg>
<arg>${data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.729"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.712" endtime="20240410 17:23:23.729"/>
</iter>
<iter>
<var name="${data}">{'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status':...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${freebie}</var>
<arg>${data}</arg>
<arg>freebie</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.729" level="INFO">${freebie} = true</msg>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.729"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.729" level="INFO">${data} = {'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.729"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>'${freebie}'=='true'</arg>
<arg>设置赠品时商品价格为0</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="设置赠品时商品价格为0" library="ActivityResource">
<kw name="Update Value To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${Data}</arg>
<arg>$.unitSellingPrice</arg>
<arg>0</arg>
<doc>Update value to JSON using JSONPath</doc>
<msg timestamp="20240410 17:23:23.748" level="INFO">${Data} = {'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.748"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.749" level="INFO">${Data} = {'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.748" endtime="20240410 17:23:23.749"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${Data}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240410 17:23:23.749" level="INFO">{'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status': 2, 'unitOriginalPrice': 3639.0, 'unitSellingPrice': '0', 'productSpecUnit': 102, 'validityPeriodValue': '131', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.749" endtime="20240410 17:23:23.749"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.750"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.750"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${data}</var>
<arg>demjson.encode(${data},encoding='utf-8').decode()</arg>
<arg>demjson</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240410 17:23:23.751" level="INFO">${data} = {"detailDesc":"头像修改详细描述","freebie":"true","mainCategory":2,"productDesc":"头像修改产品描述","productId":"975071862004518912","productSpecId":"975071862038073344","productSpecUnit":102,"productTitle":"头像修改","s...</msg>
<status status="PASS" starttime="20240410 17:23:23.750" endtime="20240410 17:23:23.751"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${ActivityDataList}</arg>
<arg>${data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.751" endtime="20240410 17:23:23.751"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.729" endtime="20240410 17:23:23.751"/>
</iter>
<iter>
<var name="${data}">{'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'st...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${freebie}</var>
<arg>${data}</arg>
<arg>freebie</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.752" level="INFO">${freebie} = true</msg>
<status status="PASS" starttime="20240410 17:23:23.752" endtime="20240410 17:23:23.752"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.752" level="INFO">${data} = {'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'st...</msg>
<status status="PASS" starttime="20240410 17:23:23.752" endtime="20240410 17:23:23.752"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>'${freebie}'=='true'</arg>
<arg>设置赠品时商品价格为0</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="设置赠品时商品价格为0" library="ActivityResource">
<kw name="Update Value To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${Data}</arg>
<arg>$.unitSellingPrice</arg>
<arg>0</arg>
<doc>Update value to JSON using JSONPath</doc>
<msg timestamp="20240410 17:23:23.767" level="INFO">${Data} = {'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'st...</msg>
<status status="PASS" starttime="20240410 17:23:23.753" endtime="20240410 17:23:23.767"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.768" level="INFO">${Data} = {'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'st...</msg>
<status status="PASS" starttime="20240410 17:23:23.768" endtime="20240410 17:23:23.768"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${Data}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240410 17:23:23.768" level="INFO">{'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'status': 2, 'unitOriginalPrice': 3868.0, 'unitSellingPrice': '0', 'productSpecUnit': 101, 'validityPeriodValue': '30', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.768" endtime="20240410 17:23:23.768"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.753" endtime="20240410 17:23:23.769"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.752" endtime="20240410 17:23:23.769"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${data}</var>
<arg>demjson.encode(${data},encoding='utf-8').decode()</arg>
<arg>demjson</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240410 17:23:23.770" level="INFO">${data} = {"detailDesc":"解锁更多人数详细描述","freebie":"true","mainCategory":3,"productDesc":"解锁更多人数产品描述","productId":"975071862520418304","productSpecId":"975071862553972736","productSpecUnit":101,"productTitle":"解锁更多...</msg>
<status status="PASS" starttime="20240410 17:23:23.769" endtime="20240410 17:23:23.770"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${ActivityDataList}</arg>
<arg>${data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.770" endtime="20240410 17:23:23.770"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.751" endtime="20240410 17:23:23.770"/>
</iter>
<iter>
<var name="${data}">{'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${freebie}</var>
<arg>${data}</arg>
<arg>freebie</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.770" level="INFO">${freebie} = true</msg>
<status status="PASS" starttime="20240410 17:23:23.770" endtime="20240410 17:23:23.770"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.770" level="INFO">${data} = {'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.770" endtime="20240410 17:23:23.770"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>'${freebie}'=='true'</arg>
<arg>设置赠品时商品价格为0</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="设置赠品时商品价格为0" library="ActivityResource">
<kw name="Update Value To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${Data}</arg>
<arg>$.unitSellingPrice</arg>
<arg>0</arg>
<doc>Update value to JSON using JSONPath</doc>
<msg timestamp="20240410 17:23:23.786" level="INFO">${Data} = {'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.770" endtime="20240410 17:23:23.786"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.786" level="INFO">${Data} = {'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':...</msg>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.786"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${Data}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240410 17:23:23.786" level="INFO">{'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status': 2, 'unitOriginalPrice': 3350.0, 'unitSellingPrice': '0', 'productSpecUnit': 102, 'validityPeriodValue': '94', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.786"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.770" endtime="20240410 17:23:23.786"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.770" endtime="20240410 17:23:23.786"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${data}</var>
<arg>demjson.encode(${data},encoding='utf-8').decode()</arg>
<arg>demjson</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240410 17:23:23.786" level="INFO">${data} = {"detailDesc":"高级搜索详细描述","freebie":"true","mainCategory":3,"productDesc":"高级搜索产品描述","productId":"975071863040512000","productSpecId":"975071863078260736","productSpecUnit":102,"productTitle":"高级搜索","s...</msg>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.786"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${ActivityDataList}</arg>
<arg>${data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.786"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.770" endtime="20240410 17:23:23.786"/>
</iter>
<iter>
<var name="${data}">{'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${freebie}</var>
<arg>${data}</arg>
<arg>freebie</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.786" level="INFO">${freebie} = true</msg>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.786"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.786" level="INFO">${data} = {'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu...</msg>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.786"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>'${freebie}'=='true'</arg>
<arg>设置赠品时商品价格为0</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="设置赠品时商品价格为0" library="ActivityResource">
<kw name="Update Value To Json" library="JSONLibrary">
<var>${Data}</var>
<arg>${Data}</arg>
<arg>$.unitSellingPrice</arg>
<arg>0</arg>
<doc>Update value to JSON using JSONPath</doc>
<msg timestamp="20240410 17:23:23.802" level="INFO">${Data} = {'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu...</msg>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.802"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${Data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.802" level="INFO">${Data} = {'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu...</msg>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${Data}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240410 17:23:23.802" level="INFO">{'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'status': 2, 'unitOriginalPrice': 3792.0, 'unitSellingPrice': '0', 'productSpecUnit': 102, 'validityPeriodValue': '250', 'freebie': 'true'}</msg>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.802"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.802"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${data}</var>
<arg>demjson.encode(${data},encoding='utf-8').decode()</arg>
<arg>demjson</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240410 17:23:23.802" level="INFO">${data} = {"detailDesc":"线下约见面详情描述","freebie":"true","mainCategory":4,"productDesc":"线下约见面产品描述","productId":"975071863556411392","productSpecId":"975071863589965824","productSpecUnit":102,"productTitle":"线下约见面"...</msg>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${ActivityDataList}</arg>
<arg>${data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.786" endtime="20240410 17:23:23.802"/>
</iter>
<iter>
<var name="${data}">{'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 2, 'u...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${freebie}</var>
<arg>${data}</arg>
<arg>freebie</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:23.802" level="INFO">${freebie} = false</msg>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${data}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.802" level="INFO">${data} = {'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 2, 'u...</msg>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>'${freebie}'=='true'</arg>
<arg>设置赠品时商品价格为0</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<kw name="Evaluate" library="BuiltIn">
<var>${data}</var>
<arg>demjson.encode(${data},encoding='utf-8').decode()</arg>
<arg>demjson</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<msg timestamp="20240410 17:23:23.802" level="INFO">${data} = {"detailDesc":"会员详情描述","freebie":"false","mainCategory":3,"productDesc":"会员产品描述","productId":"975071864596598784","productSpecId":"975071864630153216","productSpecUnit":101,"productTitle":"会员","status...</msg>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${ActivityDataList}</arg>
<arg>${data}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.802" endtime="20240410 17:23:23.802"/>
</iter>
<status status="PASS" starttime="20240410 17:23:23.712" endtime="20240410 17:23:23.817"/>
</for>
<kw name="Convert To String" library="BuiltIn">
<var>${ActivityDataList}</var>
<arg>${ActivityDataList}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<msg timestamp="20240410 17:23:23.817" level="DEBUG">Argument types are:
&lt;class 'list'&gt;</msg>
<msg timestamp="20240410 17:23:23.817" level="INFO">${ActivityDataList} = ['{"detailDesc":"学历认证详细描述","freebie":"true","mainCategory":1,"productDesc":"学历认证产品描述","productId":"975071861488619520","productSpecId":"975071861522173952","productSpecUnit":102,"productTitle":"学历认证",...</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:23.817"/>
</kw>
<kw name="Replace String Using Regexp" library="String">
<var>${ActivityDataList}</var>
<arg>${ActivityDataList}</arg>
<arg>'{</arg>
<arg>{</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<msg timestamp="20240410 17:23:23.817" level="INFO">${ActivityDataList} = [{"detailDesc":"学历认证详细描述","freebie":"true","mainCategory":1,"productDesc":"学历认证产品描述","productId":"975071861488619520","productSpecId":"975071861522173952","productSpecUnit":102,"productTitle":"学历认证","...</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:23.817"/>
</kw>
<kw name="Replace String Using Regexp" library="String">
<var>${ActivityDataList}</var>
<arg>${ActivityDataList}</arg>
<arg>}'</arg>
<arg>}</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<msg timestamp="20240410 17:23:23.817" level="INFO">${ActivityDataList} = [{"detailDesc":"学历认证详细描述","freebie":"true","mainCategory":1,"productDesc":"学历认证产品描述","productId":"975071861488619520","productSpecId":"975071861522173952","productSpecUnit":102,"productTitle":"学历认证","...</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:23.817"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${ActivityDataList}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240410 17:23:23.817" level="INFO">[{"detailDesc":"学历认证详细描述","freebie":"true","mainCategory":1,"productDesc":"学历认证产品描述","productId":"975071861488619520","productSpecId":"975071861522173952","productSpecUnit":102,"productTitle":"学历认证","status":2,"subCategory":101,"unitOriginalPrice":2768.0,"unitSellingPrice":"0","validityPeriodValue":"174"}, {"detailDesc":"头像修改详细描述","freebie":"true","mainCategory":2,"productDesc":"头像修改产品描述","productId":"975071862004518912","productSpecId":"975071862038073344","productSpecUnit":102,"productTitle":"头像修改","status":2,"subCategory":201,"unitOriginalPrice":3639.0,"unitSellingPrice":"0","validityPeriodValue":"131"}, {"detailDesc":"解锁更多人数详细描述","freebie":"true","mainCategory":3,"productDesc":"解锁更多人数产品描述","productId":"975071862520418304","productSpecId":"975071862553972736","productSpecUnit":101,"productTitle":"解锁更多人数","status":2,"subCategory":301,"unitOriginalPrice":3868.0,"unitSellingPrice":"0","validityPeriodValue":"30"}, {"detailDesc":"高级搜索详细描述","freebie":"true","mainCategory":3,"productDesc":"高级搜索产品描述","productId":"975071863040512000","productSpecId":"975071863078260736","productSpecUnit":102,"productTitle":"高级搜索","status":2,"subCategory":302,"unitOriginalPrice":3350.0,"unitSellingPrice":"0","validityPeriodValue":"94"}, {"detailDesc":"线下约见面详情描述","freebie":"true","mainCategory":4,"productDesc":"线下约见面产品描述","productId":"975071863556411392","productSpecId":"975071863589965824","productSpecUnit":102,"productTitle":"线下约见面","status":2,"subCategory":401,"unitOriginalPrice":3792.0,"unitSellingPrice":"0","validityPeriodValue":"250"}, {"detailDesc":"会员详情描述","freebie":"false","mainCategory":3,"productDesc":"会员产品描述","productId":"975071864596598784","productSpecId":"975071864630153216","productSpecUnit":101,"productTitle":"会员","status":2,"subCategory":601,"unitOriginalPrice":3781.0,"unitSellingPrice":0.03,"validityPeriodValue":"1"}]</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:23.817"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${ActivityDataList}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:23.817" level="INFO">${ActivityDataList} = [{"detailDesc":"学历认证详细描述","freebie":"true","mainCategory":1,"productDesc":"学历认证产品描述","productId":"975071861488619520","productSpecId":"975071861522173952","productSpecUnit":102,"productTitle":"学历认证","...</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:23.817"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.416" endtime="20240410 17:23:23.817"/>
</kw>
<kw name="When 运营创建婚介活动" library="ActivityResource" 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==','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="20240410 17:23:23.817" 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240410 17:23:23.817" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:23.817"/>
</kw>
<kw name="Set Variable" library="BuiltIn">
<var>${data}</var>
<arg>{ \ \ \ \ "activityName":"测试活动", \ \ \ \ "startTime":"2024-04-11 00:00:00", \ \ \ \ "endTime":"2024-04-11 23:59:59", \ \ \ \ "remark":"创建测试活动2024-04-09", \ \ \ \ "activityProductList":${ActivityDataList} }</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<msg timestamp="20240410 17:23:23.817" level="INFO">${data} = { "activityName":"测试活动", "startTime":"2024-04-11 00:00:00", "endTime":"2024-04-11 23:59:59", "remark":"创建测试活动2024-04-09", "activityProductList":[{"detailDesc":"学历认证详细描述","freebie":...</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:23.817"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${data}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20240410 17:23:23.817" level="INFO">{ "activityName":"测试活动", "startTime":"2024-04-11 00:00:00", "endTime":"2024-04-11 23:59:59", "remark":"创建测试活动2024-04-09", "activityProductList":[{"detailDesc":"学历认证详细描述","freebie":"true","mainCategory":1,"productDesc":"学历认证产品描述","productId":"975071861488619520","productSpecId":"975071861522173952","productSpecUnit":102,"productTitle":"学历认证","status":2,"subCategory":101,"unitOriginalPrice":2768.0,"unitSellingPrice":"0","validityPeriodValue":"174"}, {"detailDesc":"头像修改详细描述","freebie":"true","mainCategory":2,"productDesc":"头像修改产品描述","productId":"975071862004518912","productSpecId":"975071862038073344","productSpecUnit":102,"productTitle":"头像修改","status":2,"subCategory":201,"unitOriginalPrice":3639.0,"unitSellingPrice":"0","validityPeriodValue":"131"}, {"detailDesc":"解锁更多人数详细描述","freebie":"true","mainCategory":3,"productDesc":"解锁更多人数产品描述","productId":"975071862520418304","productSpecId":"975071862553972736","productSpecUnit":101,"productTitle":"解锁更多人数","status":2,"subCategory":301,"unitOriginalPrice":3868.0,"unitSellingPrice":"0","validityPeriodValue":"30"}, {"detailDesc":"高级搜索详细描述","freebie":"true","mainCategory":3,"productDesc":"高级搜索产品描述","productId":"975071863040512000","productSpecId":"975071863078260736","productSpecUnit":102,"productTitle":"高级搜索","status":2,"subCategory":302,"unitOriginalPrice":3350.0,"unitSellingPrice":"0","validityPeriodValue":"94"}, {"detailDesc":"线下约见面详情描述","freebie":"true","mainCategory":4,"productDesc":"线下约见面产品描述","productId":"975071863556411392","productSpecId":"975071863589965824","productSpecUnit":102,"productTitle":"线下约见面","status":2,"subCategory":401,"unitOriginalPrice":3792.0,"unitSellingPrice":"0","validityPeriodValue":"250"}, {"detailDesc":"会员详情描述","freebie":"false","mainCategory":3,"productDesc":"会员产品描述","productId":"975071864596598784","productSpecId":"975071864630153216","productSpecUnit":101,"productTitle":"会员","status":2,"subCategory":601,"unitOriginalPrice":3781.0,"unitSellingPrice":0.03,"validityPeriodValue":"1"}] }</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:23.817"/>
</kw>
<kw name="POST On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-mall/user/save/activity</arg>
<arg>${data.encode('utf-8')}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<msg timestamp="20240410 17:23:23.817" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240410 17:23:24.001" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-mall/user/save/activity HTTP/1.1" 200 None</msg>
<msg timestamp="20240410 17:23:24.001" level="INFO">POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/save/activity
path_url=/dating-agency-mall/user/save/activity
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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '2275'}
body=b'{ "activityName":"\xe6\xb5\x8b\xe8\xaf\x95\xe6\xb4\xbb\xe5\x8a\xa8", "startTime":"2024-04-11 00:00:00", "endTime":"2024-04-11 23:59:59", "remark":"\xe5\x88\x9b\xe5\xbb\xba\xe6\xb5\x8b\xe8\xaf\x95\xe6\xb4\xbb\xe5\x8a\xa82024-04-09", "activityProductList":[{"detailDesc":"\xe5\xad\xa6\xe5\x8e\x86\xe8\xae\xa4\xe8\xaf\x81\xe8\xaf\xa6\xe7\xbb\x86\xe6\x8f\x8f\xe8\xbf\xb0","freebie":"true","mainCategory":1,"productDesc":"\xe5\xad\xa6\xe5\x8e\x86\xe8\xae\xa4\xe8\xaf\x81\xe4\xba\xa7\xe5\x93\x81\xe6\x8f\x8f\xe8\xbf\xb0","productId":"975071861488619520","productSpecId":"975071861522173952","productSpecUnit":102,"productTitle":"\xe5\xad\xa6\xe5\x8e\x86\xe8\xae\xa4\xe8\xaf\x81","status":2,"subCategory":101,"unitOriginalPrice":2768.0,"unitSellingPrice":"0","validityPeriodValue":"174"}, {"detailDesc":"\xe5\xa4\xb4\xe5\x83\x8f\xe4\xbf\xae\xe6\x94\xb9\xe8\xaf\xa6\xe7\xbb\x86\xe6\x8f\x8f\xe8\xbf\xb0","freebie":"true","mainCategory":2,"productDesc":"\xe5\xa4\xb4\xe5\x83\x8f\xe4\xbf\xae\xe6\x94\xb9\xe4\xba\xa7\xe5\x93\x81\xe6\x8f\x8f\xe8\xbf\xb0","productId":"975071862004518912","productSpecId":"975071862038073344","productSpecUnit":102,"productTitle":"\xe5\xa4\xb4\xe5\x83\x8f\xe4\xbf\xae\xe6\x94\xb9","status":2,"subCategory":201,"unitOriginalPrice":3639.0,"unitSellingPrice":"0","validityPeriodValue":"131"}, {"detailDesc":"\xe8\xa7\xa3\xe9\x94\x81\xe6\x9b\xb4\xe5\xa4\x9a\xe4\xba\xba\xe6\x95\xb0\xe8\xaf\xa6\xe7\xbb\x86\xe6\x8f\x8f\xe8\xbf\xb0","freebie":"true","mainCategory":3,"productDesc":"\xe8\xa7\xa3\xe9\x94\x81\xe6\x9b\xb4\xe5\xa4\x9a\xe4\xba\xba\xe6\x95\xb0\xe4\xba\xa7\xe5\x93\x81\xe6\x8f\x8f\xe8\xbf\xb0","productId":"975071862520418304","productSpecId":"975071862553972736","productSpecUnit":101,"productTitle":"\xe8\xa7\xa3\xe9\x94\x81\xe6\x9b\xb4\xe5\xa4\x9a\xe4\xba\xba\xe6\x95\xb0","status":2,"subCategory":301,"unitOriginalPrice":3868.0,"unitSellingPrice":"0","validityPeriodValue":"30"}, {"detailDesc":"\xe9\xab\x98\xe7\xba\xa7\xe6\x90\x9c\xe7\xb4\xa2\xe8\xaf\xa6\xe7\xbb\x86\xe6\x8f\x8f\xe8\xbf\xb0","freebie":"true","mainCategory":3,"productDesc":"\xe9\xab\x98\xe7\xba\xa7\xe6\x90\x9c\xe7\xb4\xa2\xe4\xba\xa7\xe5\x93\x81\xe6\x8f\x8f\xe8\xbf\xb0","productId":"975071863040512000","productSpecId":"975071863078260736","productSpecUnit":102,"productTitle":"\xe9\xab\x98\xe7\xba\xa7\xe6\x90\x9c\xe7\xb4\xa2","status":2,"subCategory":302,"unitOriginalPrice":3350.0,"unitSellingPrice":"0","validityPeriodValue":"94"}, {"detailDesc":"\xe7\xba\xbf\xe4\xb8\x8b\xe7\xba\xa6\xe8\xa7\x81\xe9\x9d\xa2\xe8\xaf\xa6\xe6\x83\x85\xe6\x8f\x8f\xe8\xbf\xb0","freebie":"true","mainCategory":4,"productDesc":"\xe7\xba\xbf\xe4\xb8\x8b\xe7\xba\xa6\xe8\xa7\x81\xe9\x9d\xa2\xe4\xba\xa7\xe5\x93\x81\xe6\x8f\x8f\xe8\xbf\xb0","productId":"975071863556411392","productSpecId":"975071863589965824","productSpecUnit":102,"productTitle":"\xe7\xba\xbf\xe4\xb8\x8b\xe7\xba\xa6\xe8\xa7\x81\xe9\x9d\xa2","status":2,"subCategory":401,"unitOriginalPrice":3792.0,"unitSellingPrice":"0","validityPeriodValue":"250"}, {"detailDesc":"\xe4\xbc\x9a\xe5\x91\x98\xe8\xaf\xa6\xe6\x83\x85\xe6\x8f\x8f\xe8\xbf\xb0","freebie":"false","mainCategory":3,"productDesc":"\xe4\xbc\x9a\xe5\x91\x98\xe4\xba\xa7\xe5\x93\x81\xe6\x8f\x8f\xe8\xbf\xb0","productId":"975071864596598784","productSpecId":"975071864630153216","productSpecUnit":101,"productTitle":"\xe4\xbc\x9a\xe5\x91\x98","status":2,"subCategory":601,"unitOriginalPrice":3781.0,"unitSellingPrice":0.03,"validityPeriodValue":"1"}] }'
</msg>
<msg timestamp="20240410 17:23:24.001" level="INFO">POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/save/activity
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 10 Apr 2024 09:23:29 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":"975488337139863552"}
</msg>
<msg timestamp="20240410 17:23:24.001" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:24.001"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${id}</var>
<arg>${reps.json()}</arg>
<arg>data</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:24.001" level="INFO">${id} = 975488337139863552</msg>
<status status="PASS" starttime="20240410 17:23:24.001" endtime="20240410 17:23:24.001"/>
</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="20240410 17:23:24.001" level="INFO">${message} = successful</msg>
<status status="PASS" starttime="20240410 17:23:24.001" endtime="20240410 17:23:24.001"/>
</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="20240410 17:23:24.001" level="DEBUG">Argument types are:
&lt;class 'str'&gt;
&lt;class 'str'&gt;</msg>
<status status="PASS" starttime="20240410 17:23:24.001" endtime="20240410 17:23:24.001"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:24.001"/>
</iter>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:24.001"/>
</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="20240410 17:23:24.001" level="INFO">${id} = 975488337139863552</msg>
<status status="PASS" starttime="20240410 17:23:24.001" endtime="20240410 17:23:24.001"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.817" endtime="20240410 17:23:24.001"/>
</kw>
<kw name="Then 查询婚介平台活动列表" library="ActivityResource" 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==','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="20240410 17:23:24.018" 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/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<msg timestamp="20240410 17:23:24.018" level="DEBUG">Creating session: dating</msg>
<status status="PASS" starttime="20240410 17:23:24.017" endtime="20240410 17:23:24.018"/>
</kw>
<kw name="GET On Session" library="RequestsLibrary">
<var>${reps}</var>
<arg>dating</arg>
<arg>dating-agency-mall/user/get/activity/by/operator/page</arg>
<arg>params=pageSize=10&amp;pageNum=1</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<msg timestamp="20240410 17:23:24.018" level="DEBUG">Starting new HTTP connection (1): dating-agency-api-test.qniao.cn</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/get/activity/by/operator/page?pageSize=10&amp;pageNum=1 HTTP/1.1" 200 None</msg>
<msg timestamp="20240410 17:23:24.064" level="INFO">GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/get/activity/by/operator/page?pageSize=10&amp;pageNum=1
path_url=/dating-agency-mall/user/get/activity/by/operator/page?pageSize=10&amp;pageNum=1
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk3kIWjvlUaO9uD9fWwWBv8XrO/MECVrZPMJVWMoOS/KXQ==', 'X-Organization-Id': '963432943739605555'}
body=None
</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">windows-1251 Russian confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">KOI8-R Russian confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">ISO-8859-5 Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">MacCyrillic Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">IBM866 Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">IBM855 Russian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">ISO-8859-7 Greek confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">windows-1253 Greek confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">ISO-8859-5 Bulgairan confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">windows-1251 Bulgarian confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">TIS-620 Thai confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">ISO-8859-9 Turkish confidence = 0.4646627784299734</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">windows-1255 Hebrew confidence = 0.0</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">utf-8 confidence = 0.99</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">SHIFT_JIS Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">EUC-JP Japanese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">GB2312 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">EUC-KR Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">CP949 Korean confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">Big5 Chinese confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="DEBUG">EUC-TW Taiwan confidence = 0.01</msg>
<msg timestamp="20240410 17:23:24.064" level="INFO">GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/get/activity/by/operator/page?pageSize=10&amp;pageNum=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 10 Apr 2024 09:23:29 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"id":"975450147137916928","isDelete":false,"createTime":[2024,4,10,14,51,44],"updateTime":[2024,4,10,14,51,44],"event":null,"activityName":"会员","remark":"创建会员活动","startTime":"2024-04-10 00:00:00","endTime":"2024-04-10 23:59:59","status":1,"activityProductList":null,"activeState":1},{"id":"975478390410842112","isDelete":false,"createTime":[2024,4,10,16,43,57],"updateTime":[2024,4,10,16,43,57],"event":null,"activityName":"测试活动","remark":"创建测试活动2024-04-09","startTime":"2024-04-11 00:00:00","endTime":"2024-04-11 23:59:59","status":1,"activityProductList":null,"activeState":0},{"id":"975488337139863552","isDelete":false,"createTime":[2024,4,10,17,23,29],"updateTime":[2024,4,10,17,23,29],"event":null,"activityName":"测试活动","remark":"创建测试活动2024-04-09","startTime":"2024-04-11 00:00:00","endTime":"2024-04-11 23:59:59","status":1,"activityProductList":null,"activeState":0}],"total":3,"size":10,"current":1,"pages":1}}
</msg>
<msg timestamp="20240410 17:23:24.064" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20240410 17:23:24.018" endtime="20240410 17:23:24.064"/>
</kw>
<kw name="Get From Dictionary" library="Collections">
<var>${activityData}</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="20240410 17:23:24.064" level="INFO">${activityData} = [{'id': '975450147137916928', 'isDelete': False, 'createTime': [2024, 4, 10, 14, 51, 44], 'updateTime': [2024, 4, 10, 14, 51, 44], 'event': None, 'activityName': '会员', 'remark': '创建会员活动', 'startTime':...</msg>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.064"/>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<arg>${activityData}</arg>
<doc>Makes a variable available globally in all tests and suites.</doc>
<msg timestamp="20240410 17:23:24.064" level="INFO">${activityData} = [{'id': '975450147137916928', 'isDelete': False, 'createTime': [2024, 4, 10, 14, 51, 44], 'updateTime': [2024, 4, 10, 14, 51, 44], 'event': None, 'activityName': '会员', 'remark': '创建会员活动', 'startTime':...</msg>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.064"/>
</kw>
<kw name="遍历活动列表" library="ActivityResource">
<for flavor="IN">
<var>${activity}</var>
<value>@{activityData}</value>
<iter>
<var name="${activity}">{'id': '975450147137916928', 'isDelete': False, 'createTime': [2024, 4, 10, 14, 51, 44], 'updateTime': [2024, 4, 10, 14, 51, 44], 'event': None, 'activityName': '会员', 'remark': '创建会员活动', 'startTime': ...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${activityId}</var>
<arg>${activity}</arg>
<arg>id</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:24.064" level="INFO">${activityId} = 975450147137916928</msg>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.064"/>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<arg>${activityId}==${id}</arg>
<doc>Stops executing the enclosing FOR loop if the ``condition`` is true.</doc>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.064"/>
</kw>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.064"/>
</iter>
<iter>
<var name="${activity}">{'id': '975478390410842112', 'isDelete': False, 'createTime': [2024, 4, 10, 16, 43, 57], 'updateTime': [2024, 4, 10, 16, 43, 57], 'event': None, 'activityName': '测试活动', 'remark': '创建测试活动2024-04-09', '...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${activityId}</var>
<arg>${activity}</arg>
<arg>id</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:24.064" level="INFO">${activityId} = 975478390410842112</msg>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.064"/>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<arg>${activityId}==${id}</arg>
<doc>Stops executing the enclosing FOR loop if the ``condition`` is true.</doc>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.064"/>
</kw>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.064"/>
</iter>
<iter>
<var name="${activity}">{'id': '975488337139863552', 'isDelete': False, 'createTime': [2024, 4, 10, 17, 23, 29], 'updateTime': [2024, 4, 10, 17, 23, 29], 'event': None, 'activityName': '测试活动', 'remark': '创建测试活动2024-04-09', '...</var>
<kw name="Get From Dictionary" library="Collections">
<var>${activityId}</var>
<arg>${activity}</arg>
<arg>id</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<msg timestamp="20240410 17:23:24.080" level="INFO">${activityId} = 975488337139863552</msg>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.080"/>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<arg>${activityId}==${id}</arg>
<doc>Stops executing the enclosing FOR loop if the ``condition`` is true.</doc>
<msg timestamp="20240410 17:23:24.081" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20240410 17:23:24.080" endtime="20240410 17:23:24.081"/>
</kw>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.081"/>
</iter>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.081"/>
</for>
<status status="PASS" starttime="20240410 17:23:24.064" endtime="20240410 17:23:24.081"/>
</kw>
<status status="PASS" starttime="20240410 17:23:24.017" endtime="20240410 17:23:24.081"/>
</iter>
<status status="PASS" starttime="20240410 17:23:24.017" endtime="20240410 17:23:24.081"/>
</for>
<status status="PASS" starttime="20240410 17:23:24.001" endtime="20240410 17:23:24.081"/>
</kw>
<status status="PASS" starttime="20240410 17:23:23.416" endtime="20240410 17:23:24.081"/>
</test>
<status status="PASS" starttime="20240410 17:23:23.218" endtime="20240410 17:23:24.081"/>
</suite>
<status status="PASS" starttime="20240410 17:23:23.218" endtime="20240410 17:23:24.081"/>
</suite>
<status status="PASS" starttime="20240410 17:23:23.218" endtime="20240410 17:23:24.081"/>
</suite>
<status status="PASS" starttime="20240410 17:23:22.701" endtime="20240410 17:23:24.081"/>
</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="Activity">Dating-agency.2-Web.Mall.Activity</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>