From: Mike B. <mb...@Ga...> - 2003-08-01 15:11:37
|
Brad Clarke wrote: > > I have a login form in my application that is currently a POST. When I > run my login test against it (which logs in about 10 times) it takes 50+ > seconds to run. When I simply change the method on that form to a GET > the running time drops to 18 seconds. A bit of debugging showed about a > 3 second delay in calls to HtmlInput.click() in the POST but not in the > GET. > > I'm testing against a custom web server so I really don't know where the > problem is. I'm just looking for a little help tracking down the issue > right now. From what I can tell HtmlUnit doesn't do much (if anything) > different because it's a POST, so I figure the problem is between > http-commons and our web server. commons-httpclient RC1 was released yesterday so I'd recommend upgrading to that to see if it fixes the problem. http://jakarta.apache.org/builds/jakarta-commons/release/commons-httpclient/v2.0/commons-httpclient-2.0-rc1.zip I can't think of anything offhand that would cause a performance difference like this. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |