Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of ManagedIdentity in Azure LoadTest? #18

Open
azurepilot opened this issue Oct 24, 2023 · 3 comments
Open

Use of ManagedIdentity in Azure LoadTest? #18

azurepilot opened this issue Oct 24, 2023 · 3 comments

Comments

@azurepilot
Copy link

I was successful in using this jmeter-plugin in Azure LoadTest for my test scenarios. But I only succeeded in using a connections string for the servicebus and putting c-string that into a KeyVault.
Unfortunately, I found no way to use the ManagedIdentity, which can be assigned to AzureLoad test, to use that MID to submit messages to the SB. How can that be realized? Is that somehow possible with this version 0.3.0 or is there any change required?

@kuniteru
Copy link
Member

This plugin can submit messages to the Service Bus using Managed ID, but I have also confirmed that it does not work in Azure Load Testing as you say.

The log outputs "ManagedIdentityCredential authentication unavailable. Connection to IMDS endpoint cannot be established, Connection refused.", so it seems that the Managed ID is not properly set for the Test engine server in Azure Load Testing.

I will report it to Microsoft as a glitch, and if you would like, you can contact Azure's support center or others to inquire about it as well.

@azurepilot
Copy link
Author

Thank you for the feedback. I would appreciate if you could report it to MS. I will try as well. The more feedback they get, the higher is the chance for a bugfix ;-)

@kuniteru
Copy link
Member

kuniteru commented Nov 4, 2023

According to Microsoft, Managed Identity in Azure Load Testing is meant only for accessing Azure Key Vault.
https://developercommunity.visualstudio.com/t/Does-not-work-system-assigned-managed-id/10500312#T-ND10507448

We should request to Microsoft that Managed Identity in Azure Load Testing support access to services other than Azure Key Vault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants