*** Settings *** Test Teardown DeletePolicyAndObject ${policyIds} ${objectids} Force Tags tsg_adc_wp adc_log security_policy Library OperatingSystem Resource ../../../02-Keyword/tsg_adc/SystemCommand.robot Resource ../../../02-Keyword/tsg_bfapi/PolicyObject.robot Resource ../../../02-Keyword/tsg_bfapi/LogVariable.robot Resource ../../../05-Other/AllFlowCaseVariable.txt Resource ../../../02-Keyword/tsg_adc/FileOperation.robot Resource ../../../05-Other/AllFlowCaseVariable1.txt *** Variables *** ${policyIds} ${EMPTY} ${objectids} ${EMPTY} *** Test Cases *** SecurityPolicy-Intercept-Ssl-00001 #删除对象 ${objectids} set Variable ${intercept_ssl_objectId} ${objectids} Catenate SEPARATOR=, ${objectids} ${intercept_ssl_objectId2} ${objectids} Catenate SEPARATOR=, ${objectids} ${intercept_ssl_objectId4} ${objectids} Catenate SEPARATOR=, ${objectids} ${intercept_ssl_objectId5} #删除策略 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${intercept_ssl_policyId}]} ${s} Convert to String ${intercept_ssl_policyId} GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ssl_sni www.reviewpro.com SecurityPolicy-Intercept-Ssl-00002 #删除对象 ${objectids} set Variable ${EMPTY} #删除策略 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${intercept_ssl_policyId1}]} ${s} Convert to String ${intercept_ssl_policyId1} GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ssl_sni fenopy.se SecurityPolicy-Intercept-Ssl-00003 #删除对象 ${objectids} set Variable ${intercept_ssl_objectId1} ${objectids} Catenate SEPARATOR=, ${objectids} ${intercept_ssl_objectId3} #删除策略 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${intercept_ssl_policyId2}]} ${s} Convert to String ${intercept_ssl_policyId2} GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ssl_sni xs8 SecurityPolicy-Intercept-Ssl-00004 #删除对象 ${objectids} set Variable ${EMPTY} ${objectids} Catenate SEPARATOR=, ${objectids} ${intercept_ssl_objectId6} #删除策略 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${intercept_ssl_policyId3}]} ${s} Convert to String ${intercept_ssl_policyId3} GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ssl_sni worldweapon.info