25 Mar 2020 07:19 AM - last edited on 01 Sep 2022 02:35 AM by MaciejNeumann
We use Visual Studio loadtests to measure performance of our web-app.
Those loadtests are comprised of webtest that simulate real user activities such as logging on and off, taking on activities inside web-app, importing images etc.
When I manually do these steps in regular browser - they are detected and show up under Application monitoring e.g. logging into the application.
However when I am submitting webtests or running loadtests from Visual Studio - they do not show up under Application monitoring e.g. same login into the web-app.
I can see the OneAgent injected monitoring tag in server responses for request sent from Visual Studio.
Solved! Go to Solution.
Do you have a view of all network requests coming from the test? You should be able to see requests initiated by your page to /rb_xxxxx ?
These should appear as initiated by the JS injected by the OneAgent. This is essentially the frontend data being sent back as a beacon signal to the Dynatrace platform. Without this loop happening you won't be able to save data in the platform.
Hope this helps,
Thanks for your comment!
Let me reiterate to confirm that I understand it correctly:
So the process is (1) OneAgent -> (2) Server response (JS Injection) -> (3) Client Browser (JS execution and sending data to Dynatrace) -> (4) Dynatrace servers.
The issue as I see it is that Visual Studio that receives server response instead lf (3) Client browser does not process JS payload and so Dynatrace doesn't get any data from it.
That's because VS isn't a real browser and isn't supposed to do anything with server responses (it doesn't even try to render them).
Would you say that this is correct?
That is spot on! 🙂
Thanks, I appreciate the help.