Hi Avishek,
I have almost the same issue with ${__setProperty()} function.
when you say that the output string from the function helper can be put
anywhere in the test plan, I will need a test element where to put it
correct ? and I don't see what test element would allow me to just evaluate
a function. (in my case, setting a property to be used later in a different
task group).
thanks


Avishek Daga wrote:
> 
> 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: [EMAIL PROTECTED] 
>>> <mailto:[EMAIL PROTECTED]>
>>> ----------------------------------------------------------------
>>> consulting | development | training | support
>>> our experience makes the difference
>>>
>>> ------------------------------------------------------------------------
>>> *From:* 75blured [mailto:[EMAIL PROTECTED]
>>> *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: [EMAIL PROTECTED]
>>>> ----------------------------------------------------------------
>>>> consulting | development | training | support
>>>> our experience makes the difference 
>>>>
>>>> ________________________________
>>>>
>>>> From: 75blured [mailto:[EMAIL PROTECTED]
>>>> Sent: Tue 24/07/2007 4:51 PM
>>>> To: [email protected]
>>>> 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: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>>   
>>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>> 
>> 
>> 
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to