http2 header manaeger

59 views
Skip to first unread message

Kobi Leibovitz

unread,
Feb 15, 2021, 5:07:19 AM2/15/21
to jmeter-plugins
Hi,
I'm trying to send http2 http message.
I add under it HTTP header manager, because I want to add some parameters like : Content-Type
but, I don't see the header sent at all.
this is the correct way? exactly like in regular http? or there is another method?

Regards,
Kobi

Joaquín Araujo

unread,
Feb 16, 2021, 2:58:03 PM2/16/21
to jmeter-plugins
Hi Kobi,

Yes! You are doing it in the right way. 
Would you be able to share the jmx? Maybe we can identify another problem that is resulting in this issue.

I've built a small scenario for your case. I created a new http2 request pointing to the https://nghttp2.org/ 
I've added the encoding. It seems to work with that page. Could you verify the same on your side?

Best,
Joaquin

kobi-http2-issue.jmx

Kobi Leibovitz

unread,
Feb 17, 2021, 4:44:17 AM2/17/21
to jmeter-plugins
Hi,
Thanks for support,
I checked the script you send me.
1. run from external network - run successfully with headers.
2. run from internal network (no access to host) - it failed, and header request doesn't print. 
I assume its issue with print the header when request it fails.

Regards,
Kobi

Jmeter_sucess_header.PNG
Jmeter_failed_header.PNG
Reply all
Reply to author
Forward
0 new messages