Hi All,
   I am new to jmeter, I have a jmeter variable ${__V(DataPointStr_${dpIndex})} 
that has a value of "search.website.com/used/productmatches.asp?
r=1&pean=096459823X&CND=5" which I need to do either substring from the slash / 
up to the end of the string or replace/truncate the search.website.com with a 
null value.

I've been trying this 2 approaches but I can;t make it to work:
${__javaScript('${__V(DataPointStr_${dpIndex})}'.substring(1,6,newVar))}

${__javaScript(('${__V(DataPointStr_${dpIndex})}}'.replace
('search.barnesandnoble.com','')),newVar)}

I've been trying them to either from the UDF and to the Path on HTTP request 
but hasn't fot any luck.

I thank you in advance for looking onto this. Also, there may be some other 
approach that you may suggest and I really appreciate your help.

Regards,
Romano


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to