Re: [Htt-users] Error on windows XP
Brought to you by:
ia97lies
From: Cyril S. <cyr...@gm...> - 2012-07-04 14:52:19
|
Thanks, I solve my problem. I didn't add "_auto_close on", I want to make several request in one tcp connections. But, I fix the configuration of my http server. The keep-alive was disable. Sorry. Cyril On Wed, Jul 4, 2012 at 10:02 AM, Christian Liesch <li...@gm...> wrote: > Hi > > I think it is a just luck that this script do not fail :) Httest do nothing > or nearly nothing automatic expcept it is told to. I think this is a > keep-alive issue. If this is not what you want to test you have to add the > following line right after CLIENT: > > _AUTO_CLOSE on > > Now httest do handle "Connection: close" from the server. If the server do > close connection without telling this with "Connection: close" header this > test will fail again. > > If this do not help, please send the complete output of your script. > > And the line numbers of the error is not correct too?! Is this realy the > hole script or just a snipplet? > > Regards > Christian > > > On 07/04/2012 03:41 PM, Cyril SANTUNE wrote: >> >> Hi, >> >> I don't understand why this test failed. >> --- >> CLIENT >> # Open tcp connection >> _REQ 10.68.40.1 80 >> #_SLEEP 5000 >> __GET /read/4KB.txt HTTP/1.1 >> __Host: 10.68.40.1 >> __ >> # We expect a 200 OK from the server >> # and we also expect Response data send from server >> # If we get something different the script will fail >> _EXPECT . "HTTP/1.1 200 OK" >> #_EXPECT . "Server 10.68.40.1" >> _WAIT >> _REQ 10.68.40.1 80 >> #_SLEEP 5000 >> __GET /read/4KB.txt HTTP/1.1 >> __Host: 10.68.40.1 >> __ >> _EXPECT . "HTTP/1.1 200 OK" >> _WAIT >> END >> --- >> >> I obtain this error: >> --- >> test_client.htt:41: error: CLT0-0 End of file found(70014) >> >> test_client.htt:25: error: CLT0-0 End of file found(70014) >> FAILED >> --- >> >> This test work with an other computer with the same OS (Windows XP). >> >> I have no problem with this test: >> --- >> CLIENT >> # Open tcp connection >> _REQ 10.68.40.1 80 >> #_SLEEP 5000 >> __GET /read/4KB.txt HTTP/1.1 >> __Host: 10.68.40.1 >> __ >> # We expect a 200 OK from the server >> # and we also expect Response data send from server >> # If we get something different the script will fail >> _EXPECT . "HTTP/1.1 200 OK" >> #_EXPECT . "Server 10.68.40.1" >> _WAIT >> END >> --- >> >> I am on Windows XP SP2 with microsoft c++ 2005 and 2008 >> >> Any idea ? >> >> Thanks, >> Cyril >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Htt-users mailing list >> Htt...@li... >> https://lists.sourceforge.net/lists/listinfo/htt-users > > > |