summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-04-27 14:30:10 +0000
committerBenny Prijono <bennylp@teluu.com>2009-04-27 14:30:10 +0000
commit92a5b6b430b52abbdfa255c3e74eb5bf7fda0866 (patch)
treebd2ab3d4d1e3693dc777ed203a92eada4453ce3a /tests
parent2a3362d1b960f0533552b8cfba0c6a4fff4ba147 (diff)
Ticket #693: Allow incoming MESSAGE request without message body
- also added SIPp scenario to test this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2651 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests')
-rw-r--r--tests/pjsua/scripts-sipp/uac-message-no-body.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/pjsua/scripts-sipp/uac-message-no-body.xml b/tests/pjsua/scripts-sipp/uac-message-no-body.xml
new file mode 100644
index 00000000..1b7f0724
--- /dev/null
+++ b/tests/pjsua/scripts-sipp/uac-message-no-body.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="MESSAGE request without message body">
+ <send retrans="500">
+ <![CDATA[
+
+ MESSAGE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
+ To: sut <sip:[service]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 MESSAGE
+ Contact: sip:sipp@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Subject: Message without body
+ Content-Length: 0
+
+ ]]>
+ </send>
+
+ <recv response="200" rtd="true">
+ </recv>
+
+ <!-- definition of the response time repartition table (unit is ms) -->
+ <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
+
+ <!-- definition of the call length repartition table (unit is ms) -->
+ <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
+
+</scenario>
+