we are running performance unit tests using MStest.exe.
Automated the process of generating test run id(calling RESTAPI) and we are able to see the test results in Dynatrace for the testid.
Here is what we needed :
Answer by Sonja C. ·
unfortunately, from a Dynatrace point of view, we don't have a way right now to know if the test run has been completed or if some tests will still be sent to Dynatrace.
The best way to accomplish it right now would be to pull the Test Automation REST API for a specific test run after the tests have been executed and check the number of tests. If you know that you are executing 20 tests, but get only 19 tests back - you will know Dynatrace is not yet done with analyzing the tests.
Test Automation with Jenkins Plugin 3 Answers