Extract Client_secret id from azure key vault URL and pass it as a variable in JMeter

132 views Asked by At

How to get or extract client secret id from Azure key vault URL in JMeter . Suppose key vault url is https://vcloud02vault.vault.azure.net/secrets/RootSecret

I tried to hit the URL through JMeter and extract the client_secret id value from the response but not able to do that.

1

There are 1 answers

0
Dmitri T On

We cannot suggest a comprehensive solution without seeing your response, if the endpoint returns the client secret id in any form you should be able to get it using a suitable JMeter Post-Processor, the Post-Processor choice depends on the response data type:

You may also find Stub function for Azure Load Testing plugin useful