41 lines
2.2 KiB
Plaintext
41 lines
2.2 KiB
Plaintext
*** Settings ***
|
|
Documentation b_Dnat_Tests需和b_Dnat_Tests_1同时执行
|
|
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}
|