由于环境问题,未进行功能验证
This commit is contained in:
58
01-TestCase/tsg_adc/multi_step/b_Deny_Quic_Tests.robot
Normal file
58
01-TestCase/tsg_adc/multi_step/b_Deny_Quic_Tests.robot
Normal file
@@ -0,0 +1,58 @@
|
||||
*** 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-quic-00001
|
||||
[Tags] fqdn
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_QUIC_00001.bat
|
||||
... ELSE set variable curl https://undergroundhealthreporter.com/
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Subscribe
|
||||
... ELSE Create List Subscribe
|
||||
${starttime} Get Time
|
||||
Sleep ${policyVerificationSleepSeconds}s
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Sleep ${policyLogVerificationSleepSeconds}s
|
||||
${endtime} Get Time
|
||||
insert_time_to_file1 deny_quic_starttime ${starttime} deny_quic_endtime ${endtime}
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_QUIC_00001_1.bat
|
||||
... ELSE set variable curl https://wordcrow.com/
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List WordCrowd
|
||||
... ELSE Create List WordCrowd
|
||||
${starttime} Get Time
|
||||
Sleep ${policyVerificationSleepSeconds}s
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Sleep ${policyLogVerificationSleepSeconds}s
|
||||
${endtime} Get Time
|
||||
insert_time_to_file1 deny_quic_starttime1 ${starttime} deny_quic_endtime1 ${endtime}
|
||||
|
||||
SecurityPolicy-Deny-quic-00002
|
||||
[Tags] cat
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_QUIC_00002.bat
|
||||
... ELSE set variable curl https://www.lousycv.com/
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List LousyCV
|
||||
... ELSE Create List LousyCV
|
||||
${starttime} Get Time
|
||||
Sleep ${policyVerificationSleepSeconds}s
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Sleep ${policyLogVerificationSleepSeconds}s
|
||||
${endtime} Get Time
|
||||
insert_time_to_file1 deny_quic_starttime2 ${starttime} deny_quic_endtime2 ${endtime}
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_QUIC_00002_2.bat
|
||||
... ELSE set variable curl https://stylewithshannon.com/
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Blogs
|
||||
... ELSE Create List Blogs
|
||||
${starttime} Get Time
|
||||
Sleep ${policyVerificationSleepSeconds}s
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Sleep ${policyLogVerificationSleepSeconds}s
|
||||
${endtime} Get Time
|
||||
insert_time_to_file1 deny_quic_starttime3 ${starttime} deny_quic_endtime3 ${endtime}
|
||||
Reference in New Issue
Block a user