• 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 /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Youssef K. · Nov 07, 2014 at 09:50 PM · continuous delivery

Exporting transactions recorded in dynaTrace sessions to jmeter

Hello everyone,

I was curious as to if there were any means (standard, or through a configuration or through a development) to export faulty transactions recorded in dynaTrace to some load testing tools like jmeter.

That would be a very interesting functionality for scenarios like this one: imagine that you have found a problem in one of your transactions while monitoring your production environment; let us say the root cause for this problem is within your application code; then you need to modify the code then test using the testing environment to see if the problem has disappeared and test for regressions as well; to test it, you need to replay the faulty transaction (usually this is done with some load testing tool like jmeter) but for this, you need to manually describe the transaction within your load testing tool and you may not replicate the same conditions (session parameters sent, browser-agent type, cookies, data stored, ...) as when the problem occurred in your production environment.

So my question is if there was some way to export that exact transaction recorded in dynaTrace to some format that could be automatically loaded into some load testing tool (jmeter if possible) ? I don't mind if you suggest some way that involves coding a plugin or such.

Thank you for your help.

Youssef

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

Answer by Youssef K. · Nov 08, 2014 at 02:45 AM

Hello Andi,

Thank you for your reply. Very interesting indeed. Just what we might need. I'll look into it and try.

Youssef Kadri

Comment

People who like this

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

avatar image

Answer by Andreas G. · Nov 08, 2014 at 12:40 AM

We have a very powerful REST Interface that allows you to extract data from dynaTrace. I think you have multiple options

a) Automatically store a dynaTrace session for your JMeter Test Runs: Sessions (REST)

b) Extract the raw data from a dashboard for your individual transactions that you want to analyze: Server- and Clientside XML Reporting

Especially option B is probably most interesting for you. When you execute a test with JMeter and put our X-dynaTrace HTTP Header on your requests as explained here - Integration with Web Load Testing and Monitoring Tools - then you get the PurePath ID returned as an HTTP Response Header. You can now take this PurePath ID and use it with the Server-side reporting interface. You can create a dashboard in dynaTrace that for instance has a PurePath, Database or Methods dashlet on it. Then you exeucte the REST Interface to query that dashboard but also specifying that PurePath ID as a filter

Andi

Comment

People who like this

0 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

1 Person is following this question.

avatar image

Related Questions

Automation Client in an Intrumented app - how to get the app measures as test checkpoints?

DynaTrace 6.3 and Jenkins 1.625.3 connectivity issue

Manage Remote Batch Processes through Eclipse Plugin

PHP and Test Automation

Test Measures and Comparing Test Runs

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • 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