59 lines
3.8 KiB
Plaintext
59 lines
3.8 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-Deny-Ssl-00001
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00001.bat
|
|
... ELSE set variable curl https://www.freestockimages.ru/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
|
... ELSE Create List Connection reset by peer
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00001_1.bat
|
|
... ELSE set variable curl \ \ \ https://www.cxwl.com/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
|
... ELSE Create List Connection reset by peer
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
SecurityPolicy-Deny-Ssl-00002
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00002.bat
|
|
... ELSE set variable curl https://www.berkeleygroup.co.uk/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
|
... ELSE Create List Connection reset by peer
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00002_2.bat
|
|
... ELSE set variable curl https://www.vip.com/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
|
... ELSE Create List Connection reset by peer
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
SecurityPolicy-Deny-Ssl-00003
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00003.bat
|
|
... ELSE set variable curl https://www.nastol.com.ua/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
|
... ELSE Create List Connection reset by peer
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00003_3.bat
|
|
... ELSE set variable curl https://www.pulitzer.org/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
|
... ELSE Create List Connection reset by peer
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
|
|
|
SecurityPolicy-Deny-Ssl-00004
|
|
Comment 功能端验证HTTP验证
|
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00004.bat
|
|
... ELSE set variable curl https://www.prlib.ru/
|
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Operation timed out
|
|
... ELSE Create List Connection reset by peer
|
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|