1 message in com.canoo.lists.webtestRE: [Webtest] Webtest cannot handle t...
FromSent OnAttachments
Erskine, Chris21 Dec 2004 15:47 
Subject:RE: [Webtest] Webtest cannot handle the Javascript command unique URLFor
From:Erskine, Chris (chri@eds.com)
Date:12/21/2004 03:47:05 PM
List:com.canoo.lists.webtest

You have some other problem if WebTest is getting the line as given. The <html:rewrite page="/../home.do"/> is a jsp tag which be converted before WebTest gets it.

Chris Erskine

EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Springs, CO 80919

Phone: 719-265-5962

_____

From: webt@gate2.canoo.com [mailto:webt@gate2.canoo.com] On Behalf Of David Louvton Sent: Tuesday, December 21, 2004 4:24 PM To: webt@gate2.canoo.com Subject: [Webtest] Webtest cannot handle the Javascript command uniqueURLFor

My application has a jsp file that contains the following line:

top.location.href = uniqueURLFor('<html:rewrite page="/../home.do"/>');

When Webtest is hitting this code (using invoke), the invoke command get stuck. I turn on all possible log levels in log4j.properties but did not get any more information.

I just noticed that if I'm changing this line with a real url (like top.location.href=http://localhost:8080/search/jsp/home.do <http://localhost:8080/search/jsp/home.do> ) it's working fine.

I tried also the version that works with HtmlUnit but it did not help.

Please help,

David