DataDog Synthetics to Postman Collection

Number of APIs: 3

DataDog Synthetic Test to Qodex Collection Import

This collection will take a DataDog synthetic test and convert it to a Qodex collection. It copies variable chaining, assertions, and all requests.

Required Collection Variables

For proper use, please configure the following variables on the collection:

  • QodexApiKey - used for creating the collection in your Qodex account. Generate one here
  • targetQodexWorkspaceId - used to determine which workspace to add the new collection to. Use the Data Discovery collection to determine the workspace id
  • dataDogApiKey - used to return the details about the DataDog synthetic test. Generate one here
  • dataDogApplicationKey - second piece of authentication for returning synthetic test details. Generate one here
  • dataDogSyntheticTestId - identifier of the test you want to import into Qodex. Use the Data Discovery collection to determine the correct id

Running the Import

Once the collection variables are set, you need to run the collection in the collection runner. This will automatically get your synthetic test from DataDog and convert it to a Qodex collection in the workspace you selected.

Additional Reading

For more information on DataDog API and Application keys, check out this page. It is always important to understand the access you are providing to your data when you create an access key.

  1. Verify DataDog Api Key GET https://api.datadoghq.com/api/v1/validate

  2. Get Synthetic Test GET https://api.datadoghq.com/api/v1/synthetics/tests/api/:testId

  3. Add Collection POST https://api.getpostman.com/collections?workspace={{targetPostmanWorkspaceId}}