Bug 41876 - Add more options to control what the HTTP Proxy generates
Summary: Add more options to control what the HTTP Proxy generates
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.2
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-17 10:28 UTC by Alf Hogemark
Modified: 2007-03-17 15:13 UTC (History)
0 users



Attachments
Suggested patch (20.18 KB, patch)
2007-03-17 10:39 UTC, Alf Hogemark
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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