Hi Srikant,

I am checking User-Agent header in 200OK with these lines:
  <recv response="200">
    <action>
<ereg regexp=".*" search_in="hdr" header="User-Agent: " check_it="true" assign_to="none"/>
    </action>
  </recv>

also useful: check_it_inverse="true"

Do not forget put this line to end of scenario for unused references.
<Reference variables="none" />

Regards,
Bálint


On 02/21/2013 08:08 AM, Srikant Pappu wrote:

Hi All,

Is it possible to use regexp to check if a particular header is present or not in a message?

If yes, what is the format of the regexp?

Thanks,

Srikant



------------------------------------------------------------------------------
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_feb


_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

------------------------------------------------------------------------------
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_feb
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to