In JMeter, parameterised the URL and declared it in UDV as below.
Replaced the HTTP requests as ${URL}
Want to run this test in Azure Load test resource using github workflows.Declared the URL as inputs and in the env as below.
Also tried sending value as ${{ github.event.inputs.URL}}. But it didn't work. When workflow is triggered, the URL value is passed as empty. How to fix this.
From JMeter perspective the way of accessing an environment variable value is correct apart from the small improvement: you should use __groovy() function.
or alternatively there is __env() function which can be installed as a part of Custom JMeter Functions bundle using JMeter Plugins Manager
From Github Actions perspective you can access the value as
${{ github.event.inputs.URL }}
where required