Leo,

The variable manipulation support is only available in trunk.

Charles

[EMAIL PROTECTED] wrote on 06/15/2007 02:55:59 AM:

> 
> Dear Charles, 
> 
>         Thanks for your response. 
> 
>         I tried your vartest.xml, but  the variable assignment still
> not working. 
> 
>         debian:~/sipp-2.0.1.src# ./sipp -m 1 -sf vartest.xml 
> localhost -trace_logs 
>         [ produces output saying that it didn't expect to receive 
> the message it sent itself ] 
> 
>         debian:~/sipp-2.0.1.src# cat *.log 
>         $5: 
> 
>         I am using SIPp 2.0.1 version installed on debian linux system. 
> 
>         I also test the xml file on windows xp using SIPp 2.0.1, and
> get the same result. 
> 
>         Is there anything I missed ? 
> 
> Leo Hu
> 
--------------------------------------------------------------------------------------------
> MediaTek Inc. WCP / Software Engineering Div.1
> Taipei, Taiwan
> 胡晉華 Leo Hu
> E-mail: [EMAIL PROTECTED]
> Tel: +886-2-26598088 ext 6202
> 
> 

> 
> Charles P Wright <[EMAIL PROTECTED]> 
> Charles P Wright <[EMAIL PROTECTED]> 
> 2007/06/15 下午 12:14 
> 
> To
> 
> [EMAIL PROTECTED] 
> 
> cc
> 
> sipp-users@lists.sourceforge.net, 
[EMAIL PROTECTED] 
> 
> Subject
> 
> Re: [Sipp-users] [Need Help] Question of variable manipulation
> 
> 
> 
> 
> 
> Leo, 
> 
> I am glad to see that this feature would be useful for you. 
> > 1. I add $4 by 3, but in log it is still 0. 
> The code doesn't handle adding values to regular expressions 
> (strings).  There should be some better error handling, or possibly 
> even automatic type casting added. 
> 
> > 2. I assign $5 to 1, and add by 2, but in log, the variable seems no
> > value at all. 
> This is actually puzzling. 
> 
> I have attached a simple scenario that I ran to test this: 
> 
> $./sipp -m 1 -sf vartest.xml localhost -trace_logs 
> [ produces output saying that it didn't expect to receive the 
> message it sent itself] 
> $ cat *.log 
> $5: 3.000000 
> 
> > 3. I assign the test result to $6, but the variable seems no value at 
all. 
> There is no code for printing the result of a Boolean variable. 
> 
> > 4. BTW, from the document, the variables are floating point values, 
> > but in what data type the result from regular expression is stored 
> > since the result may be a string. 
> This is why the addition for $4 isn't working correctly.  I will try
> work up a patch that addresses these shortcomings. 
> 
> Charles 

> ************* Email Confidentiality Notice ********************
> The information contained in this e-mail message (including any 
> attachments) may be confidential, proprietary, privileged, or 
> otherwise exempt from disclosure under applicable laws. It is 
> intended to be conveyed only to the designated recipient(s). Any 
> use, dissemination, distribution, printing, retaining or copying of 
> this e-mail (including its attachments) by unintended recipient(s) 
> is strictly prohibited and may be unlawful. If you are not an 
> intended recipient of this e-mail, or believe that you have received
> this e-mail in error, please notify the sender immediately (by 
> replying to this e-mail), delete any and all copies of this e-mail 
> (including any attachments) from your system, and do not disclose 
> the content of this e-mail to any other person. Thank you!
>  [attachment "vartest.xml" deleted by Charles P Wright/Watson/IBM] 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to