Re: [Sipp-users] How to set behavior for any received response except of 200 OK

2008-06-17 Thread Charles P Wright
You can not use a != for matching, and actually I just checked the code. 
Regular expressions are only valid for requests not responses.

You can add a label named "_unexp.main" and then exit on any unexpected 
message.  For example, this could go at the end of your scenario.










Charles




"Evgeny Miloslavsky" <[EMAIL PROTECTED]> 
06/17/2008 02:57 AM

To
Charles P Wright/Watson/[EMAIL PROTECTED]
cc

Subject
RE: [Sipp-users] How to set behavior for any received response except of 
200 OK






HI and thanks for your response. 
 
I need the following functionality:
 
if received response != 200 Ok 
 then exit.
 
I need my SIPp instance exit the scenario in case received response is not 
200 OK. My intuition says that it should be something like
 

 
  
 
but I?m not sure that this kind of syntax is applicable for SIPp
 
Regards,
 
Evgeny Miloslavsky
Systest Engineer
Juniper Networks Solutions Israel LTD.
Office: 972-9-9712355 / 7320
 
 
-Original Message-
From: Charles P Wright [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 16, 2008 6:54 PM
To: Dhananjaya Reddy Eadala
Cc: Evgeny Miloslavsky; sipp-users@lists.sourceforge.net; 
[EMAIL PROTECTED]
Subject: Re: [Sipp-users] How to set behavior for any received response 
except of 200 OK
 
SIPp won't exit but the call will fail.
 
If you want SIPp to exit, you'll need to do a regular expression match and 

an action that includes something like .
 
Charles
 
 
 
 
"Dhananjaya Reddy Eadala" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
06/16/2008 11:12 AM
 
To
"Evgeny Miloslavsky" <[EMAIL PROTECTED]>
cc
sipp-users@lists.sourceforge.net
Subject
Re: [Sipp-users] How to set behavior for any received response  except of 
200 OK
 
 
 
 
 
 
in scenario, set the following:
 


 
 
If sipp receives other than 200, then it will exit automatically.
 
 
Dhana
 
 
On 6/16/08, Evgeny Miloslavsky <[EMAIL PROTECTED]> wrote: 
Hi All
How do I cause my SIPP instance to exit the scenario for every received 
response except of 200 OK.
 
 
Regards,
 
Evgeny Miloslavsky
Systest Engineer
Juniper Networks Solutions Israel LTD.
Office: 972-9-9712355 / 7320
 
 
 
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users
 
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users
 
 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] How to set behavior for any received response except of 200 OK

2008-06-16 Thread Charles P Wright
SIPp won't exit but the call will fail.

If you want SIPp to exit, you'll need to do a regular expression match and 
an action that includes something like .

Charles




"Dhananjaya Reddy Eadala" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
06/16/2008 11:12 AM

To
"Evgeny Miloslavsky" <[EMAIL PROTECTED]>
cc
sipp-users@lists.sourceforge.net
Subject
Re: [Sipp-users] How to set behavior for any received response  except of 
200 OK






in scenario, set the following:
 


 
 
If sipp receives other than 200, then it will exit automatically.
 
 
Dhana

 
On 6/16/08, Evgeny Miloslavsky <[EMAIL PROTECTED]> wrote: 
Hi All
How do I cause my SIPP instance to exit the scenario for every received 
response except of 200 OK.
 
 
Regards,
 
Evgeny Miloslavsky
Systest Engineer
Juniper Networks Solutions Israel LTD.
Office: 972-9-9712355 / 7320
 
 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] How to set behavior for any received response except of 200 OK

2008-06-16 Thread Dhananjaya Reddy Eadala
in scenario, set the following:





If sipp receives other than 200, then it will exit automatically.


Dhana


On 6/16/08, Evgeny Miloslavsky <[EMAIL PROTECTED]> wrote:
>
>  Hi All
>
> How do I cause my SIPP instance to exit the scenario for every received
> response except of 200 OK.
>
>
>
>
>
> Regards,
>
> * *
>
> *Evgeny Miloslavsky***
>
> *Systest Engineer*
>
> *Juniper Networks Solutions Israel LTD.*
>
> *Office: 972-9-9712355 / 7320*
>
> 
>
>
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] How to set behavior for any received response except of 200 OK

2008-06-16 Thread Evgeny Miloslavsky
Hi All

How do I cause my SIPP instance to exit the scenario for every received
response except of 200 OK.

 

 

Regards,

 

Evgeny Miloslavsky

Systest Engineer

Juniper Networks Solutions Israel LTD.

Office: 972-9-9712355 / 7320

  

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users