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/07/13 02:26:07 UTC

[Bug 59847] New: Feature Request: Jmeter can't support HTTP/2 request

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

            Bug ID: 59847
           Summary: Feature Request: Jmeter can't support HTTP/2 request
           Product: JMeter
           Version: 2.13
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: xdxp@163.com

The steps of the description:

1.My server has supported HTTP2, and I can get http/2 response header with
firefox browser, chrome, curl and so on, but jmeter failed;

2.Select protocol: https
3.send http request to server who has supported http2
4.we get:
Response headers:
HTTP/1.1 200 OK
5.In fact, I want to get
Response headers:
HTTP/2 200 OK

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Apache JMeter is a load testing tools aimed at testing different protocols as
per:

    https://jmeter.apache.org

HTTP/2 is being actively deployed and we need to support it.

The project will have to handle the following items:

    Trial the java libraries that provide HTTP/2 support:
        Jetty client library
        Netty client library
        HC5 client library
        Any other possible option
    The selection criterias will have to take into account:
        Possibility to record protocol
        Performance
        Maintainbility
        Community
    Once the library is chosen the implementation can start and must provide:
        Recording Feature (The component that records from browser and creates
the Test Plan) as per this bugzilla
            https://bz.apache.org/bugzilla/show_bug.cgi?id=60464
        Sampling (The component that sends the requests to server)
        Listener (The component that receives the sampler results) will have to
be modified to handle asynchronous samplers

Backward compatibility must be carefully analyzed and only broken if there is
no other possibility.

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #5 from Felix Schumacher <fe...@internetallee.de> ---
Great news.

What are the prerequisites to use http/2 with httpcore? Are there any examples
available on how to use it?

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #6 from Oleg Kalnichevski <ol...@apache.org> ---
HttpCore has no dependencies besides JRE 1.7

Examples can be found here

HTTP/1.1:
https://github.com/apache/httpcore/tree/trunk/httpcore5/src/examples/org/apache/hc/core5/http/examples

HTTP/2:
https://github.com/apache/httpcore/tree/trunk/httpcore5-h2/src/examples/org/apache/hc/core5/http/examples

Oleg

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #4 from Oleg Kalnichevski <ol...@apache.org> ---
For what it is worth to you HttpCore (the library JMeter already makes use of
albeit through HttpClient 4.x) now has a fairly feature complete HTTP/2
support. I would be more than willing to help first users of the new transport.

Oleg

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #14 from Sunny Agrawal <su...@gmail.com> ---
Hi Philippe,

Do we have any implementations to performance test HTTP/2 protocol.

Thanks

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

[Bug 59847] Support HTTP/2 protocol

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |60464


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=60464
[Bug 60464] Create a new Recorder less tightly coupled with underlying recorded
protocol
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #7 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks Oleg for your help.

Besides the sampling, an important feature to consider is the recording of such
traffic.
Do you have some guidelines on how to umplement this ?

Thanks

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
See
https://github.com/http2/http2-spec/wiki/Implementations

Http2 adoption will increase this year, if we don't do anything to prepare it,
it could hamper JMeter's future

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

[Bug 59847] Feature Request: Jmeter can't support HTTP/2 request

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Hardware|PC                          |All
            Version|2.13                        |3.0
           Severity|critical                    |enhancement

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #11 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Thanks for proposing your services.
No work is started yet , we were discussing possible implementations tobade
code on.
Mainly:
- netty
- hc5 which is still in alpha
- jetty

If you're already comfortable with http2 , your opinions are quite welcome and
we'll be happy to help and merge your code.

Regards

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

[Bug 59847] Support HTTP/2 protocol

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1

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

[Bug 59847] Support HTTP/2 protocol

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liu_xp2003@sina.com

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 59955 has been marked as a duplicate of this bug. ***

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #10 from Chanaka Balasooriya <ch...@gmail.com> ---
Hi, 

I am interested in working on this issue since I have some prior experience of
HTTP/2 protocol. Is there anyone already working on this?

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #13 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 63416 has been marked as a duplicate of this bug. ***

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #9 from Liu XP <li...@sina.com> ---
Do we have any schedule of the new feature?
I am looking forward the beta version for this feature and I will join the test
when it ready.

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

[Bug 59847] Support HTTP/2 protocol

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Feature Request: Jmeter     |Support HTTP/2 protocol
                   |can't support HTTP/2        |
                   |request                     |

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #15 from Liu XP <li...@sina.com> ---
Hi Philippe,

HTTP/2 is very pop(Google,Alibaba and so on) now.
HttpClient5 and JDK 11 is support HTTP/2 protocal.
Is it time to plan and implement completement ?

Thanks

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #8 from Oleg Kalnichevski <ol...@apache.org> ---
This very much depends on what kind of information you would like to record. 

If what you want to capture are HTTP/2 frames HttpCore exposes a listener
interface one can use to intercept every HTTP/2 frames transferred by a HTTP/2
connection. 

See
https://github.com/apache/httpcore/blob/trunk/httpcore5-h2/src/examples/org/apache/hc/core5/http/examples/Http2MultiStreamExecutionExample.java#L80

Oleg

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

[Bug 59847] Support HTTP/2 protocol

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

--- Comment #2 from Sebb <se...@apache.org> ---
JMeter relies on external code to implement protocols such as HTTP.

It will be possible to add HTTP2 only once there is a suitable implementation.

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

[Bug 59847] Feature Request: Jmeter can't support HTTP/2 request

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

xdxp@163.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
                 CC|                            |xdxp@163.com

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