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 2018/10/16 07:02:52 UTC

[Bug 62829] New: Proxy server protocol cannot be specified in HTTP request sampler, Advanced tab

https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

            Bug ID: 62829
           Summary: Proxy server protocol cannot be specified in HTTP
                    request sampler, Advanced tab
           Product: JMeter
           Version: 5.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: hitesh.h.patel@gmail.com
  Target Milestone: JMETER_5.1

On HTTP request sampler, advanced tab, proxy server information like
IP/hostname and port can be specified, but there is no place to specify the
protocol to use. Proxy server could be using https but there is no way to
specify to use that protocol for the proxy.

There needs to be a new field added to allow putting in protocol value and make
use of it for making the request.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Proxy server protocol cannot be specified in HTTP request sampler, Advanced tab

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |JMETER_5.1
           Keywords|                            |PatchAvailable

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks for the PR.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Proxy server protocol cannot be specified in HTTP request sampler, Advanced tab, command line option

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Proxy server protocol       |Proxy server protocol
                   |cannot be specified in HTTP |cannot be specified in HTTP
                   |request sampler, Advanced   |request sampler, Advanced
                   |tab                         |tab, command line option

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Allow specifying Proxy server scheme for HTTP request sampler, Advanced tab and command line option

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

--- Comment #7 from Hitesh Patel <hi...@gmail.com> ---
(In reply to Philippe Mouawad from comment #6)
> Thanks for contribution.
> 
> Can you please test nightly build once it is available with and without
> scheme to ensure there is not issue ?
> 
> Thank you.

From https://builds.apache.org/job/JMeter-trunk/6971/, downloaded
apache-jmeter-r1846867.zip
Unzipped apache-jmeter-r1846867.zip

Ran one of our work performance tests with apache-jmeter-r1846867/bin/jmeter
--proxyHost internal.proxyHost --proxyPort 1234 --proxyScheme https ...
from GUI and command line. Verified test ran successfully as expected.

Ran the same test without any proxy host/port/scheme information, on command
line, with running test via GUI and command line. Test run failed as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Allow specifying Proxy server scheme for HTTP request sampler, Advanced tab and command line option

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks for contribution.

Can you please test nightly build once it is available with and without scheme
to ensure there is not issue ?

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Allow specifying Proxy server scheme for HTTP request sampler, Advanced tab and command line option

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |venki.chunduri55@gmail.com

--- Comment #8 from Felix Schumacher <fe...@internetallee.de> ---
*** Bug 63179 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Proxy server protocol cannot be specified in HTTP request sampler, Advanced tab

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|JMETER_5.1                  |---

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Allow specifying Proxy server scheme for HTTP request sampler, Advanced tab and command line option

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |JMETER_5.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Proxy server protocol cannot be specified in HTTP request sampler, Advanced tab

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|JMETER_5.1                  |---
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Severity|normal                      |enhancement

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Can you provide an example of the expected configuration ?
Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Allow specifying Proxy server scheme for HTTP request sampler, Advanced tab and command line option

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Proxy server protocol       |Allow specifying Proxy
                   |cannot be specified in HTTP |server scheme for HTTP
                   |request sampler, Advanced   |request sampler, Advanced
                   |tab, command line option    |tab and command line option

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Proxy server protocol cannot be specified in HTTP request sampler, Advanced tab

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

--- Comment #2 from Hitesh Patel <hi...@gmail.com> ---
Created attachment 36219
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36219&action=edit
Example of what needs to be added

Image of what http request default should look like. http request sampler would
be similar.

I have a patch which I will submit soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Proxy server protocol cannot be specified in HTTP request sampler, Advanced tab

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Hitesh Patel <hi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from Hitesh Patel <hi...@gmail.com> ---
Submitted pull request: https://github.com/apache/jmeter/pull/413

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62829] Allow specifying Proxy server scheme for HTTP request sampler, Advanced tab and command line option

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62829

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Keywords|PatchAvailable              |FixedInTrunk
         Resolution|---                         |FIXED

--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sun Nov 18 21:16:17 2018
New Revision: 1846866

URL: http://svn.apache.org/viewvc?rev=1846866&view=rev
Log:
Bug 62829 - Allow specifying Proxy server scheme for HTTP request sampler,
Advanced tab and command line option

This closes #413
Contributed by Hitesh Patel
Bugzilla Id: 62829

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHCAbstractImpl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/get-started.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.