As much as I strive to harden synthetic monitor scripts against failing due to arbitrary applications changes, it is bound to happen sooner or later.
I'd like to be able to run a monitor script on a lower environment as part of the CI process, to make sure the steps/validations succeed before promoting the build to production. This will allow our production monitoring the chance to be validated, and if necessary adjusted, before simply failing in prod the next time the monitor runs and fails on a new build. A proactive approach rather than reactive.
Is there any way to run a desktop recorder test from the command line? Any way to automate the run locally?
I'm looking for a way to automate the running of a DT monitor as part of a CI process to be sure new builds don't break the monitor.
Answer by Jacob P. ·
I don't believe you can access the desktop recorder in that way, however you could use the SOAP API interface on the Dynatrace Portal to do that. https://community.dynatrace.com/community/display/...
I believe this interface can run existing tests as well as create new ones dynamically. For example, as part of the build process you could have it create a test to check your lower environment.
This would probably be the best route to take. Let me know if you have any questions.