question

Shafiz H. avatar image
Shafiz H. asked ·

Sending email on completion of test run

Hi,

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 :

  • Sending email on completion of test run.
  • How to identify current test run completed or not.
  • we would like automate generation of html report after completion of test run for those test results

Regards

Sravan Kumar

configurationdashboardcontinuous deliverytest automation
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sonja C. avatar image
Sonja C. answered ·

Hi Sravan,

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.

Sonja

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Dan B. avatar image
Dan B. answered ·

@Shafiz H

Hi Sravan, I'm not sure it can do exactly what you're looking for but have you looked into the Generic Execution Plugin?

Hope this helps,

Dan Benyaminov

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.