|
Hello, I’m using this script to test a presence server. The
scenario does as follows:
Attached is the script I’m using. What happens is that
the script works perfectly only I cant measure the Response Times (probably
because from the second publish on, its an endless loop of PUBLISH’s with
etag’s. Sipp only measures the first PUBLISH’s Response Time. The command I use to run the script is as follows: sipp {server_ip} -sf presentity.xml -p 5080 -l 1 -t u1 -inf
user.csv -trace_stat -fd 600 -d 1000 for example: sipp 127.0.0.1:5060 -sf presentity.xml -p 5080 -l 1 -t u1
-inf user.csv -trace_stat -fd 600 -d 1000 PLEASE HELP Thanks, Software Architect Followap
P.O
Haifa, 31905 . Tel: +972(0)48142232 Mobile: +972(0)525222810 This email is from Followap. It is
confidential to the addressee and may be privileged. The views expressed are
personal and do not necessarily reflect those of Followap. If you are not the intended recipient please notify the sender
immediately by calling us on +44 (0) 1753 725 269 and do not disclose to
another person or use, copy or forward all or any of it in any form. Thank you.
|
<?xml version="1.0" encoding="ISO-8859-1" ?> <scenario name="Presentity Publish">
<send retrans="500">
<![CDATA[
PUBLISH sip:[field0] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0]>;tag=[call_number]
To: <sip:[field0]>
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Call-ID: [call_id]
event: presence
CSeq: [cseq] PUBLISH
Max-Forwards: 70
Expires: 3600
Content-Type: application/pidf+xml
Content-Length: [len]
<?xml version="1.0"?>
<tns:presence xmlns:tns="urn:ietf:params:xml:ns:pidf" entity="[field0]">
<tns:tuple id="">
<tns:status>
<tns:basic>open</tns:basic>
</tns:status>
</tns:tuple>
</tns:presence>
]]>
</send>
<recv response="200">
<action>
<ereg regexp=".*" search_in="hdr" header="Sip-Etag:" check_it="true" assign_to="6" />
<log message="Etag is [last_Sip-Etag:]. Custom header is [$6]"/>
</action>
</recv>
<label id="1"/>
<pause/>
<send retrans="500" start_rtd="true">
<![CDATA[
PUBLISH sip:[field0] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0]>;tag=[call_number]
To: <sip:[field0]>
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Call-ID: [call_id]
event: presence
CSeq: [cseq] PUBLISH
Max-Forwards: 70
SIP-If-Match: [$6]
Expires: 3600
Content-Type: application/pidf+xml
Content-Length: [len]
<?xml version="1.0"?>
<tns:presence xmlns:tns="urn:ietf:params:xml:ns:pidf" entity="[field0]">
<tns:tuple id="">
<tns:status>
<tns:basic>open</tns:basic>
</tns:status>
</tns:tuple>
</tns:presence>
]]>>
</send>
<recv response="200" rtd="true" next="1">
<action>
<ereg regexp=".*" search_in="hdr" header="Sip-Etag:" check_it="true" assign_to="6" />
<log message="Etag is [last_Sip-Etag:]. Custom header is [$6]"/>
</action>
</recv>
<ResponseTimeRepartition value="20, 40, 60, 80, 100, 120, 140, 160, 200, 250, 300, 350, 500, 800, 1000"/>
</scenario>
user.csv
Description: user.csv
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
