Revision: 11086
Author: lbbbarreiro
Date: Fri Apr  2 12:54:01 2010
Log: Fixes in sipp scenarios for MSS performance tests.
http://code.google.com/p/mobicents/source/detail?r=11086

Deleted:
/trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/download-and-compile-sipp.sh
Modified:
 /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/examples
/trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/README.txt /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/b2bua/call-forwarding-receiver.xml /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/b2bua/call-forwarding-sender.xml /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/proxy-scenario/performance-proxy-uac.xml /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/proxy-scenario/performance-proxy-uas.xml /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/simple-flow/performance-uac.xml /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/sipp

=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/download-and-compile-sipp.sh Fri May 2 09:25:24 2008
+++ /dev/null
@@ -1,16 +0,0 @@
-# Compile sipp
-wget -m -nd http://superb-east.dl.sourceforge.net/sourceforge/sipp/sipp-3.0.src.tar.gz
-tar -xzf sipp-3.0.src.tar.gz
-cd sipp-3.0.src
-
-wget -m -nd http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
-tar -xzf ncurses-5.6.tar.gz
-cd ncurses-5.6
-./configure > /dev/null
-make > /dev/null
-cd ..
-wget -m -nd http://people.redhat.com/lbarreir/hudson/call-setup-test/Makefile
-make > /dev/null
-mv -f sipp ..
-cd ..
-rm -fr  sipp-3.0.src*
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/README.txt Thu Jan 7 08:04:07 2010 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/README.txt Fri Apr 2 12:54:01 2010
@@ -1,4 +1,4 @@
modify the JBOSS_HOME variable in prepare-jboss-server-for-perf.sh script to map your own or set the JBOSS_HOME env variable run sh prepare-jboss-server-for-perf.sh uas (or proxy, b2bua or uac if you want to test something else) from this directory
 run sh start-jboss-server.sh from this directory
-un sh performance-test.sh uas (or proxy or b2bua, if you want to test something else) from this directory +run sh performance-test.sh uas (or proxy or b2bua, if you want to test something else) from this directory
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/b2bua/call-forwarding-receiver.xml Mon Dec 7 08:47:33 2009 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/b2bua/call-forwarding-receiver.xml Fri Apr 2 12:54:01 2010
@@ -51,10 +51,6 @@
   </send>

   <recv request="ACK" >
-    <action>
- <ereg regexp=".*" search_in="hdr" header="From:" check_it="true" assign_to="1" /> - <ereg regexp=".*" search_in="hdr" header="To:" check_it="true" assign_to="2" />
-    </action>
   </recv>

   <recv request="BYE" timeout="60000" />
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/b2bua/call-forwarding-sender.xml Fri Jun 5 08:52:32 2009 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/b2bua/call-forwarding-sender.xml Fri Apr 2 12:54:01 2010
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE scenario SYSTEM "sipp.dtd">

-<!-- Jean Deruelle -->
+<!-- Luis Barreiro - Mobicents QA team -->

 <scenario name="UAC for SIP-Servlets Tests">

@@ -35,13 +35,13 @@

   <recv response="180" optional="true" />

-  <recv response="200" rrs="true">
+  <recv response="200" rtd="true" rrs="true">
   </recv>

   <send>
     <![CDATA[

-      ACK sip:[[email protected]:5080 SIP/2.0
+      ACK [next_url] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
       From: sipp <sip:s...@[local_ip]:[local_port]>;tag=[call_number]
       To: sut <sip:[[email protected]>[peer_tag_param]
@@ -56,11 +56,12 @@
     ]]>
   </send>

-<pause milliseconds="58000"/>
-
-<send retrans="500">
- <![CDATA[
-      BYE sip:[[email protected]:5080 SIP/2.0
+  <pause milliseconds="58000"/>
+
+  <send retrans="500">
+    <![CDATA[
+
+      BYE [next_url] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
       From: sipp <sip:s...@[local_ip]:[local_port]>;tag=[call_number]
       To: sut <sip:[[email protected]>[peer_tag_param]
@@ -71,10 +72,12 @@
       Max-Forwards: 70
       Subject: Performance Test
       Content-Length: 0
+
     ]]>
-</send>
-<recv response="200" crlf="true">
-</recv>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>

 </scenario>

=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/proxy-scenario/performance-proxy-uac.xml Tue Dec 1 09:15:43 2009 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/proxy-scenario/performance-proxy-uac.xml Fri Apr 2 12:54:01 2010
@@ -36,16 +36,13 @@
   </recv>

   <recv response="200" rtd="true" rrs="true">
-    <action>
- <ereg regexp="\&lt;([a-za-z...@.=;]+)[^&gt;]+" search_in="hdr" header="Contact:" assign_to="1"/>
-    </action>
   </recv>

   <pause milliseconds="300"/>

   <send>
     <![CDATA[
-      ACK [$1] SIP/2.0
+      ACK [next_url] SIP/2.0
       [last_Via:]
       [last_From:]
       [last_To:]
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/proxy-scenario/performance-proxy-uas.xml Tue Dec 1 09:15:43 2009 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/proxy-scenario/performance-proxy-uas.xml Fri Apr 2 12:54:01 2010
@@ -46,11 +46,10 @@
     ]]>
   </send>

-  <recv request="ACK" >
+  <recv request="ACK">
     <action>
<ereg regexp=".*" search_in="hdr" header="From:" check_it="true" assign_to="1" /> <ereg regexp=".*" search_in="hdr" header="To:" check_it="true" assign_to="2" /> - <ereg regexp="\&lt;([a-za-z...@.=;]+)[^&gt;]+" search_in="hdr" header="Contact:" assign_to="3"/>
     </action>
   </recv>

@@ -58,7 +57,7 @@

   <send retrans="1000">
     <![CDATA[
-      BYE [$3] SIP/2.0
+      BYE [next_url] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
       From: [$2]
       To: [$1]
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/simple-flow/performance-uac.xml Mon Oct 19 02:03:30 2009 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/simple-flow/performance-uac.xml Fri Apr 2 12:54:01 2010
@@ -1,25 +1,10 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE scenario SYSTEM "sipp.dtd">
-<!-- This program is free software; you can redistribute it and/or      -->
-<!-- modify it under the terms of the GNU General Public License as     -->
-<!-- published by the Free Software Foundation; either version 2 of the -->
-<!-- License, or (at your option) any later version.                    -->
-<!--                                                                    -->
-<!-- This program is distributed in the hope that it will be useful,    -->
-<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of     -->
-<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      -->
-<!-- GNU General Public License for more details.                       -->
-<!--                                                                    -->
-<!-- You should have received a copy of the GNU General Public License  -->
-<!-- along with this program; if not, write to the                      -->
-<!-- Free Software Foundation, Inc.,                                    -->
-<!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA             -->
-<!--                                                                    -->
-<!--                 Sipp default 'uac' scenario.                       -->
-<!--                                                                    -->
-<scenario name="Basic Sipstone UAC">
-  <!-- In client mode (sipp placing calls), the Call-ID MUST be         -->
- <!-- generated by sipp. To do so, use [call_id] keyword. -->
+
+<!-- Luis Barreiro - Mobicents QA team -->
+
+<scenario name="UAC for SIP-Servlets Tests">
+
   <send retrans="1000">
     <![CDATA[

@@ -52,20 +37,15 @@
   <recv response="180" optional="true">
   </recv>

-  <!-- By adding rrs="true" (Record Route Sets), the route sets         -->
-  <!-- are saved and used for following messages sent. Useful to test   -->
-  <!-- against stateful SIP proxies/B2BUAs.                             -->
   <recv response="200" rtd="true" rrs="true">
   </recv>

   <pause milliseconds="300"/>

-  <!-- Packet lost can be simulated in any send/recv message by         -->
-  <!-- by adding the 'lost = "10"'. Value can be [1-100] percent.       -->
   <send>
     <![CDATA[

-      ACK sip:[servi...@[remote_ip]:[remote_port] SIP/2.0
+      ACK [next_url] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
       From: sipp <sip:s...@[local_ip]:[local_port]>;tag=[call_number]
       To: sut <sip:[servi...@[remote_ip]:[remote_port]>[peer_tag_param]
@@ -79,11 +59,12 @@

     ]]>
   </send>
-
- <recv request="BYE" timeout="80000"/>
-<send>
-
-<![CDATA[
+
+  <recv request="BYE" timeout="80000"/>
+
+  <send>
+    <![CDATA[
+
       SIP/2.0 200 OK
       [last_Via:]
       [last_From:]
@@ -93,13 +74,10 @@
       [last_Contact:]
       Max-Forwards: 70
       Content-Length: 0
- ]]>
-
-</send>
-
-<pause milliseconds="90000"/>
-<!-- Keep the call open for a while in case the 200 is lost to be     -->
-<!-- able to retransmit it if we receive the BYE again.               -->
-
+
+    ]]>
+  </send>
+
+  <pause milliseconds="90000"/>

 </scenario>
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/sipp Mon Jun 30 06:00:46 2008 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/performance/sipp Fri Apr 2 12:54:01 2010
Binary file, no diff available.


--
To unsubscribe, reply using "remove me" as the subject.

Reply via email to