diff --git a/01-TestCase/tsg_adc/multi_step/b_Deny_Quic_Tests.robot b/01-TestCase/tsg_adc/multi_step/b_Deny_Quic_Tests.robot new file mode 100644 index 0000000..3acd961 --- /dev/null +++ b/01-TestCase/tsg_adc/multi_step/b_Deny_Quic_Tests.robot @@ -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}