You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the enhancement you'd like to see
Our CLI is able to replace values into the definition file when you run tracetest run test. For example:
type: Testspec:
name: POST import pokemondescription: Import a pokemon using its IDtrigger:
type: httphttpRequest:
url: http://pokemon-demo.tracetest.io/pokemon/importmethod: POSTheaders:
- key: Content-Typevalue: application/jsonauthentication:
type: apiKeyapiKey:
key: X-Key# This is a reference to a local environment variable# This is different than when we reference environments # (soon-to-be variablesets), which we prefix with `env:`value: ${POKEMON_APP_API_KEY}in: headerbody: '{ "id": 52 }'
Our CLI will detect the placeholder ${VAR_NAME} and replace the string ${VAR_NAME} with the content
of the environment variable with the same name.
This is useful if you have to set the value of a variable based on your local machine or create variable sets using local env variables.
The text was updated successfully, but these errors were encountered:
Describe the enhancement you'd like to see
Our CLI is able to replace values into the definition file when you run
tracetest run test
. For example:Our CLI will detect the placeholder
${VAR_NAME}
and replace the string${VAR_NAME}
with the contentof the environment variable with the same name.
This is useful if you have to set the value of a variable based on your local machine or create variable sets using local env variables.
The text was updated successfully, but these errors were encountered: