Hi awesome k6 community,
I have a quick question. So we have this http1.1 issue with our oauth service that I found a workaround reading the below posts:
Any way to force to use HTTP/1.1 protocol · Issue #936 · grafana/k6 · GitHub
Mention GODEBUG usage to enforce HTTP/1 · Issue #664 · grafana/k6-docs · GitHub
Any way to force to use HTTP/1.1 protocol · Issue #936 · grafana/k6 · GitHub
feature/Force HTTP1 functionality by sjordhani22 · Pull Request #2222 · grafana/k6 · GitHub
So in linux, I just need to run: GODEBUG=http2client=0 k6 run script.js
and the issue is taken care of.
However, I couldn’t figure out how to pass argument GODEBUG=http2client=0
in Azure DevOps/Azure Pipeline using k6 official Azure DevOps extension ( k6 Load Testing - Visual Studio Marketplace)
Any advice? Thanks and have a great day.
Hi @yli !
I’m not familiar with the Azure pipelines but have you tried to use variables
?
Like:
variables:
- name: GODEBUG
value: http2client=0
Let me know if that helps!
Cheers!
1 Like