Skip to content

Latest commit

 

History

History
126 lines (90 loc) · 5.91 KB

configurations.md

File metadata and controls

126 lines (90 loc) · 5.91 KB

Config Elements

Microsoft Entra ID Credential

This is the configuration for authentication and authorization by Microsoft Entra ID.

How to install

Some plugins include this.

Common parameters

Attribute Description Required
Name Descriptive name for this sampler that is shown in the tree No
Variable Name for created credential Variable name bound to credential. This needs to uniquely identify the configuration. It is used by the Samplers to identify the configuration to be used. Yes
Credential type Types of credential. Yes
Authority host Specifies the Microsoft Entra ID endpoint to acquire tokens.
For general Microsoft Azure, select "login.microsoft.online.com". For the Azure Government or Azure China 21Vianet, etc., select the appropriate endpoint.
Yes

Parameters for each credential type

The parameters to be set for each credential type are different.

Client certificate

Attribute Description Required
Authority Host Microsoft Entra ID endpoint to acquire tokens. No
Tenant Id Microsoft Entra ID tenant Id. Yes
Client Id Client (Application) Id of Microsoft Entra ID application. Yes
File type Certification file type. (PEM or PFX) Yes
Filename Certification file name. Yes
Password Password for certification file. No

Client secret

Attribute Description Required
Authority Host Microsoft Entra ID endpoint to acquire tokens. No
Tenant Id Microsoft Entra ID tenant Id. Yes
Client Id Client (Application) Id of Microsoft Entra ID application. Yes
Client Secret Client secret for Microsoft Entra ID application. Yes

Managed identity

Attribute Description Required
Client Id Client (Application) Id of Microsoft Entra ID application. No

Workload Identity

Attribute Description Required
Authority Host Microsoft Entra ID endpoint to acquire tokens. No
Tenant Id Microsoft Entra ID tenant Id. No
Additionally allowed tenants For multi-tenant applications, specifies additional tenants.
Describe tenant IDs separated by commas.
No
Client Id Client (Application) Id of Microsoft Entra ID application. No
Token file path Path to a file containing a Kubernetes service account token No

Azure CLI / Azure Developer CLI / Azure PowerShell

Attribute Description Required
Tenant Id Microsoft Entra ID tenant Id. No
Additionally allowed tenants For multi-tenant applications, specifies additional tenants.
Describe tenant IDs separated by commas.
No

DefaultAzureCredential

Attempt authentication according to the following.
https://learn.microsoft.com/en-us/java/api/com.azure.identity.defaultazurecredential

Attribute Description Required
Authority Host Microsoft Entra ID endpoint to acquire tokens. No
Tenant Id Microsoft Entra ID tenant Id. No
Additionally allowed tenants For multi-tenant applications, specifies additional tenants.
Describe tenant IDs separated by commas.
No
Managed identity Client Id Client (Application) Id of managed identity. No
Workload identity Client Id Client (Application) Id of Microsoft Entra ID application to be used for AKS. No
IntelliJ KeePass Database path KeePass database path to read the cached credentials of Azure toolkit for IntelliJ plugin. No

Sample files

Azure Service Bus Connection

Create a connection to the Azure Service Bus with the settings specified in this.
The connection created by this configuration will be used by the "Azure Service Bus Sampler".

Works with Apache JMeter™ v5.4.1 or later.

How to install

Download jmeter-plugins-azure-servicebus.?.?.?.jar file from latest release and put it into lib/ext directory of JMeter (e.g. /usr/local/jmeter/lib/ext), then restart JMeter.

Some plugins include the classes contained in this jar file.

Parameters

Attribute Description Required
Name Descriptive name for this sampler that is shown in the tree No
Service Bus Namespace Azure Service Bus namespace name to send messages to.
(e.g. YOURSERVICEBUS.servicebus.windows.net)
Yes
Send messages to Choose whether to send the messages to the "Queue" or to the "Topic". Yes
Queue name / Topic name Queue/Topic name to send messages to. Yes
Protocol Protocol for sending messages Yes
Auth Type Authorization type to use when sending messages to Azure Event Hubs.
If you select "Microsoft Entra ID credential", also define the Microsoft Entra ID Credential Config Element.
Yes
Shared Access Policy *1 Shared access policy name of the Event Hubs namespace or Event Hub. Yes
Shared Access Key *1 Shared access keys for the shared access policy Yes
Variable Name of credential declared in Microsoft Entra ID Crednetial The variable name of the credential declared in Microsoft Entra ID Credential, specified, if "Microsoft Entra ID credential" is selected for "Auth Type". Yes
Variable name for created connection The name of the connection to create. No

*1: If "Shared access signature" is selected for Auth type, set these parameters.

Sample files

Tutorial