Re: Re: Re: Bug in proxy module

2001-12-26 Thread Bo Regnlin

I have allready sent Miikel Stover a patch for it.
I am now looking to see if I can make it work for https as well.

Quoting [EMAIL PROTECTED]:

> 
> Unfortunatly, yes, it is intenal at this point.  Is there any
> information I
> might be able to provide to help?
> 
> 
> 
> 
> 
> 
> [EMAIL PROTECTED] on 12/20/2001 09:56:41 PM
> 
> Please respond to "JMeter Developers List"
> <[EMAIL PROTECTED]>
> 
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  Re: Re: Re: Bug in proxy module
> 
> Hi,
> 
> You are testing an internal website, I suppose =) ?  Anyone know of
> any public websites that 'cos JMeter to exhibit this behaviour?
> It'll help me tremendously in writing a patch for it.  I'll try a few
> myself.
> 
> Thanks.
>  Begin Original Message 
> 
> From: [EMAIL PROTECTED]
> Sent: Thu, 20 Dec 2001 08:09:01 -0500
> To: "JMeter Developers List" <[EMAIL PROTECTED]>
> Subject: Re: Re: Bug in proxy module
> 
> 
> 
> I don 't think so.
> 
> I had searched for the problem before posting about it (imagine
> that! ;-}
> ), and saw that.  The build I had was a nightly from Dev 17th,, so in
> theory should have had those patches.  But because that build still
> exhibis
> the problem, I tried the patch, but they fail.
> 
> 
> 
> 
> 
> 
> [EMAIL PROTECTED] on 12/20/2001 01:37:11 AM
> 
> Please respond to "JMeter Developers List"  [EMAIL PROTECTED]>
> 
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  Re: Re: Bug in proxy module
> 
> Hi,
> 
> I hope nobody is referring to bug #4530 'cos the
> fixes for that was committed 2 weeks ago.
> 
> Raditha, did you submit a patch for this new bug
> here in the list or did you post it on bugzilla
> database.  What is the bug #ID?
> 
> neth
>  Begin Original Message 
>  From: raditha dissanayake <[EMAIL PROTECTED]>
> Sent: Wed, 19 Dec 2001 09:41:11 +0600
> To: JMeter Developers List
> <[EMAIL PROTECTED]>
> Subject: Re: Bug in proxy module
> 
> 
> i came across the same bug and submitted a fix
> for that. Since then i
> have seen two others submit fixes but still it
> has not been included in
> the nightly builds.
> 
> 
> Stover, Michael wrote:
> 
> > Could you forward your changes to the list?
> >
> >
> >>-Original Message-
> >>From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
> >>Sent: Tuesday, December 18, 2001 3:20 PM
> >>To: JMeter Developers List; Stover, Michael
> >>Cc: 'JMeter Developers List'
> >>Subject: RE: Bug in proxy module
> >>
> >>
> >>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.
>

Re: Re: Re: Bug in proxy module

2001-12-26 Thread TimothyReaves


Unfortunatly, yes, it is intenal at this point.  Is there any information I
might be able to provide to help?






[EMAIL PROTECTED] on 12/20/2001 09:56:41 PM

Please respond to "JMeter Developers List" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Re: Re: Bug in proxy module

Hi,

You are testing an internal website, I suppose =) ?  Anyone know of
any public websites that 'cos JMeter to exhibit this behaviour?
It'll help me tremendously in writing a patch for it.  I'll try a few
myself.

Thanks.
 Begin Original Message 

From: [EMAIL PROTECTED]
Sent: Thu, 20 Dec 2001 08:09:01 -0500
To: "JMeter Developers List" <[EMAIL PROTECTED]>
Subject: Re: Re: Bug in proxy module



I don 't think so.

I had searched for the problem before posting about it (imagine
that! ;-}
), and saw that.  The build I had was a nightly from Dev 17th,, so in
theory should have had those patches.  But because that build still
exhibis
the problem, I tried the patch, but they fail.






[EMAIL PROTECTED] on 12/20/2001 01:37:11 AM

Please respond to "JMeter Developers List" 

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Re: Bug in proxy module

Hi,

I hope nobody is referring to bug #4530 'cos the
fixes for that was committed 2 weeks ago.

Raditha, did you submit a patch for this new bug
here in the list or did you post it on bugzilla
database.  What is the bug #ID?

neth
 Begin Original Message 
 From: raditha dissanayake <[EMAIL PROTECTED]>
Sent: Wed, 19 Dec 2001 09:41:11 +0600
To: JMeter Developers List
<[EMAIL PROTECTED]>
Subject: Re: Bug in proxy module


i came across the same bug and submitted a fix
for that. Since then i
have seen two others submit fixes but still it
has not been included in
the nightly builds.


Stover, Michael wrote:

> Could you forward your changes to the list?
>
>
>>-Original Message-
>>From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 18, 2001 3:20 PM
>>To: JMeter Developers List; Stover, Michael
>>Cc: 'JMeter Developers List'
>>Subject: RE: Bug in proxy module
>>
>>
>>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 

RE: Bug in proxy module

2001-12-22 Thread Bo Regnlin

Here you are, now the post works and I have allso replaced DataOutputStream 
with an own class that extend BufferedInputStream just to implement my own 
readLine.
I have allso put in some flags in Proxy, to be able to turn on and of output to 
Std out.
I shall investigate in the Proxy a little more and see if I can do some more to 
it, but I think it is working better now anyway.
I´ll hope it can be of some use. /Bosse

Quoting "Stover, Michael" <[EMAIL PROTECTED]>:

> Could you forward your changes to the list?
> 
> > -Original Message-
> > From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 18, 2001 3:20 PM
> > To: JMeter Developers List; Stover, Michael
> > Cc: 'JMeter Developers List'
> > Subject: RE: Bug in proxy module
> > 
> > 
> > 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]>
> > 
> > 
> 
> --
> 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



proxy.zip
Description: Zip compressed data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Re: Re: Re: Bug in proxy module

2001-12-20 Thread neth6

Hi,

You are testing an internal website, I suppose =) ?  Anyone know of
any public websites that 'cos JMeter to exhibit this behaviour?
It'll help me tremendously in writing a patch for it.  I'll try a few
myself.

Thanks.
 Begin Original Message 

From: [EMAIL PROTECTED]
Sent: Thu, 20 Dec 2001 08:09:01 -0500
To: "JMeter Developers List" <[EMAIL PROTECTED]>
Subject: Re: Re: Bug in proxy module



I don 't think so.

I had searched for the problem before posting about it (imagine
that! ;-}
), and saw that.  The build I had was a nightly from Dev 17th,, so in
theory should have had those patches.  But because that build still
exhibis
the problem, I tried the patch, but they fail.






[EMAIL PROTECTED] on 12/20/2001 01:37:11 AM

Please respond to "JMeter Developers List" 

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Re: Bug in proxy module

Hi,

I hope nobody is referring to bug #4530 'cos the
fixes for that was committed 2 weeks ago.

Raditha, did you submit a patch for this new bug
here in the list or did you post it on bugzilla
database.  What is the bug #ID?

neth
 Begin Original Message 
 From: raditha dissanayake <[EMAIL PROTECTED]>
Sent: Wed, 19 Dec 2001 09:41:11 +0600
To: JMeter Developers List
<[EMAIL PROTECTED]>
Subject: Re: Bug in proxy module


i came across the same bug and submitted a fix
for that. Since then i
have seen two others submit fixes but still it
has not been included in
the nightly builds.


Stover, Michael wrote:

> Could you forward your changes to the list?
>
>
>>-Original Message-
>>From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 18, 2001 3:20 PM
>>To: JMeter Developers List; Stover, Michael
>>Cc: 'JMeter Developers List'
>>Subject: RE: Bug in proxy module
>>
>>
>>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 

Re: Re: Bug in proxy module

2001-12-20 Thread TimothyReaves


I don 't think so.

I had searched for the problem before posting about it (imagine that! ;-}
), and saw that.  The build I had was a nightly from Dev 17th,, so in
theory should have had those patches.  But because that build still exhibis
the problem, I tried the patch, but they fail.






[EMAIL PROTECTED] on 12/20/2001 01:37:11 AM

Please respond to "JMeter Developers List" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Re: Bug in proxy module

Hi,

I hope nobody is referring to bug #4530 'cos the
fixes for that was committed 2 weeks ago.

Raditha, did you submit a patch for this new bug
here in the list or did you post it on bugzilla
database.  What is the bug #ID?

neth
 Begin Original Message 
 From: raditha dissanayake <[EMAIL PROTECTED]>
Sent: Wed, 19 Dec 2001 09:41:11 +0600
To: JMeter Developers List
<[EMAIL PROTECTED]>
Subject: Re: Bug in proxy module


i came across the same bug and submitted a fix
for that. Since then i
have seen two others submit fixes but still it
has not been included in
the nightly builds.


Stover, Michael wrote:

> Could you forward your changes to the list?
>
>
>>-Original Message-
>>From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 18, 2001 3:20 PM
>>To: JMeter Developers List; Stover, Michael
>>Cc: 'JMeter Developers List'
>>Subject: RE: Bug in proxy module
>>
>>
>>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,

Re: Re: Bug in proxy module

2001-12-19 Thread neth6

Hi,

I hope nobody is referring to bug #4530 'cos the
fixes for that was committed 2 weeks ago.

Raditha, did you submit a patch for this new bug
here in the list or did you post it on bugzilla
database.  What is the bug #ID?

neth
 Begin Original Message 
 From: raditha dissanayake <[EMAIL PROTECTED]>
Sent: Wed, 19 Dec 2001 09:41:11 +0600
To: JMeter Developers List
<[EMAIL PROTECTED]>
Subject: Re: Bug in proxy module


i came across the same bug and submitted a fix
for that. Since then i
have seen two others submit fixes but still it
has not been included in
the nightly builds.


Stover, Michael wrote:

> Could you forward your changes to the list?
>
>
>>-Original Message-
>>From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 18, 2001 3:20 PM
>>To: JMeter Developers List; Stover, Michael
>>Cc: 'JMeter Developers List'
>>Subject: RE: Bug in proxy module
>>
>>
>>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]>
>>
>>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
Raditha Dissanayake
[EMAIL PROTECTED]
http://www.mediasolv.com/?rd





--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


 End Original Message 


__
For the latest news, go to http://www.asia1.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Bug in proxy module

2001-12-19 Thread TimothyReaves


Could you forward me the fixes?







raditha dissanayake <[EMAIL PROTECTED]> on 12/18/2001 10:41:11 PM

Please respond to "JMeter Developers List" <[EMAIL PROTECTED]>

To:   JMeter Developers List <[EMAIL PROTECTED]>
cc:
Subject:  Re: Bug in proxy module

i came across the same bug and submitted a fix for that. Since then i
have seen two others submit fixes but still it has not been included in
the nightly builds.


Stover, Michael wrote:

> Could you forward your changes to the list?
>
>
>>-Original Message-
>>From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 18, 2001 3:20 PM
>>To: JMeter Developers List; Stover, Michael
>>Cc: 'JMeter Developers List'
>>Subject: RE: Bug in proxy module
>>
>>
>>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]>
>>
>>
>
> --
> To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
>


--
Raditha Dissanayake
[EMAIL PROTECTED]
http://www.mediasolv.com/?rd





--
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]>




Re: Bug in proxy module

2001-12-18 Thread raditha dissanayake

i came across the same bug and submitted a fix for that. Since then i 
have seen two others submit fixes but still it has not been included in 
the nightly builds.


Stover, Michael wrote:

> Could you forward your changes to the list?
> 
> 
>>-Original Message-
>>From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 18, 2001 3:20 PM
>>To: JMeter Developers List; Stover, Michael
>>Cc: 'JMeter Developers List'
>>Subject: RE: Bug in proxy module
>>
>>
>>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]>
>>
>>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Raditha Dissanayake
[EMAIL PROTECTED]
http://www.mediasolv.com/?rd





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Bug in proxy module

2001-12-18 Thread Stover, Michael

Could you forward your changes to the list?

> -Original Message-
> From: Bo Regnlin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 18, 2001 3:20 PM
> To: JMeter Developers List; Stover, Michael
> Cc: 'JMeter Developers List'
> Subject: RE: Bug in proxy module
> 
> 
> 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]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Bug in proxy module

2001-12-18 Thread Bo Regnlin

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:   
> 
> For additional commands, e-mail:
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 
> 



 

-
FREE E-MAIL IN 1 MINUTE!
 - [EMAIL PROTECTED] - http://www.pc.nu

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Bug in proxy module

2001-12-18 Thread Stover, Michael

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:   

For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: