Raxon
Raxon

Reputation: 33

Handle managed identity with JMeter

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?

Upvotes: 0

Views: 197

Answers (1)

Dmitri T
Dmitri T

Reputation: 168072

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

Upvotes: 0

Related Questions