Bug 41876

Summary: Add more options to control what the HTTP Proxy generates
Product: JMeter - Now in Github Reporter: Alf Hogemark <alf>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 2.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Suggested patch

Description Alf Hogemark 2007-03-17 10:28:25 UTC
I have the following ideas on options to add to the HTTP Proxy server :

- 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.
Comment 1 Alf Hogemark 2007-03-17 10:39:01 UTC
Created attachment 19728 [details]
Suggested patch

This patch adds the following functionality :
It is now possible to specify the "Redirect automatically", "Follow Redirects",
"Download images" for the HTTPSampler.

It is now possible to choose between the HTTPSampler and HTTPSampler2, i.e.
HTTPClient.

I have restructured the GUI slightly, by grouping items which I think are
related.

There are some places where I should have used "resource strings", I'll fix
that before I submit another patch, which will at least add filtering on
content type.

Any comments appreciated.
Comment 2 Sebb 2007-03-17 15:13:58 UTC
Looks fine so I added it to SVN.

Had to make some minor changes as the patch clashed slightly with one I had 
just made.
Comment 3 The ASF infrastructure team 2022-09-24 20:37:38 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1887