Skip to content

Latest commit

 

History

History
94 lines (65 loc) · 4.46 KB

configurations.md

File metadata and controls

94 lines (65 loc) · 4.46 KB

Configurations

Microsoft Entra ID Credential

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

How to install

Download jmeter-plugins-azure-ad.?.?.?.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.

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 credentail. 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
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
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

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