30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
*** 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
|
|
Library Custometest
|
|
|
|
*** Test Cases ***
|
|
SecurityPolicy-Deny-Ftp-00001
|
|
Comment 功能端验证
|
|
${FTP} FTP_login ftp://192.168.100.5/123456.txt -u"ftp_user:qazXSW@edc" 123456789
|
|
should contain ${FTP} ftp_fail
|
|
|
|
SecurityPolicy-Deny-Ftp-00002
|
|
Comment 功能端验证
|
|
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" 中文test
|
|
should contain ${FTP} ftp_fail
|
|
|
|
SecurityPolicy-Deny-Ftp-00003
|
|
Comment 功能端验证
|
|
${FTP} FTP_login ftp://192.168.100.5/wlcsy.txt -u"ftp_user:qazXSW@edc" 中文文件内容
|
|
should contain ${FTP} ftp_fail
|
|
|
|
SecurityPolicy-Deny-Ftp-00004
|
|
Comment 功能端验证
|
|
${FTP} FTP_login ftp://192.168.100.5/aewn.txt -u"ftp_user:qazXSW@edc" завезенными
|
|
should contain ${FTP} ftp_fail
|