On 13/03/2009, [email protected] <[email protected]> wrote: > Hi, > > i try: > > > 1. > > ${AP} is my RegEx extract > > 2. > Then I set in user defined var > > VARNAME: NEW > VALUE= ${__longSum(${AP},1) > > 3. > When is send ${NEW}, the contend is ${${AP},1) > > > What do I wrong? >
UDVs are processed at the start of a test when the AP variable is not defined. http://jakarta.apache.org/jmeter/usermanual/component_reference.html#User_Parameters are processed before each sampler in scope. > > Thank > Bjoern > > > > > > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] > Gesendet: Freitag, 13. März 2009 14:53 > An: [email protected] > Betreff: AW: Add value to RegEx > > > Sorry, but how I can use this function? > > Can you give me please a example? > > > Thanks! > > > > > > -----Ursprüngliche Nachricht----- > Von: sebb [mailto:[email protected]] > Gesendet: Freitag, 13. März 2009 14:41 > An: JMeter Users List > Betreff: Re: Add value to RegEx > > http://jakarta.apache.org/jmeter/usermanual/functions.html#__intSum > > On 13/03/2009, [email protected] <[email protected]> wrote: > > h...@all, > > > > how can I sum a value to another value which I extract before via RegEx? > > > > Example: I extract "1" from a HTML page, add 1 to this value and send > this back. > > > > > > Thanks > > Bjoern > > > > > > --------------------------------------------------------------------- > 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] > > > --------------------------------------------------------------------- > 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]

