2020-07-29 20:20:03 +08:00
|
|
|
*** 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-insert-00001
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00001.bat
|
|
|
|
|
... ELSE set variable curl -kv https://www.costcotravel.com/Vacation-Packages
|
2020-08-06 18:39:36 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00002
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00002.bat
|
|
|
|
|
... ELSE set variable curl -kv https://secure.cruisingpower.com/public/registration/choose.do
|
2020-08-27 11:41:27 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Access Denied Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List Access Denied Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00003
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00003.bat
|
|
|
|
|
... ELSE set variable curl -kv https://uncorneredmarket.com/work-with-us/tourism-strategy/
|
2020-08-27 11:41:27 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Close Search Bar Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List Close Search Bar Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00003_1.bat
|
|
|
|
|
... ELSE set variable curl -kv https://www.alltrails.com/signup?ref=header
|
2020-08-27 11:41:27 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List LanguageMenuDropdown Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List LanguageMenuDropdown Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00003_2.bat
|
|
|
|
|
... ELSE set variable curl -kv https://www.atlasobscura.com/experiences
|
2020-08-27 11:41:27 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Get the Atlas Obscura book Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List Get the Atlas Obscura book Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00003_3.bat
|
|
|
|
|
... ELSE set variable curl -kv https://www.anguilla-beaches.com/anguilla-villas.html
|
2020-08-27 11:41:27 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List anguilla-beaches Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List anguilla-beaches Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00004
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_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.viator.com/login?login_redirect=%2Faccount%2Fbookings
|
2020-08-27 11:41:27 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List select_language Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List select_language Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00005
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00005.bat
|
2020-08-27 11:41:27 +08:00
|
|
|
... ELSE set variable curl -kv -L --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://matadornetwork.com/destinations/north-america/united-states/
|
|
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Roboto Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List Roboto Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00006
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_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://www.farecompare.com/hotels/
|
2020-08-27 11:41:27 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List farecompare Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List farecompare Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00007
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_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.tripit.com/web
|
2020-08-27 11:41:27 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Supported Booking Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List Supported Booking Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00008
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00008.bat
|
2020-08-10 19:07:01 +08:00
|
|
|
... ELSE set variable curl -kv http://www.waikikibeachwalk.com/Shops.htm
|
2020-08-06 18:39:36 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe
|
|
|
|
|
... ELSE Create List X-TG-Construct-By: tfe
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00009
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00009.bat
|
2020-08-10 19:07:01 +08:00
|
|
|
... ELSE set variable curl -kv \ http://www.world-guides.com/north-america/usa/nevada/las-vegas/
|
2020-08-06 18:39:36 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe
|
|
|
|
|
... ELSE Create List X-TG-Construct-By: tfe
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00010
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00010.bat
|
2020-08-10 19:07:01 +08:00
|
|
|
... ELSE set variable curl -kv http://news.cnstock.com/kcb
|
2020-08-06 18:39:36 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe
|
|
|
|
|
... ELSE Create List X-TG-Construct-By: tfe
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00011
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00011.bat
|
2020-08-10 19:07:01 +08:00
|
|
|
... ELSE set variable curl -kv http://otc.newone.com.cn/cwyw
|
2020-08-06 18:39:36 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe
|
|
|
|
|
... ELSE Create List X-TG-Construct-By: tfe
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00012
|
|
|
|
|
Comment 功能端验证HTTP验证
|
|
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00012.bat
|
2020-08-27 11:41:27 +08:00
|
|
|
... 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://petapixel.com/topic/equipment/
|
|
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List petapixel Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List petapixel Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
|
|
|
|
|
|
Proxy-Policy-insert-00013
|
|
|
|
|
Comment 功能端验证HTTP验证
|
2020-08-27 11:41:27 +08:00
|
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00014.bat
|
2020-07-29 20:20:03 +08:00
|
|
|
... 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" \ --cookie "__cfduid=d5c21129d57e7124b729fd86dc82abdcd1596020306; __stripe_sid=2940d4d5-6822-4daf-8b38-9cd18d745beb; __stripe_mid=dd118cd8-845c-4b6e-98ce-81e8d5bdd52c" --referer 'https://www.baidu.com/' \ https://www.intervalworld.com/web/my/home
|
2020-08-06 18:39:36 +08:00
|
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA
|
|
|
|
|
... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA
|
2020-07-29 20:20:03 +08:00
|
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|