Handle managed identity with JMeter

54 Views Asked by At

The scenario is that in Azure, managed identity is setup to the app and that would grant access to the API's. We need to performance test the API's using Jmeter and run it in azure load test resource.

How to handle managed identity API's using JMeter?

1

There are 1 best solutions below

0
On

It's a matter of providing a special HTTP Header called Authorization with the value of Bearer followed by the value of msi-access-token

In JMeter you can add this (and any other HTTP Headers if needed) using HTTP Header Manager

enter image description here