This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dongxiaoyan-tsg-autotest/01-TestCase/tsg_adc/multi_step/b_Dnat_Tests.robot
2020-08-11 19:15:25 +08:00

41 lines
2.2 KiB
Plaintext

*** 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 ***
wan_nat-dnat-00001
Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/wan_nat_dant_00001.bat
... ELSE set variable curl 219.157.114.43
${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}