JMeter authorization configuration using a static API token key

Un Name September 11, 2022

We are using JMeter v5.3 to run performance tests against our SIT Server instance of JIRA v8.13.22. We setup our JMeter tests with basic authentication via the "HTTP Authorization Manager" and the "Basic Digest" mechanism. We have recently installed the "API Token Authentication for Jira" plugin and turned off basic authentication to JIRA. See: Plugin Admin docs. Therefore all REST calls to JIRA via application accounts must now login with an application user that has a registered API key with JIRA.

As expected, our JMeter tests now fail with "403 Forbidden" errors due to the Basic Auth setup with the error: "Basic Auth with password is disabled by the API Token Authentication app". I found articles similar to JMeter Authorization with access token, but they use "authorization with dynamic access token".

How do we configure JMeter to authorize with a registered static API token key?

0 answers

Suggest an answer

Log in or Sign up to answer