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

Reason Dynatrace is smart enough to not capture RUM during Load-Testing?

I've run load-test with Jmeter as well as Neoload for the past two years, happy that everytime I don't need to configure or do anything, and yet confident that Dynatrace won't capture the RUM.

So just out-of-curiosity, what is the key-feature/distinguish-er Dynatrace is using? I want to know this so that in future I won't run into unfortunate circumstance where load-testing somehow accidentally wasted/burn-out the DEM Unit of Customer license.

Best Regards,

Wai Keat


DynaMight Pro
DynaMight Pro

RUM requires that the web client loads and executes Javascript. As long as your load testing tool does not simulate a fully-fledged browser with enabled Javascript runtime you will not get user session data.

DynaMight Legend
DynaMight Legend

In addition to @Enrico Favretto's answer - Dynatrace also ignores JavaScript injection into requests based on user-agent header in your requests. There are certain user-agent strings causing Dynatrace not to inject the RUM JavaScript. JMeter tests are purely HTTP request without JavaScript execution. If you will spin up browser in your tests for example using Selenium, you will find your user sessions.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Ah, I see. I only ever perform Load-Test on Jmeter and Neoload before, but never with Selenium.


Featured Posts