分步骤全流程b步骤c步骤VOIP协议补充
This commit is contained in:
@@ -13,7 +13,7 @@ Library Custometest
|
||||
Library SSHLibrary
|
||||
|
||||
*** Test Cases ***
|
||||
SecurityPolicy-Allow-SIP-00005-onlysource
|
||||
SecurityPolicy-Allow-SIP-00005-1
|
||||
Open Connection ${voipListenIp}
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data
|
||||
@@ -25,11 +25,11 @@ SecurityPolicy-Allow-SIP-00005-onlysource
|
||||
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_11.xml -d 10000 -s test3 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0001.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 allowSiperror001.log
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-2
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -42,12 +42,12 @@ SecurityPolicy-Allow-SIP-00005-2
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest1 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
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
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-3
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -60,12 +60,12 @@ SecurityPolicy-Allow-SIP-00005-3
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest2 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
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
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-4
|
||||
Open Connection ${voipListenIp}
|
||||
@@ -78,131 +78,54 @@ SecurityPolicy-Allow-SIP-00005-4
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest3 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
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
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-5
|
||||
Open Connection ${voipListenIp}
|
||||
Open Connection ${voipOutListenIp}
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/yyq/sipp-3.6.0/data
|
||||
Write sipp -sf reg.xml -inf reg6.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf reg.xml -inf reg6.csv -p 6068 -i ${voipOutListenIp} -m 50 192.168.40.158:5060
|
||||
sleep 10
|
||||
Write sipp -sf uas.xml -inf reg6.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uas.xml -inf reg6.csv -p 6068 -i ${voipOutListenIp} -m 50 192.168.40.158:5060
|
||||
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest4 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
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
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
|
||||
|
||||
# Write sipp -sf uac_1.xml -d 10000 -s test3 192.168.40.158 -i ${voipCallIp} -r 60 -m 30000
|
||||
# ${res} Execute Command find . | xargs grep -ri "200 OK" -l
|
||||
# should contain ${res} 0001.log
|
||||
# Close All Connections
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-6
|
||||
Open Connection ${voipOutListenIp}
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/sipp/sipp-3.6.0/50.33-uas
|
||||
Write sipp -sf reg.xml -inf reg2.csv -p 6068 -i ${voipOutListenIp} -m 50 192.168.40.158:5060
|
||||
Write cd /home/yyq/sipp-3.6.0/data
|
||||
Write sipp -sf reg.xml -inf reg7.csv -p 6068 -i ${voipOutListenIp} -m 50 192.168.40.158:5060
|
||||
sleep 10
|
||||
Write sipp -sf uas.xml -inf reg2.csv -p 6068 -i ${voipOutListenIp} -m 50 192.168.40.158:5060
|
||||
Write sipp -sf uas.xml -inf reg7.csv -p 6068 -i ${voipOutListenIp} -m 50 192.168.40.158:5060
|
||||
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest4 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
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
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
Write grep "404" /home/yyq/sipp-3.6.0/data/uac/allowSiperror002.log
|
||||
${res} Read delay=5s
|
||||
Should Contain ${res} 404 Not here
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-7
|
||||
Open Connection ${voipOutListenIp}
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/sipp/sipp-3.6.0/50.33-uas
|
||||
Write sipp -sf reg.xml -inf reg3.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
sleep 10
|
||||
Write sipp -sf uas.xml -inf reg3.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest4 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-8
|
||||
Open Connection ${voipOutListenIp}
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/sipp/sipp-3.6.0/50.33-uas
|
||||
Write sipp -sf reg.xml -inf reg4.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
sleep 10
|
||||
Write sipp -sf uas.xml -inf reg4.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest4 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-9
|
||||
Open Connection ${voipOutListenIp}
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/sipp/sipp-3.6.0/50.33-uas
|
||||
Write sipp -sf reg.xml -inf reg5.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
sleep 10
|
||||
Write sipp -sf uas.xml -inf reg5.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest4 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
|
||||
SecurityPolicy-Allow-SIP-00005-10
|
||||
Open Connection ${voipOutListenIp}
|
||||
SSHLibrary.Login root Xxg-PUB<>90
|
||||
Write cd /home/sipp/sipp-3.6.0/50.33-uas
|
||||
Write sipp -sf reg.xml -inf reg6.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
sleep 10
|
||||
Write sipp -sf uas.xml -inf reg6.csv -p 6068 -i ${voipListenIp} -m 50 192.168.40.158:5060
|
||||
|
||||
Open Connection ${voipCallIp}
|
||||
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_11.xml -d 10000 -s hbntest4 192.168.40.158 -i ${voipCallIp} -r 1 -m 5 -trace_msg -message_file 0002.log
|
||||
sleep 10
|
||||
# Write find . | xargs grep -ri "200 OK" -l
|
||||
${res} Read delay=2s
|
||||
Should Contain ${res} 200
|
||||
|
||||
|
||||
|
||||
|
||||
# sipp -sf uac_11.xml -d 10000 -s test3 192.168.40.158 -i 192.168.50.57 -r 1 -m 5 -trace_msg -message_file 0001.log -ringbuffer_size 10240
|
||||
# # sipp -sf uac_11.xml -d 10000 -s test3 192.168.40.158 -i 192.168.50.57 -r 1 -m 5 -trace_msg -message_file 0001.log -ringbuffer_size 10240
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user