On Wed, May 18, 2011 at 1:28 AM, William King <quentus...@gmail.com> wrote:
> Is there an example of how to call the label with id="failure" on an error?
>
Read the reference:
http://sipp.sourceforge.net/doc/reference.html
Usually an error will be a timeout in the reception of a message.
*ontimeout : specify a label to jump to if the timeout popped before the
message to be received.
Example to jump to label "5" when not receiving a 100 message after 100
seconds:
<recv response="100" timeout="100000" ontimeout="5">
</recv>
*
> On 05/16/2011 09:30 PM, mayamatakeshi wrote:
>
>>
>>
>> On Tue, May 17, 2011 at 1:11 PM, quentus...@gmail.com
>> <mailto:quentus...@gmail.com> <quentus...@gmail.com
>> <mailto:quentus...@gmail.com>> wrote:
>>
>> I am looking for a way to completely stop the test as soon as an
>> error(missing response, or wrong response, etc) is hit. I am also
>> looking for a way to disable the screen updates. I just want the
>> report at the end. Basically I am trying to find the point at which
>> a sip adapter starts to fail under constant load.
>>
>> I don't know if there is a simpler way.
>> But if i needed this, i would try forcing the execution to jump to a
>> location in the script where i can execute a stop_now or stop_gracefully
>> command:
>>
>> http://sipp.sourceforge.net/doc/reference.html#Execute+a+command
>>
>> <label id="failed"/>
>>
>> <nop>
>> <action>
>> <exec int_cmd="stop_now"/>
>> </action>
>> </nop>
>>
>>
>> (please check proper syntax: I wrote the above from memory).
>>
>> Obs: please post back to the list as others can benefit from the
>> conversation. And someone else can offer better advice.
>>
>> On May 16, 2011 9:08 PM, "mayamatakeshi" <mayamatake...@gmail.com
>> <mailto:mayamatake...@gmail.com>> wrote:
>> > On Tue, May 17, 2011 at 1:01 PM, William King
>> <quentus...@gmail.com <mailto:quentus...@gmail.com>> wrote:
>> >
>> >> Will removing the retrans cause sipp to exit and fail the test?
>> >
>> >
>> > No. As long as even without retrans the SUT eventually sends the
>> expected
>> > response, the call will succeed.
>> >
>> >
>> >>
>> >>
>> >> On 05/16/2011 07:20 PM, mayamatakeshi wrote:
>> >>
>> >>>
>> >>> On Tue, May 17, 2011 at 2:45 AM, William King
>> <quentus...@gmail.com <mailto:quentus...@gmail.com>
>> >>> <mailto:quentus...@gmail.com <mailto:quentus...@gmail.com>>>
>> wrote:
>> >>>
>> >>> Where do I configure sipp so that if it needs to retransmit any
>> packets
>> >>> that it should stop and fail the test?
>> >>>
>> >>>
>> >>> From the sipp reference
>> >>> (
>> >>>
>>
>> http://sipp.sourceforge.net/doc/reference.html#Retransmissions+%28UDP+only%29
>> >>> ):
>> >>>
>> >>> 'A retransmission mechanism exists in UDP transport mode. To
>> activate
>> >>> the retransmission mechanism, the "send" command must include the
>> >>> "retrans" attribute.
>> >>> When it is activated and a SIP message is sent and no ACK or
>> response is
>> >>> received in answer to this message, the message is re-sent.'
>> >>>
>> >>> So edit your scenario and remove the attribute "retrans"
>> >>>
>> >>> regards,
>> >>> takeshi
>> >>>
>> >>
>>
>>
>>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users