allow添加120策略
This commit is contained in:
39
01-TestCase/tsg_adc/Wan_Nat/b_Dnat_Tests.robot
Normal file
39
01-TestCase/tsg_adc/Wan_Nat/b_Dnat_Tests.robot
Normal file
@@ -0,0 +1,39 @@
|
||||
*** Settings ***
|
||||
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
|
||||
Library Custometest
|
||||
|
||||
*** Test Cases ***
|
||||
wan_nat-dnat-00001
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/wan_nat_dant_00001.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Welcome to nginx HTTP!
|
||||
... ELSE Create List Welcome to nginx HTTP!
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
|
||||
wan_nat-dnat-00002
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/wan_nat_dant_00002.bat
|
||||
... ELSE set variable curl 220.194.214.86
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Welcome to nginx HTTP!
|
||||
... ELSE Create List Welcome to nginx HTTP!
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
|
||||
wan_nat-dnat-00003
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/wan_nat_dant_00003.bat
|
||||
... ELSE set variable curl 182.92.25.74
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Welcome to nginx HTTP!
|
||||
... ELSE Create List Welcome to nginx HTTP!
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
|
||||
wan_nat-dnat-00004
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/wan_nat_dant_00004.bat
|
||||
... ELSE set variable curl 112.81.159.16
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Welcome to nginx HTTP!
|
||||
... ELSE Create List Welcome to nginx HTTP!
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Reference in New Issue
Block a user