I have seen the same to when I have tried it to. I changed DataInputStream to BufferedReader in comination with InputStreamReader and it seemed to work better. The same goes for output. I allso think it has to do with the way you alter between InputStream and DataInputStream wich I allso only stuck one. It worked for me when I tried but I havenīt test that much so I am not sure. /Bosse
Quoting "Stover, Michael" <[EMAIL PROTECTED]>: > Thanks for spotting that. I haven't had any time to go looking, but > since > you've found it for me, I might take a moment to see if it can be easily > fixed. I know the class uses deprecated IO methods, and it might fix it > simply to update that code.... > > -Mike > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, December 18, 2001 1:47 PM > > To: [EMAIL PROTECTED] > > Subject: Bug in proxy module > > > > > > Hello all. > > > > First of all, I'm new to JMeter, and the JSP's. I was > > put into the > > middle of an existing project. We use Load Runner, but I'd > > like to see > > what JMeter can do. > > > > So what I'm trying to do to learn JMeter is to start with a proxy > > testing script. But there is a bug there. When I start the > > proxy server, > > I go to my web broser (doens't matter which one), load the > > login page, fill > > in a username & password, click login, and it hangs. The > > console shows the > > first (load of login), but doesn't show the post. Until I > > hit the stop > > button in the browser, at which point an array index > > exception is thrown. > > > > I've tracked down the issue to > > org.apache.jmeter.protocol.http.proxy.HttpRequestHdr, line > > 147 (this is the > > dec 17th nightly release). At this point JMeter knows a POST is in > > progress, and is trying to read the input from the client > > connection. A > > readln() is used, and it is blocking. This is a bug. Even though the > > stream is ready to read at that point ( I checked this with > > lines.ready() > > which returns true), I'm not sure why a readln is being used. > > Is there a > > garentee that a line end character will be present? > > > > Anyway, the app works fine direct (no JMeter proxy), and > > the proxy of > > LoadRunner doesn't have an issue. Unfortunatly, I'm a bit > > out of my area > > of expertise here. What I could see in the archives sugests that this > > class, this method, is a bit of a problem anyway. > > > > Any ideas? > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > ------------------------------------------------- FREE E-MAIL IN 1 MINUTE! - [EMAIL PROTECTED] - http://www.pc.nu -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>