对修改部分用例不通过的问题进行修正
This commit is contained in:
@@ -12,7 +12,6 @@ Resource ../../../02-Keyword/tsg_bfapi/policy_object/ProcessPolicyBody.
|
||||
*** Test Cases ***
|
||||
Proxy-Policy-allow-00001
|
||||
[Tags] fqdn完整匹配 修改fqdn
|
||||
log ${testClentSubID}
|
||||
Comment 创建fqdn
|
||||
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$mp.pipix.com
|
||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||
|
||||
@@ -24,7 +24,7 @@ SecurityPolicy-Deny-Http-00001
|
||||
${objectDict} Create Dictionary objectType=ip objectSubType=geo_location isValid=${1} addItemList=${addItemLists}
|
||||
${rescode} ${objectId1} AddObjects ${1} ${objectDict}
|
||||
Comment 创建fqdn2
|
||||
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*longkong.net
|
||||
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*lkong.net
|
||||
${rescode} ${objectId2} AddObject2 ${1} ${objectDict}
|
||||
Comment 创建安全策略
|
||||
${policyDict} Create Dictionary policyName=SecurityPolicy-Deny-Http-00001 policyType=tsg_security policyDesc=autotest action=deny userRegion={"protocol":"HTTP","method":"drop"} filterList=${objectId}|TSG_FIELD_HTTP_HOST isValid=${1} appIdObjects=${HTTP_ID}
|
||||
|
||||
@@ -30,6 +30,7 @@ SecurityPolicy-Allow-RTP-00005-1
|
||||
Write grep "404" /home/yyq/Rtpp-3.6.0/data/uac/allowRtperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Allow-RTP-00005-2
|
||||
Open Connection ${voipOutListenIp}
|
||||
@@ -48,6 +49,7 @@ SecurityPolicy-Allow-RTP-00005-2
|
||||
Write grep "404" /home/yyq/Rtpp-3.6.0/data/uac/allowRtperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Allow-RTP-00005-3
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -66,6 +68,7 @@ SecurityPolicy-Allow-RTP-00005-3
|
||||
Write grep "404" /home/yyq/Rtpp-3.6.0/data/uac/allowRtperror003.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -25,11 +25,12 @@ SecurityPolicy-Allow-SIP-00005-1
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg1.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test3 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file allowSiperror001.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test3 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 001.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/001.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-2
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -43,11 +44,12 @@ SecurityPolicy-Allow-SIP-00005-2
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg101.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test4 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file allowSiperror002.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test4 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 002.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-3
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -61,11 +63,12 @@ SecurityPolicy-Allow-SIP-00005-3
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg102.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test5 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file allowSiperror003.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test5 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 003.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/003.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-4
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -79,11 +82,12 @@ SecurityPolicy-Allow-SIP-00005-4
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg103.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test6 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file allowSiperror004.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test6 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 004.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/004.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-5
|
||||
Open Connection ${voipOutListenIp}
|
||||
@@ -97,11 +101,12 @@ SecurityPolicy-Allow-SIP-00005-5
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg104.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test7 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file allowSiperror005.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test7 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 005.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/005.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-6
|
||||
Open Connection ${voipOutListenIp}
|
||||
@@ -115,11 +120,12 @@ SecurityPolicy-Allow-SIP-00005-6
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg105.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test8 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file allowSiperror006.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test8 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 006.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/006.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ SecurityPolicy-Deny-Dns-00005
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.facebook.com
|
||||
... ELSE set variable nslookup www.facebook.com
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List 超时 time out
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List 超时
|
||||
... ELSE Create List canonical name = www.facebook.com
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Comment 关闭安全策略
|
||||
|
||||
@@ -117,7 +117,7 @@ SecurityPolicy-Deny-Http-00007
|
||||
SecurityPolicy-Deny-Http-00008
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00008.bat
|
||||
... ELSE set variable curl http://www.cmbchina.com/CmbQuesInfo/index.aspx
|
||||
... ELSE set variable curl -m 10 http://www.cmbchina.com/CmbQuesInfo/index.aspx
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List timed out
|
||||
... ELSE Create List Connection reset by peer
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
@@ -127,7 +127,7 @@ SecurityPolicy-Deny-Http-00008
|
||||
${rescode} UpdatePolicies 1 ${policyDict} v2 update
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00008.bat
|
||||
... ELSE set variable curl http://www.cmbchina.com/CmbQuesInfo/index.aspx
|
||||
... ELSE set variable curl -m 10 http://www.cmbchina.com/CmbQuesInfo/index.aspx
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List timed out
|
||||
... ELSE Create List Connection reset by peer
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
|
||||
@@ -30,6 +30,7 @@ SecurityPolicy-Allow-RTP-00005-1
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/denySiperror005.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 500 Server Internal denySiperror
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Allow-RTP-00005-2
|
||||
Open Connection ${voipOutListenIp}
|
||||
@@ -48,7 +49,7 @@ SecurityPolicy-Allow-RTP-00005-2
|
||||
Write grep "408" /home/yyq/sipp-3.6.0/data/uac/denySiperror006.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 408 Request Timeout
|
||||
|
||||
Close All Connections
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -25,11 +25,12 @@ SecurityPolicy-Deny-SIP-00005-1
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg112.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test15 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file denySiperror001.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test15 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file 007.log
|
||||
sleep 10
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/denySiperror001.log
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/007.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 480 Temporarily Unavailable
|
||||
Close All Connections
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
# ${res} Read delay=2s
|
||||
# Should Contain ${res} 200
|
||||
@@ -46,11 +47,12 @@ SecurityPolicy-Deny-SIP-00005-2
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg113.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test16 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file denySiperror002.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test16 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file 008.log
|
||||
sleep 10
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/denySiperror002.log
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/008.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 500 Server Internal denySiperror
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Deny-SIP-00005-3
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -64,11 +66,12 @@ SecurityPolicy-Deny-SIP-00005-3
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg114.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test17 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file denySiperror003.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test17 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file 009.log
|
||||
sleep 10
|
||||
Write grep "408" /home/yyq/sipp-3.6.0/data/uac/denySiperror003.log
|
||||
Write grep "408" /home/yyq/sipp-3.6.0/data/uac/009.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 408 Request Timeout
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Deny-SIP-00005-4
|
||||
Open Connection ${voipOutListenIp}
|
||||
@@ -82,11 +85,12 @@ SecurityPolicy-Deny-SIP-00005-4
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg115.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test18 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file denySiperror004.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test18 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file 010.log
|
||||
sleep 10
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/denySiperror004.log
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/010.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 480 Temporarily Unavailable
|
||||
Close All Connections
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
# ${res} Read delay=2s
|
||||
# Should Contain ${res} 200
|
||||
@@ -103,11 +107,12 @@ SecurityPolicy-Deny-SIP-00005-5
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg116.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test19 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file denySiperror005.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test19 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file 011.log
|
||||
sleep 10
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/denySiperror005.log
|
||||
Write grep "480" /home/yyq/sipp-3.6.0/data/uac/011.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 500 Server Internal denySiperror
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Deny-SIP-00005-6
|
||||
Open Connection ${voipOutListenIp}
|
||||
@@ -121,11 +126,12 @@ SecurityPolicy-Deny-SIP-00005-6
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg117.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test20 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file denySiperror006.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test20 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -denySiperror_file 012.log
|
||||
sleep 10
|
||||
Write grep "408" /home/yyq/sipp-3.6.0/data/uac/denySiperror006.log
|
||||
Write grep "408" /home/yyq/sipp-3.6.0/data/uac/012.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 408 Request Timeout
|
||||
Close All Connections
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ SecurityPolicy-Monitor-RTP-00005-1
|
||||
Write grep "404" /home/yyq/Rtpp-3.6.0/data/uac/monitorRtperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Monitor-RTP-00005-2
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -48,6 +49,7 @@ SecurityPolicy-Monitor-RTP-00005-2
|
||||
Write grep "404" /home/yyq/Rtpp-3.6.0/data/uac/monitorRtperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Monitor-RTP-00005-3
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -66,6 +68,7 @@ SecurityPolicy-Monitor-RTP-00005-3
|
||||
Write grep "404" /home/yyq/Rtpp-3.6.0/data/uac/monitorRtperror003.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -25,11 +25,12 @@ SecurityPolicy-Monitor-SIP-00005-1
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg106.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test9 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file monitorSiperror001.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test9 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 013.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/monitorSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/013.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Monitor-SIP-00005-2
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -43,11 +44,12 @@ SecurityPolicy-Monitor-SIP-00005-2
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg107.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test10 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file monitorSiperror002.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test10 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 014.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/monitorSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/014.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Monitor-SIP-00005-3
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -61,11 +63,12 @@ SecurityPolicy-Monitor-SIP-00005-3
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg108.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test11 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file monitorSiperror003.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test11 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 015.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/monitorSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/015.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Monitor-SIP-00005-4
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -79,11 +82,12 @@ SecurityPolicy-Monitor-SIP-00005-4
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg109.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test12 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file monitorSiperror004.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test12 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 016.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/monitorSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/016.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Monitor-SIP-00005-5
|
||||
Open Connection ${voipOutListenIp}
|
||||
@@ -97,11 +101,12 @@ SecurityPolicy-Monitor-SIP-00005-5
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg110.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test13 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file monitorSiperror005.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test13 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 017.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/monitorSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/017.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
Close All Connections
|
||||
|
||||
SecurityPolicy-Monitor-SIP-00005-6
|
||||
Open Connection ${voipOutListenIp}
|
||||
@@ -115,12 +120,12 @@ SecurityPolicy-Monitor-SIP-00005-6
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data/uac
|
||||
Write sipp -sf reg.xml -inf reg111.csv -p 6067 -i ${voipCallIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test14 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file monitorSiperror006.log
|
||||
Write sipp -sf uac_1.xml -d 10000 -s test14 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_err -error_file 018.log
|
||||
sleep 10
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/monitorSiperror002.log
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/018.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
|
||||
Close All Connections
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user