You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Alf Høgemark <al...@i100.no> on 2007/03/17 09:09:46 UTC

Adding functionality to the HTTP Proxy Server

Hi

I am considering doing some work on the HTTP Proxy Server.

Here is what I've thought about so far :
- Make it possible to filter requests by specifying "content type to 
include" and "content type to exclude" regular expressions
- Allow user to specify if the HTTP Request or HTTP Request HTTP Client 
requests should be put into test plan
- Allow user to control more parameters for the HTTP Request, namely 
Follow Redirects, Download all images and applets
- Restructure GUI of the HTTP Proxy slightly, to make it clearer what 
the different options are controlling by grouping relevant items
- Have a look if it is possible to figure out the character set encoding 
used, and then set the "Content encoding" on the HTTP Request
- Have a look at how the parameter values are decoded and encoded, 
possibly showing nice, unencoded values as the parameter values in the 
HTTP Request.
I think there are several bugzilla reports around the proxy and handling 
of encoding and decoding

The filtering on content type and being able to set the "download all 
images", should make it possible to make a more compact test plan,
by just including text/html requests, and then setting "download all 
images" on all the requests that are added to the test plan.

Any are comments appreciated.

Regards
Alf Hogemark

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Adding functionality to the HTTP Proxy Server

Posted by Nino Wael <Ni...@sdk.sas.com>.
Done (updated the bug), attached test plan and described the variant.

regartds Nino


-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Tue 20-03-2007 11:31
To: JMeter Users List
Subject: Re: Adding functionality to the HTTP Proxy Server
 
In that case, please either update the bug with your details or create
a new one so it won't get forgottten.

On 20/03/07, Nino Wael <Ni...@sdk.sas.com> wrote:
> Ok, then it not that specific bug, although it has the same symptons. It does not matter wheter you change the selected item or not.
>
> regards Nino
>
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Mon 19-03-2007 19:50
> To: JMeter Users List
> Subject: Re: Adding functionality to the HTTP Proxy Server
>
> Are you sure that is the correct bug?
>
> There is an easy work-round for it - don't change the selected item in
> the test tree whilst recording.
>
> S.
> On 19/03/07, Nino Wael <Ni...@sdk.sas.com> wrote:
> > It has the same symptons, and is a plain variant. I think fixing your this bug http://issues.apache.org/bugzilla/show_bug.cgi?id=39427 <http://issues.apache.org/bugzilla/show_bug.cgi?id=39427>  could fix it, I'll recheck it when the bug gets fixed.
> >
> > regards Nino
> >
> > ________________________________
> >
> > Fra: Nino Wael [mailto:Nino.Wael@sdk.sas.com]
> > Sendt: ma 19-03-2007 17:39
> > Til: JMeter Users List; JMeter Users List
> > Emne: SV: Adding functionality to the HTTP Proxy Server
> >
> >
> >
> > I'll check if its the same,
> >
> > looks as it might be an variant something todo with a test plan with too many recording controllers..
> >
> > i'll get back to you..
> >
> > ________________________________
> >
> > Fra: Alf Høgemark [mailto:alf@i100.no]
> > Sendt: lø 17-03-2007 18:52
> > Til: JMeter Users List
> > Emne: Re: Adding functionality to the HTTP Proxy Server
> >
> >
> >
> >
> > Nino Wael wrote:
> > > Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical.
> > >
> > > I'll be happy to provide more extensively information about it.
> > >
> > > regards Nino
> > >
> > >
> > >
> > Hi.
> >
> > Is your problem really :
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=39427
> >
> > I read briefly the discussion on the mailing list, where you described
> > the problem.
> > If it is not the same problem as 39427, it would be nice if you could
> > create a bug report in bugzilla for the issue,
> > with detailed and exact steps on how to reproduce the problem, if possible.
> >
> > I cannot promise anything, but I think I will have a look at your
> > problem in the near future.
> >
> >
> > Alf
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org




Re: Adding functionality to the HTTP Proxy Server

Posted by sebb <se...@gmail.com>.
In that case, please either update the bug with your details or create
a new one so it won't get forgottten.

On 20/03/07, Nino Wael <Ni...@sdk.sas.com> wrote:
> Ok, then it not that specific bug, although it has the same symptons. It does not matter wheter you change the selected item or not.
>
> regards Nino
>
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Mon 19-03-2007 19:50
> To: JMeter Users List
> Subject: Re: Adding functionality to the HTTP Proxy Server
>
> Are you sure that is the correct bug?
>
> There is an easy work-round for it - don't change the selected item in
> the test tree whilst recording.
>
> S.
> On 19/03/07, Nino Wael <Ni...@sdk.sas.com> wrote:
> > It has the same symptons, and is a plain variant. I think fixing your this bug http://issues.apache.org/bugzilla/show_bug.cgi?id=39427 <http://issues.apache.org/bugzilla/show_bug.cgi?id=39427>  could fix it, I'll recheck it when the bug gets fixed.
> >
> > regards Nino
> >
> > ________________________________
> >
> > Fra: Nino Wael [mailto:Nino.Wael@sdk.sas.com]
> > Sendt: ma 19-03-2007 17:39
> > Til: JMeter Users List; JMeter Users List
> > Emne: SV: Adding functionality to the HTTP Proxy Server
> >
> >
> >
> > I'll check if its the same,
> >
> > looks as it might be an variant something todo with a test plan with too many recording controllers..
> >
> > i'll get back to you..
> >
> > ________________________________
> >
> > Fra: Alf Høgemark [mailto:alf@i100.no]
> > Sendt: lø 17-03-2007 18:52
> > Til: JMeter Users List
> > Emne: Re: Adding functionality to the HTTP Proxy Server
> >
> >
> >
> >
> > Nino Wael wrote:
> > > Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical.
> > >
> > > I'll be happy to provide more extensively information about it.
> > >
> > > regards Nino
> > >
> > >
> > >
> > Hi.
> >
> > Is your problem really :
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=39427
> >
> > I read briefly the discussion on the mailing list, where you described
> > the problem.
> > If it is not the same problem as 39427, it would be nice if you could
> > create a bug report in bugzilla for the issue,
> > with detailed and exact steps on how to reproduce the problem, if possible.
> >
> > I cannot promise anything, but I think I will have a look at your
> > problem in the near future.
> >
> >
> > Alf
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Adding functionality to the HTTP Proxy Server

Posted by Nino Wael <Ni...@sdk.sas.com>.
Ok, then it not that specific bug, although it has the same symptons. It does not matter wheter you change the selected item or not.

regards Nino


-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Mon 19-03-2007 19:50
To: JMeter Users List
Subject: Re: Adding functionality to the HTTP Proxy Server
 
Are you sure that is the correct bug?

There is an easy work-round for it - don't change the selected item in
the test tree whilst recording.

S.
On 19/03/07, Nino Wael <Ni...@sdk.sas.com> wrote:
> It has the same symptons, and is a plain variant. I think fixing your this bug http://issues.apache.org/bugzilla/show_bug.cgi?id=39427 <http://issues.apache.org/bugzilla/show_bug.cgi?id=39427>  could fix it, I'll recheck it when the bug gets fixed.
>
> regards Nino
>
> ________________________________
>
> Fra: Nino Wael [mailto:Nino.Wael@sdk.sas.com]
> Sendt: ma 19-03-2007 17:39
> Til: JMeter Users List; JMeter Users List
> Emne: SV: Adding functionality to the HTTP Proxy Server
>
>
>
> I'll check if its the same,
>
> looks as it might be an variant something todo with a test plan with too many recording controllers..
>
> i'll get back to you..
>
> ________________________________
>
> Fra: Alf Høgemark [mailto:alf@i100.no]
> Sendt: lø 17-03-2007 18:52
> Til: JMeter Users List
> Emne: Re: Adding functionality to the HTTP Proxy Server
>
>
>
>
> Nino Wael wrote:
> > Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical.
> >
> > I'll be happy to provide more extensively information about it.
> >
> > regards Nino
> >
> >
> >
> Hi.
>
> Is your problem really :
> http://issues.apache.org/bugzilla/show_bug.cgi?id=39427
>
> I read briefly the discussion on the mailing list, where you described
> the problem.
> If it is not the same problem as 39427, it would be nice if you could
> create a bug report in bugzilla for the issue,
> with detailed and exact steps on how to reproduce the problem, if possible.
>
> I cannot promise anything, but I think I will have a look at your
> problem in the near future.
>
>
> Alf
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org




Re: Adding functionality to the HTTP Proxy Server

Posted by sebb <se...@gmail.com>.
Are you sure that is the correct bug?

There is an easy work-round for it - don't change the selected item in
the test tree whilst recording.

S.
On 19/03/07, Nino Wael <Ni...@sdk.sas.com> wrote:
> It has the same symptons, and is a plain variant. I think fixing your this bug http://issues.apache.org/bugzilla/show_bug.cgi?id=39427 <http://issues.apache.org/bugzilla/show_bug.cgi?id=39427>  could fix it, I'll recheck it when the bug gets fixed.
>
> regards Nino
>
> ________________________________
>
> Fra: Nino Wael [mailto:Nino.Wael@sdk.sas.com]
> Sendt: ma 19-03-2007 17:39
> Til: JMeter Users List; JMeter Users List
> Emne: SV: Adding functionality to the HTTP Proxy Server
>
>
>
> I'll check if its the same,
>
> looks as it might be an variant something todo with a test plan with too many recording controllers..
>
> i'll get back to you..
>
> ________________________________
>
> Fra: Alf Høgemark [mailto:alf@i100.no]
> Sendt: lø 17-03-2007 18:52
> Til: JMeter Users List
> Emne: Re: Adding functionality to the HTTP Proxy Server
>
>
>
>
> Nino Wael wrote:
> > Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical.
> >
> > I'll be happy to provide more extensively information about it.
> >
> > regards Nino
> >
> >
> >
> Hi.
>
> Is your problem really :
> http://issues.apache.org/bugzilla/show_bug.cgi?id=39427
>
> I read briefly the discussion on the mailing list, where you described
> the problem.
> If it is not the same problem as 39427, it would be nice if you could
> create a bug report in bugzilla for the issue,
> with detailed and exact steps on how to reproduce the problem, if possible.
>
> I cannot promise anything, but I think I will have a look at your
> problem in the near future.
>
>
> Alf
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


SV: Adding functionality to the HTTP Proxy Server

Posted by Nino Wael <Ni...@sdk.sas.com>.
It has the same symptons, and is a plain variant. I think fixing your this bug http://issues.apache.org/bugzilla/show_bug.cgi?id=39427 <http://issues.apache.org/bugzilla/show_bug.cgi?id=39427>  could fix it, I'll recheck it when the bug gets fixed.
 
regards Nino

________________________________

Fra: Nino Wael [mailto:Nino.Wael@sdk.sas.com]
Sendt: ma 19-03-2007 17:39
Til: JMeter Users List; JMeter Users List
Emne: SV: Adding functionality to the HTTP Proxy Server



I'll check if its the same,

looks as it might be an variant something todo with a test plan with too many recording controllers..

i'll get back to you..

________________________________

Fra: Alf Høgemark [mailto:alf@i100.no]
Sendt: lø 17-03-2007 18:52
Til: JMeter Users List
Emne: Re: Adding functionality to the HTTP Proxy Server




Nino Wael wrote:
> Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical.
>
> I'll be happy to provide more extensively information about it.
>
> regards Nino
>
> 
>
Hi.

Is your problem really :
http://issues.apache.org/bugzilla/show_bug.cgi?id=39427

I read briefly the discussion on the mailing list, where you described
the problem.
If it is not the same problem as 39427, it would be nice if you could
create a bug report in bugzilla for the issue,
with detailed and exact steps on how to reproduce the problem, if possible.

I cannot promise anything, but I think I will have a look at your
problem in the near future.


Alf

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org





SV: Adding functionality to the HTTP Proxy Server

Posted by Nino Wael <Ni...@sdk.sas.com>.
I'll check if its the same,
 
looks as it might be an variant something todo with a test plan with too many recording controllers..
 
i'll get back to you..

________________________________

Fra: Alf Høgemark [mailto:alf@i100.no]
Sendt: lø 17-03-2007 18:52
Til: JMeter Users List
Emne: Re: Adding functionality to the HTTP Proxy Server




Nino Wael wrote:
> Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical.
>
> I'll be happy to provide more extensively information about it.
>
> regards Nino
>
>  
>
Hi.

Is your problem really :
http://issues.apache.org/bugzilla/show_bug.cgi?id=39427

I read briefly the discussion on the mailing list, where you described
the problem.
If it is not the same problem as 39427, it would be nice if you could
create a bug report in bugzilla for the issue,
with detailed and exact steps on how to reproduce the problem, if possible.

I cannot promise anything, but I think I will have a look at your
problem in the near future.


Alf

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Adding functionality to the HTTP Proxy Server

Posted by Alf Høgemark <al...@i100.no>.
Nino Wael wrote:
> Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical.
>
> I'll be happy to provide more extensively information about it.
>
> regards Nino
>
>   
>
Hi.

Is your problem really : 
http://issues.apache.org/bugzilla/show_bug.cgi?id=39427

I read briefly the discussion on the mailing list, where you described 
the problem.
If it is not the same problem as 39427, it would be nice if you could 
create a bug report in bugzilla for the issue,
with detailed and exact steps on how to reproduce the problem, if possible.

I cannot promise anything, but I think I will have a look at your 
problem in the near future.


Alf

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Adding functionality to the HTTP Proxy Server

Posted by Nino Wael <Ni...@sdk.sas.com>.
Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical.

I'll be happy to provide more extensively information about it.

regards Nino


-----Original Message-----
From: Alf Høgemark [mailto:alf@i100.no]
Sent: Sat 17-03-2007 09:09
To: jmeter-user@jakarta.apache.org
Subject: Adding functionality to the HTTP Proxy Server
 
Hi

I am considering doing some work on the HTTP Proxy Server.

Here is what I've thought about so far :
- Make it possible to filter requests by specifying "content type to 
include" and "content type to exclude" regular expressions
- Allow user to specify if the HTTP Request or HTTP Request HTTP Client 
requests should be put into test plan
- Allow user to control more parameters for the HTTP Request, namely 
Follow Redirects, Download all images and applets
- Restructure GUI of the HTTP Proxy slightly, to make it clearer what 
the different options are controlling by grouping relevant items
- Have a look if it is possible to figure out the character set encoding 
used, and then set the "Content encoding" on the HTTP Request
- Have a look at how the parameter values are decoded and encoded, 
possibly showing nice, unencoded values as the parameter values in the 
HTTP Request.
I think there are several bugzilla reports around the proxy and handling 
of encoding and decoding

The filtering on content type and being able to set the "download all 
images", should make it possible to make a more compact test plan,
by just including text/html requests, and then setting "download all 
images" on all the requests that are added to the test plan.

Any are comments appreciated.

Regards
Alf Hogemark

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org




Re: Adding functionality to the HTTP Proxy Server

Posted by sebb <se...@gmail.com>.
On 17/03/07, Alf Høgemark <al...@i100.no> wrote:
>
>
> sebb wrote:
> >
> > I think that has already have been done via a property -
> > jmeter.httpsampler - but it could be turned into a GUI option.
> >
> Yes, that setting controls what class the HTTPSamplerFactory will
> instantiate.
> But by changing it to HTTPSampler2, and trying to use the HTTP Proxy,
> you get an exception
> from the HTTPSampler :
> 2007/03/17 18:15:58 ERROR - jmeter.protocol.http.proxy.Proxy:
> java.lang.NullPointerException
>    at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.setupConnection(HTTPSampler2.java:333)
>    at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:569)
>    at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:722)
>    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:124)
>
> This is caused by the fact that the threadStartet() on the HTTPSampler
> is not being called by the Proxy.
> One also has to change the code so that the correct GUI class for the
> HTTPSampler2 is sent from the Proxy.
> So the Proxy as it is today, does not support the HTTPSampler2.

I've fixed those problems.

S

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Adding functionality to the HTTP Proxy Server

Posted by Alf Høgemark <al...@i100.no>.

sebb wrote:
>
> I think that has already have been done via a property -
> jmeter.httpsampler - but it could be turned into a GUI option.
>
Yes, that setting controls what class the HTTPSamplerFactory will 
instantiate.
But by changing it to HTTPSampler2, and trying to use the HTTP Proxy, 
you get an exception
from the HTTPSampler :
2007/03/17 18:15:58 ERROR - jmeter.protocol.http.proxy.Proxy:  
java.lang.NullPointerException
    at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.setupConnection(HTTPSampler2.java:333)
    at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:569)
    at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:722)
    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:124)

This is caused by the fact that the threadStartet() on the HTTPSampler 
is not being called by the Proxy.
One also has to change the code so that the correct GUI class for the 
HTTPSampler2 is sent from the Proxy.
So the Proxy as it is today, does not support the HTTPSampler2.

>
> All seem sensible ideas to me.
>
> The proxy uses the generated sampler to talk to the server, so it may
> be a bit tricky to set some of the options. Or it may just be a
> question of changing the options after the sampler has been used.
>
>
Thanks for the comments.

I've added bugzilla enhancement 41876 for this, and will supply a patch 
for it in a few minutes.
And I will probably add more functionality and patches for the same 
issue in the near future.
If anyone cares to have a look at the patches, or test it, it would be 
very useful.


Regards
Alf

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Adding functionality to the HTTP Proxy Server

Posted by sebb <se...@gmail.com>.
On 17/03/07, Alf Høgemark <al...@i100.no> wrote:
> Hi
>
> I am considering doing some work on the HTTP Proxy Server.
>
> Here is what I've thought about so far :
> - Make it possible to filter requests by specifying "content type to
> include" and "content type to exclude" regular expressions

Good idea.

> - Allow user to specify if the HTTP Request or HTTP Request HTTP Client
> requests should be put into test plan

I think that has already have been done via a property -
jmeter.httpsampler - but it could be turned into a GUI option.

> - Allow user to control more parameters for the HTTP Request, namely
> Follow Redirects, Download all images and applets
> - Restructure GUI of the HTTP Proxy slightly, to make it clearer what
> the different options are controlling by grouping relevant items
> - Have a look if it is possible to figure out the character set encoding
> used, and then set the "Content encoding" on the HTTP Request
> - Have a look at how the parameter values are decoded and encoded,
> possibly showing nice, unencoded values as the parameter values in the
> HTTP Request.
> I think there are several bugzilla reports around the proxy and handling
> of encoding and decoding
>
> The filtering on content type and being able to set the "download all
> images", should make it possible to make a more compact test plan,
> by just including text/html requests, and then setting "download all
> images" on all the requests that are added to the test plan.
>
> Any are comments appreciated.

All seem sensible ideas to me.

The proxy uses the generated sampler to talk to the server, so it may
be a bit tricky to set some of the options. Or it may just be a
question of changing the options after the sampler has been used.

> Regards
> Alf Hogemark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org