Hi,
I am trying to test the outcome of the verifyauth test, I want the call to
be marked as a failure if the verifyauth fails validation, I am not
interested in changing the cal flow just to mark the call as unsuccessful.
I was thinking I could something like this:

==========================

      <!-- Check Auth -->
      <log message="Auth Check"/>
      <verifyauth assign_to="authvalid" username="1000" password="1000" />
      <log message="   authvalid=[$authvalid]"/>

      <ereg regexp="true"
        search_in="var"
        check_it="true"
        assign_to="auth"
        variable="authvalid"
      />

    </action>

but I get this error:

    Failed regexp match: looking in '', with regexp 'true'.

Thanks

Paul
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to