Hi all ! 

I'm mew to Jmeter and really would appriciate help,
In my test I am extracting a value from the HTTP Web Service response and
needs to use this exctracted results back into another Web Service request
which accept only integer. 

I am am using the following extraction method: 

Return Result: STRING_#### (the # stands for the numric part of the string) 
Regular Expression extractor: (RESPONSE_STRING(.+)) 

Now I am having the #### as string and I need to pass it as Integer to the
next request. 

i already used _javascript function by fuction helper dialog in jmeter but
it didnt work

 ${__javaScript(${__javaScript(parseInt('${STRING}'))} ,INT_VARIABLE_NAME)}

what test element should i use and how excatly?

thanks in advance 



-- 
View this message in context: 
http://old.nabble.com/How-do-I-convert-extract-value-from-Regular-Expresion-to-integer-tp27487616p27487616.html
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