Synthetics: Create test from synthetics.json
j-boivie-rs opened this issue · 0 comments
Feature request description
Hi folks,
I'm looking at incorporating this tool to run E2E tests in my CI pipelines, but there is one feature that I feel is missing:
It would be really nice if the tool could create tests from synthetics.json files if they don't already exist. That way I could store all test configuration next to my application code, and have my CI pipeline manage the entire test lifecycle. In the current setup I would first need to create the test and then somehow pass the resulting ID:s into the the synthetics.json (either by templating or hardcoding?), which is a bit more cumbersome.
Solution
Provide some mechanism for the datadog-ci synthetics
command to create a test based on a synthetics.json
file.
Additional context
No response
Command
synthetics