03 Sep 2020 04:05 AM
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
Solved! Go to Solution.
03 Sep 2020 06:59 AM
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.
03 Sep 2020 08:15 AM
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.
06 Sep 2020 07:34 AM
Ah, I see. I only ever perform Load-Test on Jmeter and Neoload before, but never with Selenium.
Thanks.