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

@@ -9,45 +9,21 @@ Library Custometest
*** Test Cases ***
SecurityPolicy-Deny-Ftp-00001
[Tags] 子串匹配
Comment 功能端验证
${starttime} Get Time
Sleep ${policyVerificationSleepSeconds}s
${FTP} FTP_login ftp://192.168.100.5/123456.txt -u"ftp_user:qazXSW@edc" 123456789
should contain ${FTP} ftp_fail
Sleep ${policyLogVerificationSleepSeconds}s
${endtime} Get Time
insert_time_to_file1 deny_ftp_starttime ${starttime} deny_ftp_endtime ${endtime}
SecurityPolicy-Deny-Ftp-00002
[Tags] 右匹配
Comment 功能端验证
${starttime} Get Time
Sleep ${policyVerificationSleepSeconds}s
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" 中文test
should contain ${FTP} ftp_fail
Sleep ${policyLogVerificationSleepSeconds}s
${endtime} Get Time
insert_time_to_file1 deny_ftp_starttime1 ${starttime} deny_ftp_endtime1 ${endtime}
SecurityPolicy-Deny-Ftp-00003
[Tags] 完整匹配
Comment 功能端验证
${starttime} Get Time
Sleep ${policyVerificationSleepSeconds}s
${FTP} FTP_login ftp://192.168.100.5/wlcsy.txt -u"ftp_user:qazXSW@edc" 中文文件内容
should contain ${FTP} ftp_fail
Sleep ${policyLogVerificationSleepSeconds}s
${endtime} Get Time
insert_time_to_file1 deny_ftp_starttime2 ${starttime} deny_ftp_endtime2 ${endtime}
SecurityPolicy-Deny-Ftp-00004
[Tags] 左匹配
Comment 功能端验证
${starttime} Get Time
Sleep ${policyVerificationSleepSeconds}s
${FTP} FTP_login ftp://192.168.100.5/aewn.txt -u"ftp_user:qazXSW@edc" завезенными
should contain ${FTP} ftp_fail
Sleep ${policyLogVerificationSleepSeconds}s
${endtime} Get Time
insert_time_to_file1 deny_ftp_starttime3 ${starttime} deny_ftp_endtime3 ${endtime}