Thanks, Takeshi. The issues got sovled!
 
Regards,
Alex
 

________________________________
 发件人: mayamatakeshi <[email protected]>
收件人: he yaxin <[email protected]> 
抄送: "[email protected]" <[email protected]> 
发送日期: 2011年11月29日, 星期二, 下午 12:49
主题: Re: [Sipp-users] SIMPLE IM load test
 
On Tue, Nov 29, 2011 at 7:39 PM, he yaxin <[email protected]> wrote:
  
>Hi,
Takeshi, the command line used is
>./sipp -r
10 -rp 1000 -l 1 -sf reg.xml -inf test.csv 192.168.25.186 -i 192.168.25.186  
The problem is the options "-l 1". From the doc:   -l               : Set the 
maximum number of simultaneous calls. Once this                      limit is 
reached, traffic is decreased until the number                      of open 
calls goes down. Default:                         (3 * call_duration (s) * 
rate). 
P.S.:
The SIP stack of my application is running on the same machine as sipp.
>The
content of the csv and xml files is as follows:
> 
>test.csv
>SEQUENTIAL
>user2;
>reg.xml
><?xml
version="1.0" encoding="ISO-8859-1" ?>
><!DOCTYPE
scenario SYSTEM "sipp.dtd">
><scenario
name="branch_client">
>    <send retrans="500">
>        <![CDATA[ 
>  
>      MESSAGE sip:[remote_ip] SIP/2.0
>      Via: SIP/2.0/[transport]
[local_ip]:[local_port];branch=[branch]
>      Max-Forwards: 70 
>      From: [field0]
<sip:[field0]@[local_ip]:[local_port]>;tag=[call_number]
>      To: [field0]
<sip:[field0]@[remote_ip]:[remote_port]>
>      Call-ID:
[call_id]
>      CSeq:
1 MESSAGE
>      Content-Type: text/plain 
>      Content-Length: 7
>      Expires:
300
> 
>      Watson,
>       ]]>
>   </send>
>   <recv
response="200">
>   </recv> 
></scenario>
>As
for the data injection from an external file, I didn’t realize I have already
been using it in my testing as shown above. However, it looks like the value in
the field cannot exceed 7 characters? In real world, SIMPLE IM message could be
a lot more than 7 chars and I was adding long texts in the test.csv for the
message content like “user2;abcdefghijklmnopqrstuvwxyz;”.
My monitoring on my own application showed that the string 
“abcdefghijklmnopqrstuvwxyx”
was truncated to “abcdefg”. Am I missing anything in
using the data injection?  
 This is because you are setting a static value for the header 
Content-Length.Replace Content-Length: 7
with:
Content-Length: [len]
so that it will be calculated from the actual size of the body
 
 
> 
>Thanks!
>Regards,
>Alex 
>--- 11年11月29日,周二, mayamatakeshi <[email protected]> 写道: 
>
>>发件人: mayamatakeshi <[email protected]>
>>主题: Re: [Sipp-users] SIMPLE IM load test
>>收件人: "he yaxin" <[email protected]>
>>抄送: [email protected]
>>日期: 2011年11月29日,周二,上午1:54
>>
>>
>> 
>>On Tue, Nov 29, 2011 at 12:58 AM, he yaxin <[email protected]> 
>>wrote: 
>>Hi all,  
>>>I am trying to load test SIMPLE IM message on the SIP stack of my own 
>>>application. I have gone to a stage where sipp can fire SIMPLE IM messages 
>>>to my application and can get the 200 response successfully. However, when I 
>>>tried to increase the load by hitting the "+" key on the keyboard, nothing 
>>>happened. Although the displayed call rate did increase, the scenario screen 
>>>kept displaying there is “0/1 calls during 1.000 s period” and "Peak was 1 
>>>calls, after 0 s”. I was also monitoring the SIMPLE IM messages received on 
>>>my application, and it was the fact that the SIMPLE IM message load was not 
>>>increased. Any idea how was this happening? My understanding is that sipp 
>>>should be firing the message at a higher frequency if the “+" key was hit. 
>>>Anyone has a clue on this?   
>>Please show us the contents of your xml file and the command-line used to 
>>start sipp.  
>> 
>>>In the mean time, I also would like to randomize the message content in each 
>>>SIMPLE IM so that the simulation is closer to the real world. Any idea how I 
>>>can do that in the scenario xml or there are other ways to do it?   
>>It is possible to inject data from an external file and you can ask the 
>>selection to be done at 
>>random:http://sipp.sourceforge.net/doc/reference.html#Injecting+values+from+an+external+CSV+during+callsregards,Takeshi
>>        
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to