cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JMETER integration with Dynatrace Managed

service_apms
Organizer

Hello,

 

We just started the configuration of Jmeter for the integration with Managed.

We already found some documentation and followed it to configure the Port, the Host, API TOKEN ....etc

 

Now we wanna test if the configuration is correct and Jmeter is communicating well with our Dynatrace.

 

Do anyone have an idea on how can we test that ?

 

Thank you

 

6 REPLIES 6

skrystosik
DynaMight Guru
DynaMight Guru

There is no out of the box integration between Dynatrace and jMeter. What you can do is creating header that will be assign to each jMeter request (for example via script) according to this article:

https://www.dynatrace.com/support/help/setup-and-configuration/integrations/third-party-integrations...

Than on dynatrace side you can configure Request Attributes that will capture proper part of x-dynatrace-test request header. Than you will be able to to see tagged requests in dynatrace and filter them out of other traffic. But this is all you can get out of the box.

I’ve created integration that sends data from jMeter live to dynatrace using custom metrics but this is for internal use in our company only. I can’t share it.

Sebastian


Regards, Sebastian

Excuse me Sebastian but i have a question.

So we have a team for which we don't want to grant Admin access and they are the one doing tests and configuring request attributes..etc

The solution that was proposed from a Dynatrace Editor is to configure Jmeter so they won't need to access Dynatrace to configure the request attributes and they will only have to do it from Jmeter.

From your answer i now realize that the configuration of request attributes on Dyntrace is always needed so they will always need the Admin account.So the J meter solution won't really solve our problem.

Now they are working with Load runner but they always have access to Dyntrace. Dynatrace Editor proposed Jmeter and said that it is different from Load runner and it doesn't need access to Dynatrace.

am i right here ?


They don't those request attributes are configured globally for whole enviornment. You can make it for them once and than everything will work. I'm responsible for load tests in our company (from dynatrace side) and what I can tell, it's really important for test team to have at least readonly access to DT to allow them look for data. You can create always limited management zone just for application that is tested at one time. For LoadRunner situation is the same, but LR can download some metrics from DT via integration, but this is in general small amount of that which may give you answers about really simple issues during test. to get answers about details in transaction they need to have some access to DT for LoadRunner and jMeter as well.

Sebastian


Regards, Sebastian

sonja
Dynatrace Champion
Dynatrace Champion

LoadRunner is using the rest API (https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/configuration-api/service-api/...) to create the request attributes on the fly.

Provided your users are granted a token for the REST API that enable them to configure request attribute, the configuration API could be called directly from JMeter to create/update the request attributes.


Thank you both for your answers. That was really helpfull


sonja
Dynatrace Champion
Dynatrace Champion

You should also take a look at this page in the documentation (JMeter & Dynatrace): https://www.dynatrace.com/support/help/setup-and-configuration/integrations/third-party-integrations...


Featured Posts