TSG-2827修改时间,通过效率,修改标签,用例描述更加准确

This commit is contained in:
jwc
2020-08-10 19:07:01 +08:00
parent 17e4deab39
commit 7afa152d2a
85 changed files with 684 additions and 2319 deletions

View File

@@ -15,145 +15,130 @@ ${objectids} ${EMPTY}
*** Test Cases ***
SecurityPolicy-Deny-Mail-00001
[Tags] content
#删除对象
${objectids} set Variable ${deny_mail_objectId}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId}]}
${s} Convert to String ${deny_mail_policyId}
GetLogList security_event_log ${deny_mail_starttime} ${deny_mail_endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00002
[Tags] att_cont
#删除对象
${objectids} set Variable ${deny_mail_objectId1}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId1}]}
${s} Convert to String ${deny_mail_policyId1}
GetLogList security_event_log ${deny_mail_starttime1} ${deny_mail_endtime1} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00003
[Tags] subject from
#删除对象
${objectids} set Variable ${deny_mail_objectId2}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId3}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId2}]}
${s} Convert to String ${deny_mail_policyId2}
GetLogList security_event_log ${deny_mail_starttime2} ${deny_mail_endtime2} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00004
[Tags] subject from
#删除对象
${objectids} set Variable ${deny_mail_objectId4}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId5}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId3}]}
${s} Convert to String ${deny_mail_policyId3}
GetLogList security_event_log ${deny_mail_starttime3} ${deny_mail_endtime3} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00005
[Tags] subject from
#删除对象
${objectids} set Variable ${deny_mail_objectId6}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId7}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId4}]}
${s} Convert to String ${deny_mail_policyId4}
GetLogList security_event_log ${deny_mail_starttime4} ${deny_mail_endtime4} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00006
[Tags] subject from
#删除对象
${objectids} set Variable ${deny_mail_objectId8}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId9}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId5}]}
${s} Convert to String ${deny_mail_policyId5}
GetLogList security_event_log ${deny_mail_starttime5} ${deny_mail_endtime5} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00007
[Tags] subject to
#删除对象
${objectids} set Variable ${deny_mail_objectId10}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId11}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId6}]}
${s} Convert to String ${deny_mail_policyId6}
GetLogList security_event_log ${deny_mail_starttime6} ${deny_mail_endtime6} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00008
[Tags] subject to
#删除对象
${objectids} set Variable ${deny_mail_objectId12}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId13}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId7}]}
${s} Convert to String ${deny_mail_policyId7}
GetLogList security_event_log ${deny_mail_starttime7} ${deny_mail_endtime7} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00009
[Tags] subject to
#删除对象
${objectids} set Variable ${deny_mail_objectId14}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId15}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId8}]}
${s} Convert to String ${deny_mail_policyId8}
GetLogList security_event_log ${deny_mail_starttime8} ${deny_mail_endtime8} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00010
[Tags] subject to
#删除对象
${objectids} set Variable ${deny_mail_objectId16}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId17}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId9}]}
${s} Convert to String ${deny_mail_policyId9}
GetLogList security_event_log ${deny_mail_starttime9} ${deny_mail_endtime9} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00011
[Tags] account subject
#删除对象
${objectids} set Variable ${deny_mail_objectId18}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId19}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId10}]}
${s} Convert to String ${deny_mail_policyId10}
GetLogList security_event_log ${deny_mail_starttime10} ${deny_mail_endtime10} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00012
[Tags] account subject
#删除对象
${objectids} set Variable ${deny_mail_objectId20}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId21}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId11}]}
${s} Convert to String ${deny_mail_policyId11}
GetLogList security_event_log ${deny_mail_starttime11} ${deny_mail_endtime11} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00013
[Tags] account subject
#删除对象
${objectids} set Variable ${deny_mail_objectId22}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId23}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId12}]}
${s} Convert to String ${deny_mail_policyId12}
GetLogList security_event_log ${deny_mail_starttime12} ${deny_mail_endtime12} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00014
[Tags] account subject
#删除对象
${objectids} set Variable ${deny_mail_objectId24}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId25}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId13}]}
${s} Convert to String ${deny_mail_policyId13}
GetLogList security_event_log ${deny_mail_starttime13} ${deny_mail_endtime13} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
SecurityPolicy-Deny-Mail-00015
[Tags] 最大组合
#删除对象
${objectids} set Variable ${deny_mail_objectId26}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId27}
@@ -164,4 +149,4 @@ SecurityPolicy-Deny-Mail-00015
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId14}]}
${s} Convert to String ${deny_mail_policyId14}
GetLogList security_event_log ${deny_mail_starttime14} ${deny_mail_endtime14} ${testClentIP} ${s} mail_account 13103304145@163.com
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com