New Relic Synthetics Manager
It would also be nice to have a history of all of the changes to a synthetic. As production code changes and gets new features, the synthetic tests will also evolve and change. When debugging synthetic tests, it may be useful to look at the history of the tests and see who has recently made changes to it.
Introducing New Relic Synthetics Manager
Using it in a delivery pipeline
We put our production smoke tests that had been converted into synthetics into a git repository. Then, thanks to our new tool, we were able to write a simple script that we put in our CD system that updates all changed synthetics on every change to master (The script can be downloaded here)
The command line tool also can be used to create new synthetics (create the synthetic in New Relic and create a local file for the synthetic code) and import existing synthetics from New Relic into your SCM.
For more information, check out the github repository: https://github.com/yodle/new-relic-synthetics-manager
Originally published at www.yodletechblog.com on January 4, 2017.