Hi, thank you for the answer but now I solved the problem. I do not know if this is the normal behavior but the problem was that Canoo lost the HTTPS Password Authentification.
In my test I am opening a PW protected HTTPS site then I do a click button and another HTTPS site that requires the same Username and Password is opened. There was my problem where the message with the "no valid HTTP response" was. No I thought about that the information about that the authentification is given in the HTML-Header so I included in the config file a header containing the Base-64 encrypted password and now it works. I do not know if you have to do this everytime or if Canoo loses the Authentification when I do the ClickButton to open the next site. Perhaps this is a bug so you can fix this in the next release, but it also can be very likely that my knowledge about HTML Protocols and Authentification is not very good :-) Best regards Steffen Reitz ----------------------------------------------------------------- > Date: Fri, 14 Aug 2009 15:05:21 +0200 > From: Marc Guillemot <[email protected]> > To: [email protected] > Subject: Re: [Webtest] The server failed to respond with a valid HTTP response > Reply-To: [email protected] > Reply-To: Marc Guillemot <[email protected]> > > Hi, > > I don't think that it easy to tell HTTPClient to understand... what it > doesn't understand. > > Have you looked at the HTTP traffic (with a sniffer, a proxy or turning > the log to trace in lib/log4j.properties) to "see" a bit better what > happens? > > Cheers, > Marc. > > Sterne a crit : > > Hi everybody, > > > > I have a problem when testing some HTTPS sites. I am verifying the text > > title and a couple of other things, then I want to do a "clickButton" so > > that an new site is opened but nothing is happening for about one minute > > and then the BUILD is FAILED. > > > > When reading the stacktrace the error "The server failed to respond with > > a valid HTTP response" stands there. > > > > I think the communication module I am testing is a bad programmed so > > that there really is a bad HTTP response. Unfortunately I am not very > > fluent in JAVA, so I hope someone of you can help me telling if it is > > possible to edit the source code of HTTPclient or htmlunit so that they > > are not so strict when getting the responses so that the build does not > > fail. > > > > Is there any possibility? > > > > Thank you very much > > > > Best regards > > > > Steffen Reitz _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

