Hello Trinh,

If you have the bandwidth for doing it yourself, feel free to submit a patch. 
We'll review it after the next stable sipp release is delivered.

Regards,
Olivier Boulkroune
 
-----Message d'origine-----
De : Trinh Ta [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 3 août 2007 05:44
À : Peter Higginson
Cc : Boulkroune, Olivier (Non-HP:Atos Origin); [email protected]
Objet : Re: [Sipp-users] about [last_*]

Hi,

Would be nice to have the occurrence="*" attribute to mean all 
occurrences. Then one can save all Via headers into a variable with a 
clean syntax:

<ereg regexp=".*" search_in="hdr" header="Via: " occurrence="*" 
assign_to="3"/>

Please consider that my wish list!

Thanks,
--
Trinh Ta

Peter Higginson wrote:
> As the original writer of the occurrence= logic, I'm fairly sure the answer 
> is no, it just expects a number.
> 
> Peter
> 
> Peter Higginson
> Newport Networks Ltd,
> Direct line 01494 470694
> http://www.newport-networks.com/
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trinh Ta
> Sent: 23 July 2007 16:41
> To: Boulkroune, Olivier (Non-HP:Atos Origin)
> Cc: [email protected]
> Subject: Re: [Sipp-users] about [last_*]
> 
> Olivier,
> 
> 'occurence=n' can be used to find the nth occurence of a header.
> Since I want *all* Via headers, will 'occurence=*' work ?
> 
> Thanks,
> --
> R.T. Ta
> 
> Boulkroune, Olivier (Non-HP:Atos Origin) wrote:
>> Hello Trinh,
>>
>> You may use the 'occurrence' attribute. 
>>
>> Regards,
>> Olivier Boulkroune
>>  
>> -----Message d'origine-----
>> De�: Trinh Ta [mailto:[EMAIL PROTECTED] 
>> Envoy�: lundi 23 juillet 2007 16:30
>> �: Boulkroune, Olivier (Non-HP:Atos Origin); [email protected]
>> Cc�: daisy
>> Objet�: Re: [Sipp-users] about [last_*]
>>
>> I think a regexp like the following:
>>
>> <ereg regexp=".*" search_in="hdr" header="Via: "  assign_to="1"/>
>>
>> will save the FIRST Via header, not *all* Via headers.
>>
>> I have the same question as the OP. How do I save *all* Via headers into 
>> a variable ?
>>
>> Thanks,
>> --
>> R.T. Ta
>>
>>
>> Boulkroune, Olivier (Non-HP:Atos Origin) wrote:
>>> Hello Daisy,
>>>
>>>  
>>>
>>> You may use the regexp on the last received message. See 
>>> http://sipp.sourceforge.net/doc/reference.html#Regular+expressions for 
>>> more details.
>>>
>>>  
>>>
>>> Regards,
>>>
>>>  
>>>
>>> Olivier Boulkroune
>>>
>>>  
>>>
>>> ------------------------------------------------------------------------
>>>
>>> *De :* [EMAIL PROTECTED] 
>>> [mailto:[EMAIL PROTECTED] *De la part de* daisy
>>> *Envoy� :* lundi 23 juillet 2007 04:05
>>> *� :* [email protected]
>>> *Objet :* [Sipp-users] about [last_*]
>>>
>>>  
>>>
>>> Iwant to store the content of [last_*] into a variable.
>>>      (ex: store [last_Via:] into $via)
>>>  How to describe this action this in XML file.
>>>
>>> Thanks a lot!
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Sipp-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sipp-users
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
> 
> 
> 
> ---------------------------------------------------------------------------------------------
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in error) 
> please
> notify the sender immediately and delete this e-mail. Any unauthorized 
> copying,
> disclosure or distribution of the contents in this e-mail is strictly 
> forbidden.
> ---------------------------------------------------------------------------------------------
> Newport Networks Limited is registered in England. Registration number 
> 4067591.
> Registered office: 6 St. Andrew Street, London EC4A 3LX
> ---------------------------------------------------------------------------------------------
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to