*** 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 [Tags] fqdn 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 硬件发烧友 ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} Sleep ${policyLogVerificationSleepSeconds}s ${endtime} Get Time insert_time_to_file1 intercept_http_starttime ${starttime} intercept_http_endtime ${endtime} SecurityPolicy-Intercept-Http-00002 [Tags] cat Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Intercept_HTTP_00002.bat ... ELSE set variable curl http://sunnylands.org/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List history ... ELSE Create List history ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} Sleep ${policyLogVerificationSleepSeconds}s ${endtime} Get Time insert_time_to_file1 intercept_http_starttime1 ${starttime} intercept_http_endtime1 ${endtime}