41 lines
2.5 KiB
Plaintext
41 lines
2.5 KiB
Plaintext
*** Settings ***
|
|
Force Tags tsg_adc_wp security_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 ***
|
|
SecurityPolicy-Intercept-Ssl-00001
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Intercept_SSL_00001.bat
|
|
... ELSE set variable curl -kv https://www.reviewpro.com/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List reviewpro Tango Secure Gateway CA
|
|
... ELSE Create List reviewpro Tango Secure Gateway CA
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
SecurityPolicy-Intercept-Ssl-00002
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Intercept_SSL_00002.bat
|
|
... ELSE set variable curl -kv https://fenopy.se/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Fenopy Tango Secure Gateway CA
|
|
... ELSE Create List Fenopy Tango Secure Gateway CA
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
SecurityPolicy-Intercept-Http-00003
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Intercept_SSL_00002_2.bat
|
|
... ELSE set variable curl -kv https://www.xs8.cn/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 言情小说吧 CA TRUST
|
|
... ELSE Create List Book
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
SecurityPolicy-Intercept-Ssl-00004
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Intercept_SSL_00002_3.bat
|
|
... ELSE set variable curl -kv https://worldweapon.info/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Энциклопедия CA TRUST
|
|
... ELSE Create List Camp Chippewa for Boys CA TRUST
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|