• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Dynatrace
  • Dynatrace Open Q&A
avatar image
Question by Service A. · Aug 21, 2019 at 01:31 PM · Dynatrace Managed installation apache test automation automation

JMETER integration with Dynatrace Managed

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

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Sebastian K. · Aug 21, 2019 at 02:28 PM

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/test-automation-frameworks/dynatrace-and-load-testing-tools-integration/

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

Comment

People who like this

0 Show 4 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Service A. · Aug 22, 2019 at 09:14 AM 0
Share

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 ?

avatar image Sebastian K. Service A. · Aug 22, 2019 at 09:20 AM 1
Share

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

avatar image Sonja C. ♦ Service A. · Aug 22, 2019 at 09:52 AM 2
Share

LoadRunner is using the rest API (https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/configuration-api/service-api/request-attributes-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.

avatar image Service A. Sonja C. ♦ · Aug 23, 2019 at 09:53 AM 0
Share

Thank you both for your answers. That was really helpfull

avatar image

Answer by Sonja C. · Aug 22, 2019 at 07:59 AM

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/test-automation-frameworks/dynatrace-and-jmeter-integration/

Comment
Sebastian K.

People who like this

1 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

31 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How can we install Dynatrace Managed while bypassing connection to Mission Control

Cluster Node installation and the OneAgent user

Dynatrace Managed certificate failure

How much time does Dynatrace take to update Server status after a migration on AppServer?

Anyone run Cassandra Nodetool repair on a regular basis?

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming linux nam installation error reporting database mission control apache mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A