313 lines
21 KiB
Plaintext
313 lines
21 KiB
Plaintext
|
|
*** Settings ***
|
||
|
|
Force Tags tsg_adc_wp proxy_policy adc_verify
|
||
|
|
Library OperatingSystem
|
||
|
|
Resource ../../../02-Keyword/tsg_adc/SystemCommand.robot
|
||
|
|
Resource ../../../02-Keyword/tsg_bfapi/PolicyObject.robot
|
||
|
|
Resource ../../../02-Keyword/tsg_bfapi/LogVariable.robot
|
||
|
|
Resource ../../../02-Keyword/tsg_adc/FileOperation.robot
|
||
|
|
|
||
|
|
*** Test Cases ***
|
||
|
|
Proxy-Policy-deny-00001
|
||
|
|
[Tags] fqdn
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00001.bat
|
||
|
|
... ELSE set variable curl -kv \ https://newsela.com/about/content/
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 重新开始 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 重新开始 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime ${starttime} deny_endtime ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00002
|
||
|
|
[Tags] cat
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00002.bat
|
||
|
|
... ELSE set variable curl -kv \ https://mathoverflow.net/questions
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable Tango Secure Gateway CA
|
||
|
|
... ELSE Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime1 ${starttime} deny_endtime1 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00003
|
||
|
|
[Tags] url
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00003.bat
|
||
|
|
... ELSE set variable curl -kv \ https://www.wmtransfer.com/eng/business/accept-payments/online-shop/widget.shtml
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime2 ${starttime} deny_endtime2 ${endtime}
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00003_1.bat
|
||
|
|
... ELSE set variable curl -kv \ https://www.verifone.com/ru/ru/o-verifone
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime3 ${starttime} deny_endtime3 ${endtime}
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00003_2.bat
|
||
|
|
... ELSE set variable curl -kv \ https://www.bcg.com/ru-ru/capabilities/client-enablement/default.aspx
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime4 ${starttime} deny_endtime4 ${endtime}
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00003_3.bat
|
||
|
|
... ELSE set variable curl -kv \ https://www.rolandberger.com/ru/?country=RU
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime5 ${starttime} deny_endtime5 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00004
|
||
|
|
[Tags] 请求头
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00004.bat
|
||
|
|
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'https://www.baidu.com/' https://www.nielsen.com/ru/ru/insights/
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List qwertyuiop Tango Secure Gateway CA
|
||
|
|
... ELSE Create List qwertyuiop Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime6 ${starttime} deny_endtime6 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00005
|
||
|
|
[Tags] 请求头
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00005.bat
|
||
|
|
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/31.0.1650.63 Safari/537.36" --referer 'https://www.baidu.com/' https://www.thecolor.com/popularcoloringpages.aspx
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List онлайн фильмы Tango Secure Gateway CA
|
||
|
|
... ELSE Create List онлайн фильмы Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime7 ${starttime} deny_endtime7 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00006
|
||
|
|
[Tags] 请求头
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00006.bat
|
||
|
|
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'https://www.baidu.com/' https://sciencebob.com/category/experiments/
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 明天大涨 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 明天大涨 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime8 ${starttime} deny_endtime8 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00007
|
||
|
|
[Tags] 请求头
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00007.bat
|
||
|
|
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'https://www.baidu.com/' https://www.europages.com.ru/ezhegodnik-predpriyatiya.html
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 今天中奖 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 今天中奖 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime9 ${starttime} deny_endtime9 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00008
|
||
|
|
[Tags] 应答头
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00008.bat
|
||
|
|
... ELSE set variable curl http://www.6renyou.com/user_comment/index
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用
|
||
|
|
... ELSE Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime10 ${starttime} deny_endtime10 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00009
|
||
|
|
[Tags] 应答头
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00009.bat
|
||
|
|
... ELSE set variable curl http://www.ljale.com/home/webdir.html
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用
|
||
|
|
... ELSE Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime11 ${starttime} deny_endtime11 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00010
|
||
|
|
[Tags] 应答头
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00010.bat
|
||
|
|
... ELSE set variable curl http://www.duckduckmoose.com/learn/
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable
|
||
|
|
... ELSE Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime12 ${starttime} deny_endtime12 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00011
|
||
|
|
[Tags] 应答头
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00011.bat
|
||
|
|
... ELSE set variable curl http://tutcandy.com/2009/04/ai-sketch-to-vector-tutorial
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable
|
||
|
|
... ELSE Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime13 ${starttime} deny_endtime13 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00012
|
||
|
|
[Tags] cookie
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00012.bat
|
||
|
|
... ELSE set variable curl -kv --cookie "lQfQ_2132_saltkey=t8WY1oPe; lQfQ_2132_lastvisit=1595381790; lQfQ_2132_sid=vqXOg6; lQfQ_2132_lastact=1595385400%09forum.php%09image" --referer 'https://www.baidu.com/' \ https://www.youqulu.com/category/zixun
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 123456789 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 123456789 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime14 ${starttime} deny_endtime14 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00013
|
||
|
|
[Tags] set-cookie
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00013.bat
|
||
|
|
... ELSE set variable curl -kv \ https://www.nypl.org/books-music-movies
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 一直相信 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 一直相信 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime15 ${starttime} deny_endtime15 ${endtime}
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00013_1.bat
|
||
|
|
... ELSE set variable curl -kv \ https://www.webpronews.com/subscribe/
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 一直相信 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 一直相信 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime16 ${starttime} deny_endtime16 ${endtime}
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00013_2.bat
|
||
|
|
... ELSE set variable curl -kv \ https://bj.zu.ke.com/zufang
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 一直相信 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 一直相信 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime17 ${starttime} deny_endtime17 ${endtime}
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00013_3.bat
|
||
|
|
... ELSE set variable curl -kv \ https://nationalbank.kz/?&switch=kazakh
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 一直相信 Tango Secure Gateway CA
|
||
|
|
... ELSE Create List 一直相信 Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime18 ${starttime} deny_endtime18 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00014
|
||
|
|
[Tags] 请求体
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00014.bat
|
||
|
|
... ELSE set variable curl -H "Content-Type:application/x-www-form-urlencoded" -X POST -d "reqBody=1234567&setCookie=12345678&contentType=content-type&resBody=Response Body" https://open.node.com/action
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset Tango Secure Gateway CA
|
||
|
|
... ELSE Create List Connection reset by peer Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime19 ${starttime} deny_endtime19 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00015
|
||
|
|
[Tags] 应答体
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00015.bat
|
||
|
|
... ELSE set variable curl -H "Content-Type:application/x-www-form-urlencoded" -X POST -d "reqBody=lkjh&setCookie=12345678&contentType=content-type&resBody=ASDFG" https://open.node.com/action
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset Tango Secure Gateway CA
|
||
|
|
... ELSE &setCookie=12345678&contentType=content-type&resBody=Response Body" https://open.node.com/action Connection reset by peer Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime20 ${starttime} deny_endtime20 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00016
|
||
|
|
[Tags] 最大组合1
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00016.bat
|
||
|
|
... ELSE set variable curl -H "Content-Type:application/x-www-form-urlencoded" -X POST -d "reqBody=mnbv&setCookie=12345678&contentType=content-type&resBody=Response Body" -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'https://www.baidu.com/' https://open.node.com/action
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset Tango Secure Gateway CA
|
||
|
|
... ELSE Create List Connection reset by peer Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime21 ${starttime} deny_endtime21 ${endtime}
|
||
|
|
|
||
|
|
Proxy-Policy-deny-00017
|
||
|
|
[Tags] 最大组合2
|
||
|
|
Comment 功能端验证HTTP验证
|
||
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00017.bat
|
||
|
|
... ELSE set variable curl -kv --cookie "test%20cookie=null; timezoneoffset=-480; ASP.NET_SessionId=sta2b3gxpxzqei3by1ka3qsa; visid_incap_1010467=Iu/pLzeoTnGn2VDjWdP9GpoBGF8AAAAAQUIPAAAAAADzSLZtZ1tZ/Rbjfct3Nq69" --referer 'https://www.baidu.com/' \ https://https://www.umusicpub.com/au/
|
||
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset Tango Secure Gateway CA
|
||
|
|
... ELSE Create List Connection reset by peer Tango Secure Gateway CA
|
||
|
|
${starttime} Get Time
|
||
|
|
Sleep ${policyVerificationSleepSeconds}s
|
||
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||
|
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||
|
|
${endtime} Get Time
|
||
|
|
insert_time_to_file1 deny_starttime22 ${starttime} deny_endtime22 ${endtime}
|