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_Intercept_Http_Tests.robot

25 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-07-06 10:31:24 +08:00
*** 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-Http-00001
Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Intercept_HTTP_00001.bat
... ELSE set variable curl http://www.mydrivers.com/
${stringlist} run keyword if '${systemType}'=='Windows' Create List 硬件发烧友
... ELSE Create List 硬件发烧友
${rescode} SystemCommands ${commandstr} ${stringlist}
SecurityPolicy-Intercept-Http-00002
Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Intercept_HTTP_00002.bat
... ELSE set variable curl http://nerdacy.com/
${stringlist} run keyword if '${systemType}'=='Windows' Create List HOW TO CHOOSE BOOKSHELF SPEAKERS
... ELSE Create List HOW TO CHOOSE BOOKSHELF SPEAKERS
2020-07-06 10:31:24 +08:00
${rescode} SystemCommands ${commandstr} ${stringlist}