jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avishek Daga <avishekd...@gmail.com>
Subject Re: Use of the __regexFunction
Date Tue, 31 Jul 2007 09:12:44 GMT

You could use a Function helper dialog which helps you to write the function
syntax for ${__regextFunction}
The generated function string could be used anywhere in the text plan
check out the image below:
The selected text can be pasted anywhere in the test plan
http://www.nabble.com/file/p11920718/functions.jpg 


75blured wrote:
> 
> Hi,
> 
> Thanks a lot, however my concern is how to use ${__regextFunction} and 
> if there are some example of it.
> 
> Regards,
> 75Blured.
> 
> David Schulberg a écrit :
>> Take a look at my attachment where I extract a membership number from 
>> the body of a response
>>  
>> *David Schulberg*
>>
>> Object Consulting | Senior Consultant
>> switch: + 61 3 8615 4500 fax: +61 3 8615 4501
>> mobile: 0402 006 291
>> email: david.schulberg@objectconsulting.com.au 
>> <mailto:david.schulberg@objectconsulting.com.au>
>> ----------------------------------------------------------------
>> consulting | development | training | support
>> our experience makes the difference
>>
>> ------------------------------------------------------------------------
>> *From:* 75blured [mailto:75blured@gmail.com]
>> *Sent:* Tue 24/07/2007 6:27 PM
>> *To:* JMeter Users List
>> *Subject:* Re: Use of the __regexFunction
>>
>> Have you got a sample of such a response data where I can apply this 
>> __regexFunction(...). Indeed what I'm using is :
>>
>>
>>
>> Is it in this screen that we can apply this function ?
>>
>> Regards,
>> 75Blured.
>>
>> David Schulberg a écrit :
>>> Hi,
>>>  
>>> The first argument is the regular expression to be applied to the
>>> response data which should contain what you are wanting to extract. 
>>>  
>>> David Schulberg
>>>
>>> Object Consulting | Senior Consultant
>>> email: david.schulberg@objectconsulting.com.au
>>> ----------------------------------------------------------------
>>> consulting | development | training | support
>>> our experience makes the difference 
>>>
>>> ________________________________
>>>
>>> From: 75blured [mailto:75blured@gmail.com]
>>> Sent: Tue 24/07/2007 4:51 PM
>>> To: jmeter-user@jakarta.apache.org
>>> Subject: Use of the __regexFunction
>>>
>>>
>>>
>>> Hello,
>>>
>>> I'd like to use the __regexFunction in order to dynamically modify a
>>> variable inside a forEach loop. However, if I look to the helper box of
>>> Jmeter or in the help pages I see :
>>> . Regular expression for the result
>>> . Template for replace string
>>> . ALL or int
>>> . Text by default
>>> . Name of function to store the value to use
>>>
>>> I don't see any place to put the string which I want to transform :
>>> Entry -> original string
>>>             RegExp
>>> Output --> transformed string
>>>
>>> Have you got an explanation for this ?
>>>
>>> Regards,
>>> 75blured.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>   
>>> ------------------------------------------------------------------------
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Use-of-the-__regexFunction-tf4134132.html#a11920718
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message