主动防御接口case
This commit is contained in:
@@ -4,20 +4,20 @@ ${loginType} api
|
||||
#执行环境是否Widonws
|
||||
${systemType} Windows
|
||||
#API配置信息
|
||||
${host} 192.168.40.120
|
||||
${host} 192.168.40.131
|
||||
${port} 8080
|
||||
${authmode} 1
|
||||
${authCode} ${EMPTY}
|
||||
${ldapId} 27
|
||||
${version} v1
|
||||
${username} uitest
|
||||
${username} lyf
|
||||
${password} 111111
|
||||
${encodePassword} ${EMPTY}
|
||||
${token} ${EMPTY}
|
||||
#[Documentation] 测试终端IP统一配置
|
||||
${testClentIP} 192.168.50.57
|
||||
${testSubscriberID} $test57
|
||||
#自动化标签
|
||||
${testClentIP} 192.168.50.37
|
||||
${testSubscriberID} $test57
|
||||
#自动化标签
|
||||
${userTagIds} ${EMPTY}
|
||||
#Documentation] 是否添加测试终端IP到策略统一配置,0为不添加测试终端IP,1为添加测试终端IP,默认1
|
||||
${addTestClentIPFlag} 1
|
||||
@@ -29,7 +29,7 @@ ${policyLogVerificationSleepSeconds} 60
|
||||
${path} E:/auto_git/eclipsegit/tsg_autotest/05-Other
|
||||
${curlbatpath} ${path}/curl
|
||||
${mailpath} ${path}/mail
|
||||
${responsePageFiles} ${path}/response_pages_files/
|
||||
${responsePageFiles} ${path}/response_pages_files/
|
||||
#全流程分阶段测试参数
|
||||
#[Documentation] 当前测试部分,all为一个终端全网全流程测试,
|
||||
#1为添加策略和对象测试;
|
||||
@@ -46,13 +46,14 @@ ${cliHost} 192.168.40.165
|
||||
${cliUsername} tsgadmin
|
||||
${cliPassword} Cli2019
|
||||
${timeout} 600s
|
||||
${retryInterval} 300s
|
||||
${retryInterval} 300s
|
||||
@{PolicyTypes} tsg_security pxy_manipulation
|
||||
@{ObjectTypes} ip url fqdn keywords subscriberid fqdn_category account http_signature
|
||||
@{ObjectTypes} ip url fqdn keywords subscriberid fqdn_category account
|
||||
... http_signature
|
||||
# Cli自动化测试变量[end]
|
||||
# SNMP服务测试变量[start]
|
||||
${snmpHost} 192.168.40.165
|
||||
${snmpPort} 50161
|
||||
${snmpConnTimeout} 5 # 默认超时时间为6s,设置timeout值后超时时间为n*6s
|
||||
${snmpCommunity} public
|
||||
${snmpHost} 192.168.40.165
|
||||
${snmpPort} 50161
|
||||
${snmpConnTimeout} 5 # 默认超时时间为6s,设置timeout值后超时时间为n*6s
|
||||
${snmpCommunity} public
|
||||
# SNMP服务测试变量[end]
|
||||
|
||||
Reference in New Issue
Block a user