Sylvia Lobo
Sylvia Lobo

Reputation: 417

JMeterConvert:convert my jmeter script to dynaTrace header

I am trying convert my jmeter script to dynaTrace header, using JMeterConvert. As installing JMeterConvert was not given clearly in the site I was referring I feel like I am lost. Can anyone kindly help me with that.

I have downloaded JMeterScriptConverter which has three files:

  1. JMeterConvert
  2. JMeterConvert.sh
  3. scriptconverter

Upvotes: 1

Views: 719

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34566

The script you are mentioning is an old unmaintained converter.

To integrate JMeter with Dynatrace you would need to follow:

Use a HeaderManager that you put under Thread Group, thanks to JMeter scoping rules it will apply to all requests.

Then in this HeaderManager add a Header :

X-Dynatrace

That will contain:

NA=${__samplerName()};SN=;TE=;SI=WLT;VU=-${__threadNum()}

Where:

ThreadGroupName : name of your thread group

Note that If you're looking for an up to date and simple Apache JMeter integration with Dynatrace, then have a look at https://stackoverflow.com/a/49822814/460802

Upvotes: 1

Related Questions