On 20 March 2013 17:02, Srikant Pappu <srikant.pa...@mavenir.com> wrote: > For the value 60, this will pass. Try giving any other value to check for > the error case. Sipp will return exit code as 1 in case of error.
In particular, try checking the values "360" and "600" to make sure regexp doesn't match on the partial string '60'. On 20 March 2013 17:02, Srikant Pappu <srikant.pa...@mavenir.com> wrote: > Hi Debojit, > > > > You can use the below regular expression: > > > > <ereg regexp=”60” search_in=”hdr” header=”Min-Expires: “ check_it=”true” > assign_to=”2”/> > > > > For the value 60, this will pass. Try giving any other value to check for > the error case. Sipp will return exit code as 1 in case of error. > > > > The reference for assigned value in the script can be nullified using the > below command: > > > > <Reference variables = “2”/> [Note: This command to be used after > <recv></recv> tag] > > > > Thanks, > > Srikant > > > > From: Debojit Bhadra [mailto:debojit.bha...@gmail.com] > Sent: 20 March 2013 22:22 > To: sipp-users@lists.sourceforge.net > Cc: debojit.bha...@huawei.com > Subject: [Sipp-users] HELP! SIPp Comapre and Check_it > > > > HI All, > > I need one help in SIPp. I want to check the below scenario. > > In 200 OK i will receive Min-Expires: 60, and I want to check the value is > equal to 60. If it is not equal to 60, test case should fail. > > I am not sure how to write the regex action for the above mentioned case. > > If i get support it will be a great help. > > > > -- > > Regards > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > DEBOJIT BHADRA > M:09535111296 > SOFTWARE ENGINEER > HUAWEI TECHNOLOGIES INDIA PVT LTD. > OLD AIRPORT ROAD > BANGALORE-560008 > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > Sipp-users mailing list > Sipp-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sipp-users > -- Robert K. Day robert....@merton.oxon.org ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users