Thanks for your response, Olivier.
In the first scenario, I am looking for something more than just injecting values from a CSV (which I already do). The problem is that for each thread, I would like to register, send a bunch of subscribes and then unregister. If I use a CSV, I will probably have to create a LOT of semi-colon separated fields on the same line to create new "Event" types. Even in that case, I'll still need to write separate send tags for each subscribe that gets sent out. I was looking for a way to reduce the size of the XML file with the help of some "scripting-like" feature in the XML file.
I can definitely create one scenario with register, followed by another with subscribe, and so on. I am just trying to see if there is a way in which I can get this scenario to work; if not in the current version, maybe even as a new feature request for SIPp because it might probably be useful to others as well.
Any thoughts?
Thanks,
SIPp Newsgroup User.
On 8/26/06, Olivier Jacques <[EMAIL PROTECTED]> wrote:
Newsgroup User wrote:
> Hey All,
>
> I am new to SIPp and am trying to use it to simulate actual SIP
> devices. For example:
>
> 1. Register
> 2. Subscribe to various devices in the contact list (approximately
> 50 for load testing)
> 3. Receive Notify for all these subscribes
> 4. UnRegister
>
> I guess I can completely hard code this scenario and get it to work.
> However, I would like to find out if any of the following features are
> available, which would make it much easier for me to implement this
> scenario:
>
> 1. Is there a way I can loop the subscribe messages so that I can
> send each subscribe message with some new fields, for example
> the "from" ID, the "Event" header, etc? If there was a way in
> which I can set a variable with custom data, I think I can
> achieve this with the help of labels and the "next" attribute of
> the send message. However, I have not been able to find a way to
> set variables outside of the regex scenario, which can also set
> it only if the regex matches.
>
From what I understand, I think that what you are looking for is there:
http://sipp.sourceforge.net/doc1.1/reference.html#Injecting+values+from+an+external+CSV+during+calls
> 1.
>
>
> 2. Another neat feature would be the ability to group a sequence of
> messages and refer to this sequence. for example, after every
> subscribe, one can expect 200, 408, 403, 407, etc responses. If
> I need to send 2 subscribes right now, each one of them is
> followed by these optional responses, making the XML file quite
> huge. If I could have grouped these messages in one section, I
> could just refer to that group after every subscribe. Of course,
> something even better would be to have this feature as well as
> the one in item 1 above, which would completely eliminate the
> need to create 2 send sections for 2 subscribe messages.
> 3. My ultimate goal is to be able to continuously send Subscribe
> messages and then handle notify messages as and when they are
> received. I do not see a good way of doing this either. For
> example, if I am sending 10 subscribes, one after the other (and
> also handling their respective responses), I might get a notify
> in between one of these steps. How do i handle this without also
> adding an optional recv message for "Notify"?
>
Can't you just create a scenario with one Subscribe and run the traffic
normally? Do you really need to have several subscribe per scenario?
(could be, I'm just trying to understand). In this case, this might not
be easy with SIPp. Maybe creating a new program with a true SIP stack
might be easier for your case...
Olivier.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
