if you set the variable you can do something like: <nop next="ifclause" test="variable" /> <!-- else cluase stuff goes here --> <nop next="endif" /> <!-- if clause stuff goes here --> <label id="endif" />
Charles "David Adams" <[EMAIL PROTECTED]> wrote on 11/03/2008 12:41:41 PM: > Hi, > I'm trying to build error-handling into a scenario with conditional- > branching and variable testing. With the latest stable version of > SIPP, I know I have the ability to use regexp to populate variables, > and then in some actions such as <send> / <receive> I can test a > variable and jump to a label after the <send> or <receive> action > has been executed. > What I'd like to be able to do is setup a variable, then based on > whether the variable is set or not, then go to a different place in > my scenario file. > So far I have not been able to figure how to do this, if it's even > possible. SIPP seems to support the "Else" part of the If-Then-Else > with the variable testing and next arguments as part of <send> and > <receive> operations. > 1. Is there a way to do this in SIPP3.x? If not, > 2. Could you direct me to the most logical place in the code that I > would need to modify to build this feature? > Thanks, > Dave Adams. > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sipp-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sipp-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
