jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZK <stevesenio...@gmail.com>
Subject Re: Problem: Get data from response in jmeter
Date Tue, 27 Sep 2011 12:20:09 GMT
Hi,
using the regEx you provided would return:
http:\/\/*new.qcserver.dirox.net*\/MP\/trunk\/publication\/GC\/?vid=4e818ebe7327b579503789&pid=154da51a07e7602&idte=0


*AND NOT* /(as you stated)/:
http:\/\/*localhost*\/MP\/trunk\/publication\/AD\/img\/index.php?f=201109271030\/tech_img_1938_0_-en-Imag.JPG

So I am unsure which Url you want

However... maybe this will assist:

If I were you I would do it like this:
/ (do you need to capture the server part of the Url?? or just the 'path'??
for this example I am assuming you know the server address or atleast can
work it out yourself)/
regEx:
/Variable name = *yourURL*/
regEx=*"clic":"http:\\/\\/new\.qcserver\.dirox\.net(.*?)"*

Do you then need to navigate to the extracted Url?

if so (and you already know the server address)...
Path:
*${__jexl(vars.get("*yourURL*").replace("\"\,""))}*



ZK

--
View this message in context: http://jmeter.512774.n5.nabble.com/Problem-Get-data-from-response-in-jmeter-tp4844918p4845157.html
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