You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/05/22 23:45:15 UTC
[Bug 59614] New: Ability to getSamplerCreator by header fields other
than CONTENT-TYPE
https://bz.apache.org/bugzilla/show_bug.cgi?id=59614
Bug ID: 59614
Summary: Ability to getSamplerCreator by header fields other
than CONTENT-TYPE
Product: JMeter
Version: 3.0
Hardware: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: michael.chirlin@gmail.com
During Proxy recording I have requests that I want to handle with a
SampleCreator other than the DeafultSampleCreator, but the
SamplerCreatorFactory only lets the Content-Type header determine which creator
is used.
I propose to allow other header type fields to select the SamplerCreator.
Currently in my local installation I am selecting the SamplerCreator first
using the content-type header and then falling back to the accept header:
SamplerCreator creator = samplerCreatorMap.get(request.getContentType());
if (creator == null) {
creator = samplerCreatorMap.get(request.getAccept());
}
But it would probably be better to add an additional method to the
SamplerCreator for getManagedAcceptTypes and have two maps
samplerCreatorContentTypeMap and samplerCreatorAcceptMap.
What is the best way for me to make suggestions like this? How easy is it to
attach the proposed code?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59614] Ability to getSamplerCreator by header fields other than
CONTENT-TYPE
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59614
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
CC| |p.mouawad@ubik-ingenierie.c
| |om
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
The best thing is to open a discussion on dev mailing list:
- http://jmeter.apache.org/mail.html
For contribution read this:
- http://jmeter.apache.org/building.html
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.