From: Brad C. <bc...@bo...> - 2003-08-01 15:48:04
|
That took my total test time from 170 seconds to 100 seconds...not as much as I had hoped for but it definitely solved that particular problem. Thanks Brad C At 10:04 AM 8/1/2003, Mike Bowler wrote: >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. |