Fetching client secret id from azure key vault in JMeter

847 views Asked by At

I have the client id, tenant id, and endpoint URL for an application. I need to fetch the client's secret id from the azure key vault for authorization purposes in JMeter. I have found a custom JMeter function GetSecret can retrieve the secret value.

Can someone please tell me how to use that function in JMeter?

1

There are 1 answers

0
Dmitri T On

First of all you need to install the custom plugin

  1. Download jmeter-plugins-azure-load-testing-stub-x.x.x.jar from here and drop the .jar under /lib/ext folder of your JMeter installation

  2. Restart JMeter to pick the .jar up

  3. Once done you should be able to use __GetSecret() function just like any other JMeter Function, i.e. here is the screenshot of the Functions Helper Dialog

    enter image description here