TraceTest (0.2.1)
Download OpenAPI specification:Download
OpenAPI definition for TraceTest endpoint and resources
Get testsuites
get testsuites
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
query | string query to search resources |
sortBy | string Enum: "created" "name" "status" "last_run" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "count": 0,
- "items": [
- {
- "type": "TestSuite",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": null,
- "password": null
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": null,
- "property2": null
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- null
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
}
]
}
Create new TestSuite
Create new TestSuite
Request Body schema:
type | string Value: "TestSuite" Represents the type of this resource. It should always be set as 'TestSuite'. |
object (TestSuite) |
Responses
Request samples
- Payload
{- "type": "TestSuite",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": { }
}
}
Response samples
- 201
{- "type": "TestSuite",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
}
Response samples
- 200
{- "type": "TestSuite",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
}
update TestSuite
update TestSuite action
path Parameters
testSuiteId required | string id of the TestSuite |
Request Body schema:
type | string Value: "TestSuite" Represents the type of this resource. It should always be set as 'TestSuite'. |
object (TestSuite) |
Responses
Request samples
- Payload
{- "type": "TestSuite",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": { }
}
}
Response samples
- 200
{- "type": "TestSuite",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
}
Get tests
get tests
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
query | string query to search resources |
sortBy | string Enum: "created" "name" "status" "last_run" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "count": 0,
- "items": [
- {
- "type": "Test",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
}
]
}
Create new test
Create new test action
Request Body schema: application/json
type | string Value: "Test" Represents the type of this resource. It should always be set as 'Test'. |
object (Test) |
Responses
Request samples
- Payload
{- "type": "Test",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
}
Response samples
- 200
{- "type": "Test",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
}
Upsert new test
Upsert new test action
Request Body schema: application/json
type | string Value: "Test" Represents the type of this resource. It should always be set as 'Test'. |
object (Test) |
Responses
Request samples
- Payload
{- "type": "Test",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
}
Response samples
- 200
{- "type": "Test",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
}
Response samples
- 200
{- "type": "Test",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
}
update test
update test action
path Parameters
testId required | string id of the test |
Request Body schema: application/json
type | string Value: "Test" Represents the type of this resource. It should always be set as 'Test'. |
object (Test) |
Responses
Request samples
- Payload
{- "type": "Test",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
}
List Tracetest configuration
List Tracetest configuration
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
sortBy | string Enum: "type" "enabled" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "count": 0,
- "items": [
- {
- "type": "Config",
- "spec": {
- "id": "current",
- "name": "Config",
- "analyticsEnabled": true
}
}
]
}
Get Tracetest configuration
Get Tracetest configuration
path Parameters
configId required | string ID of the configuration resource used on Tracetest. It should be set as 'current' |
Responses
Response samples
- 200
{- "type": "Config",
- "spec": {
- "id": "current",
- "name": "Config",
- "analyticsEnabled": true
}
}
Update Tracetest configuration
Update Tracetest configuration
path Parameters
configId required | string ID of the configuration resource used on Tracetest. It should be set as 'current' |
Request Body schema:
type | string Value: "Config" Represents the type of this resource. It should always be set as 'Config'. |
object Represents the set of configuration common options for Tracetest. |
Responses
Request samples
- Payload
{- "type": "Config",
- "spec": {
- "id": "current",
- "name": "Config",
- "analyticsEnabled": true
}
}
Response samples
- 200
{- "type": "Config",
- "spec": {
- "id": "current",
- "name": "Config",
- "analyticsEnabled": true
}
}
List Polling Profile Configuration
List Polling Profile configuration
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
sortBy | string Enum: "type" "enabled" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "count": 0,
- "items": [
- {
- "type": "PollingProfile",
- "spec": {
- "id": "string",
- "name": "string",
- "default": true,
- "strategy": "periodic",
- "periodic": {
- "retryDelay": "string",
- "timeout": "string",
- "selectorMatchRetries": 0
}
}
}
]
}
Create Polling Profile
Create Polling Profile configuration
Request Body schema:
type | string Value: "PollingProfile" Represents the type of this resource. It should always be set as 'PollingProfile'. |
object Represents the attributes of a Polling Profile. |
Responses
Request samples
- Payload
{- "type": "PollingProfile",
- "spec": {
- "id": "string",
- "name": "string",
- "default": true,
- "strategy": "periodic",
- "periodic": {
- "retryDelay": "string",
- "timeout": "string",
- "selectorMatchRetries": 0
}
}
}
Response samples
- 200
{- "type": "PollingProfile",
- "spec": {
- "id": "string",
- "name": "string",
- "default": true,
- "strategy": "periodic",
- "periodic": {
- "retryDelay": "string",
- "timeout": "string",
- "selectorMatchRetries": 0
}
}
}
Upsert new polling profile
Upsert new polling profile
Request Body schema:
type | string Value: "PollingProfile" Represents the type of this resource. It should always be set as 'PollingProfile'. |
object Represents the attributes of a Polling Profile. |
Responses
Request samples
- Payload
{- "type": "PollingProfile",
- "spec": {
- "id": "string",
- "name": "string",
- "default": true,
- "strategy": "periodic",
- "periodic": {
- "retryDelay": "string",
- "timeout": "string",
- "selectorMatchRetries": 0
}
}
}
Response samples
- 200
{- "type": "PollingProfile",
- "spec": {
- "id": "string",
- "name": "string",
- "default": true,
- "strategy": "periodic",
- "periodic": {
- "retryDelay": "string",
- "timeout": "string",
- "selectorMatchRetries": 0
}
}
}
Get Polling Profile
Get a polling profile used on Tracetest to configure how to fetch traces in a test.
path Parameters
pollingProfileId required | string ID of a polling profile used on Tracetest to configure how to fetch traces in a test. It should be set as 'current' |
Responses
Response samples
- 200
{- "type": "PollingProfile",
- "spec": {
- "id": "string",
- "name": "string",
- "default": true,
- "strategy": "periodic",
- "periodic": {
- "retryDelay": "string",
- "timeout": "string",
- "selectorMatchRetries": 0
}
}
}
Update a Polling Profile
Update a polling profile used on Tracetest to configure how to fetch traces in a test.
path Parameters
pollingProfileId required | string ID of a polling profile used on Tracetest to configure how to fetch traces in a test. It should be set as 'current' |
Request Body schema:
type | string Value: "PollingProfile" Represents the type of this resource. It should always be set as 'PollingProfile'. |
object Represents the attributes of a Polling Profile. |
Responses
Request samples
- Payload
{- "type": "PollingProfile",
- "spec": {
- "id": "string",
- "name": "string",
- "default": true,
- "strategy": "periodic",
- "periodic": {
- "retryDelay": "string",
- "timeout": "string",
- "selectorMatchRetries": 0
}
}
}
Response samples
- 200
{- "type": "PollingProfile",
- "spec": {
- "id": "string",
- "name": "string",
- "default": true,
- "strategy": "periodic",
- "periodic": {
- "retryDelay": "string",
- "timeout": "string",
- "selectorMatchRetries": 0
}
}
}
List Demonstrations
List demonstrations used on Tracetest as quick start examples.
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
sortBy | string Enum: "type" "enabled" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "count": 0,
- "items": [
- {
- "type": "Demo",
- "spec": {
- "id": "string",
- "type": "otelstore",
- "name": "string",
- "enabled": true,
- "pokeshop": {
- "httpEndpoint": "string",
- "grpcEndpoint": "string",
- "kafkaBroker": "string"
}, - "opentelemetryStore": {
- "frontendEndpoint": "string",
- "productCatalogEndpoint": "string",
- "cartEndpoint": "string",
- "checkoutEndpoint": "string"
}
}
}
]
}
Create a Demonstration setting
Create a demonstration used on Tracetest as quick start examples.
Request Body schema:
type | string Value: "Demo" Represents the type of this resource. It should always be set as 'Demo'. |
object Represents the attributes of a Demonstration API. |
Responses
Request samples
- Payload
{- "type": "Demo",
- "spec": {
- "id": "string",
- "type": "otelstore",
- "name": "string",
- "enabled": true,
- "pokeshop": {
- "httpEndpoint": "string",
- "grpcEndpoint": "string",
- "kafkaBroker": "string"
}, - "opentelemetryStore": {
- "frontendEndpoint": "string",
- "productCatalogEndpoint": "string",
- "cartEndpoint": "string",
- "checkoutEndpoint": "string"
}
}
}
Response samples
- 201
{- "type": "Demo",
- "spec": {
- "id": "string",
- "type": "otelstore",
- "name": "string",
- "enabled": true,
- "pokeshop": {
- "httpEndpoint": "string",
- "grpcEndpoint": "string",
- "kafkaBroker": "string"
}, - "opentelemetryStore": {
- "frontendEndpoint": "string",
- "productCatalogEndpoint": "string",
- "cartEndpoint": "string",
- "checkoutEndpoint": "string"
}
}
}
Get Demonstration setting
Get a demonstration used on Tracetest as quick start examples.
path Parameters
demoId required | string ID of a demonstration used on Tracetest as quick start examples |
Responses
Response samples
- 200
{- "type": "Demo",
- "spec": {
- "id": "string",
- "type": "otelstore",
- "name": "string",
- "enabled": true,
- "pokeshop": {
- "httpEndpoint": "string",
- "grpcEndpoint": "string",
- "kafkaBroker": "string"
}, - "opentelemetryStore": {
- "frontendEndpoint": "string",
- "productCatalogEndpoint": "string",
- "cartEndpoint": "string",
- "checkoutEndpoint": "string"
}
}
}
Update a Demonstration setting
Update a demonstration used on Tracetest as quick start examples.
path Parameters
demoId required | string ID of a demonstration used on Tracetest as quick start examples |
Request Body schema:
type | string Value: "Demo" Represents the type of this resource. It should always be set as 'Demo'. |
object Represents the attributes of a Demonstration API. |
Responses
Request samples
- Payload
{- "type": "Demo",
- "spec": {
- "id": "string",
- "type": "otelstore",
- "name": "string",
- "enabled": true,
- "pokeshop": {
- "httpEndpoint": "string",
- "grpcEndpoint": "string",
- "kafkaBroker": "string"
}, - "opentelemetryStore": {
- "frontendEndpoint": "string",
- "productCatalogEndpoint": "string",
- "cartEndpoint": "string",
- "checkoutEndpoint": "string"
}
}
}
Response samples
- 200
{- "type": "Demo",
- "spec": {
- "id": "string",
- "type": "otelstore",
- "name": "string",
- "enabled": true,
- "pokeshop": {
- "httpEndpoint": "string",
- "grpcEndpoint": "string",
- "kafkaBroker": "string"
}, - "opentelemetryStore": {
- "frontendEndpoint": "string",
- "productCatalogEndpoint": "string",
- "cartEndpoint": "string",
- "checkoutEndpoint": "string"
}
}
}
List Data Store
List Data Store
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
sortBy | string Enum: "type" "enabled" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "count": 0,
- "items": [
- {
- "type": "DataStore",
- "spec": {
- "id": "string",
- "name": "string",
- "type": "jaeger",
- "default": true,
- "jaeger": {
- "endpoint": "string",
- "readBufferSize": 0,
- "writeBufferSize": 0,
- "waitForReady": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "balancerName": "string",
- "compression": "gzip",
- "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}, - "tempo": {
- "type": "http",
- "http": {
- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}, - "grpc": {
- "endpoint": "string",
- "readBufferSize": 0,
- "writeBufferSize": 0,
- "waitForReady": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "balancerName": "string",
- "compression": "gzip",
- "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}
}, - "opensearch": {
- "addresses": [
- "string"
], - "username": "string",
- "password": "string",
- "index": "string",
- "certificate": "string",
- "insecureSkipVerify": true
}, - "elasticapm": {
- "addresses": [
- "string"
], - "username": "string",
- "password": "string",
- "index": "string",
- "certificate": "string",
- "insecureSkipVerify": true
}, - "signalfx": {
- "realm": "string",
- "token": "string"
}, - "awsxray": {
- "region": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "sessionToken": "string",
- "useDefaultAuth": true
}, - "azureappinsights": {
- "useAzureActiveDirectoryAuth": true,
- "accessToken": "string",
- "connectionType": "direct",
- "resourceArmId": "string"
}, - "sumologic": {
- "url": "string",
- "accessID": "string",
- "accessKey": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
}
]
}
Get a Data Store
Get a Data Store
path Parameters
dataStoreId required | string ID of a datastore used on Tracetest to configure how to fetch traces in a test |
Responses
Response samples
- 200
{- "type": "DataStore",
- "spec": {
- "id": "string",
- "name": "string",
- "type": "jaeger",
- "default": true,
- "jaeger": {
- "endpoint": "string",
- "readBufferSize": 0,
- "writeBufferSize": 0,
- "waitForReady": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "balancerName": "string",
- "compression": "gzip",
- "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}, - "tempo": {
- "type": "http",
- "http": {
- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}, - "grpc": {
- "endpoint": "string",
- "readBufferSize": 0,
- "writeBufferSize": 0,
- "waitForReady": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "balancerName": "string",
- "compression": "gzip",
- "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}
}, - "opensearch": {
- "addresses": [
- "string"
], - "username": "string",
- "password": "string",
- "index": "string",
- "certificate": "string",
- "insecureSkipVerify": true
}, - "elasticapm": {
- "addresses": [
- "string"
], - "username": "string",
- "password": "string",
- "index": "string",
- "certificate": "string",
- "insecureSkipVerify": true
}, - "signalfx": {
- "realm": "string",
- "token": "string"
}, - "awsxray": {
- "region": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "sessionToken": "string",
- "useDefaultAuth": true
}, - "azureappinsights": {
- "useAzureActiveDirectoryAuth": true,
- "accessToken": "string",
- "connectionType": "direct",
- "resourceArmId": "string"
}, - "sumologic": {
- "url": "string",
- "accessID": "string",
- "accessKey": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
}
Update a Data Store
Update a Data Store
path Parameters
dataStoreId required | string ID of a datastore used on Tracetest to configure how to fetch traces in a test |
Request Body schema: application/json
name required | string |
type required | string (SupportedDataStores) Enum: "jaeger" "opensearch" "tempo" "signalfx" "otlp" "elasticapm" "newrelic" "lightstep" "datadog" "awsxray" "honeycomb" "azureappinsights" "signoz" "dynatrace" "sumologic" "instana" "dash0" |
default | boolean |
object (GRPCClientSettings) | |
object (BaseClient) | |
object (ElasticSearch) | |
object (ElasticSearch) | |
object (SignalFX) | |
object (AwsXRay) | |
object (AzureAppInsights) | |
object (SumoLogic) | |
createdAt | string <date-time> |
Responses
Request samples
- Payload
{- "name": "string",
- "type": "jaeger",
- "default": true,
- "jaeger": {
- "endpoint": "string",
- "readBufferSize": 0,
- "writeBufferSize": 0,
- "waitForReady": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "balancerName": "string",
- "compression": "gzip",
- "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}, - "tempo": {
- "type": "http",
- "http": {
- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}, - "grpc": {
- "endpoint": "string",
- "readBufferSize": 0,
- "writeBufferSize": 0,
- "waitForReady": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "balancerName": "string",
- "compression": "gzip",
- "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}
}, - "opensearch": {
- "addresses": [
- "string"
], - "username": "string",
- "password": "string",
- "index": "string",
- "certificate": "string",
- "insecureSkipVerify": true
}, - "elasticapm": {
- "addresses": [
- "string"
], - "username": "string",
- "password": "string",
- "index": "string",
- "certificate": "string",
- "insecureSkipVerify": true
}, - "signalfx": {
- "realm": "string",
- "token": "string"
}, - "awsxray": {
- "region": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "sessionToken": "string",
- "useDefaultAuth": true
}, - "azureappinsights": {
- "useAzureActiveDirectoryAuth": true,
- "accessToken": "string",
- "connectionType": "direct",
- "resourceArmId": "string"
}, - "sumologic": {
- "url": "string",
- "accessID": "string",
- "accessKey": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
List VariableSets
List VariableSets available in Tracetest.
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
sortBy | string Enum: "type" "enabled" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "count": 0,
- "items": [
- {
- "type": "VariableSet",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}
}
]
}
Create a VariableSet
Create a VariableSet that can be used by tests and test suites
Request Body schema:
type | string Value: "VariableSet" Represents the type of this resource. It should always be set as 'VariableSet'. |
object (VariableSet) |
Responses
Request samples
- Payload
{- "type": "VariableSet",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}
}
Response samples
- 201
{- "type": "VariableSet",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}
}
Get a specific VariableSet
Get one VariableSet by its id
path Parameters
variableSetId required | string ID of a VariableSet used on Tracetest to inject values into tests and TestSuites |
Responses
Response samples
- 200
{- "type": "VariableSet",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}
}
Update a VariableSet
Update a VariableSet used on Tracetest
path Parameters
variableSetId required | string ID of a VariableSet used on Tracetest to inject values into tests and TestSuites |
Request Body schema:
type | string Value: "VariableSet" Represents the type of this resource. It should always be set as 'VariableSet'. |
object (VariableSet) |
Responses
Request samples
- Payload
{- "type": "VariableSet",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}
}
Response samples
- 200
{- "type": "VariableSet",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}
}
List Linters
List Linters available in Tracetest.
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
sortBy | string Enum: "type" "enabled" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "items": [
- {
- "type": "Linter",
- "spec": {
- "id": "string",
- "name": "string",
- "enabled": true,
- "minimumScore": 0,
- "plugins": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": true,
- "rules": [
- {
- "id": "string",
- "weight": 0,
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "tips": [
- "string"
], - "errorLevel": "error"
}
]
}
]
}
}
]
}
Create an Linter
Create an Linter that can be used by tests and Linters
Request Body schema:
type | string Value: "Linter" |
object |
Responses
Request samples
- Payload
{- "type": "Linter",
- "spec": {
- "id": "string",
- "name": "string",
- "enabled": true,
- "minimumScore": 0,
- "plugins": [
- {
- "id": "string",
- "enabled": true,
- "rules": [
- {
- "id": "string",
- "weight": 0,
- "errorLevel": "error"
}
]
}
]
}
}
Response samples
- 201
{- "type": "Linter",
- "spec": {
- "id": "string",
- "name": "string",
- "enabled": true,
- "minimumScore": 0,
- "plugins": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": true,
- "rules": [
- {
- "id": "string",
- "weight": 0,
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "tips": [
- "string"
], - "errorLevel": "error"
}
]
}
]
}
}
Get a specific Linter
Get one Linter by its id
path Parameters
linterId required | string ID of an Linter |
Responses
Response samples
- 200
{- "type": "Linter",
- "spec": {
- "id": "string",
- "name": "string",
- "enabled": true,
- "minimumScore": 0,
- "plugins": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": true,
- "rules": [
- {
- "id": "string",
- "weight": 0,
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "tips": [
- "string"
], - "errorLevel": "error"
}
]
}
]
}
}
Update a Linter
Update a Linter used on Tracetest
path Parameters
linterId required | string ID of an Linter |
Request Body schema:
type | string Value: "Linter" |
object |
Responses
Request samples
- Payload
{- "type": "Linter",
- "spec": {
- "id": "string",
- "name": "string",
- "enabled": true,
- "minimumScore": 0,
- "plugins": [
- {
- "id": "string",
- "enabled": true,
- "rules": [
- {
- "id": "string",
- "weight": 0,
- "errorLevel": "error"
}
]
}
]
}
}
Response samples
- 200
{- "type": "Linter",
- "spec": {
- "id": "string",
- "name": "string",
- "enabled": true,
- "minimumScore": 0,
- "plugins": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": true,
- "rules": [
- {
- "id": "string",
- "weight": 0,
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "tips": [
- "string"
], - "errorLevel": "error"
}
]
}
]
}
}
Response samples
- 200
{- "count": 0,
- "items": [
- {
- "type": "Monitor",
- "spec": {
- "id": "string",
- "version": 0,
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "enabled": true,
- "tests": [
- "string"
], - "testSuites": [
- "string"
], - "fullTests": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": null,
- "password": null
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": null,
- "property2": null
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- null
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "fullTestSuites": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": null,
- "method": null,
- "headers": [ ],
- "body": null,
- "auth": null,
- "sslVerification": null
}, - "grpc": {
- "protobufFile": null,
- "address": null,
- "service": null,
- "method": null,
- "metadata": [ ],
- "auth": null,
- "request": null
}, - "traceid": {
- "id": null
}, - "kafka": {
- "brokerUrls": [ ],
- "topic": null,
- "authentication": null,
- "sslVerification": null,
- "headers": [ ],
- "messageKey": null,
- "messageValue": null
}, - "playwrightEngine": {
- "target": null,
- "method": null,
- "script": null
}, - "graphql": {
- "url": null,
- "headers": [ ],
- "auth": null,
- "body": null,
- "sslVerification": null,
- "schema": null
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": null,
- "selector": null,
- "selectorParsed": null,
- "assertions": [ ]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": null,
- "passes": null,
- "fails": null,
- "analyzerScore": null
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "variableSetId": "string",
- "tokenId": "string",
- "schedule": {
- "cron": "string",
- "timeZone": "string"
}, - "alerts": [
- {
- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
], - "summary": {
- "runs": 0,
- "lastState": "string",
- "lastRunTime": "2019-08-24T14:15:22Z"
}
}
}
]
}
Upsert a Monitor
Upsert a Monitor used on Tracetest
Request Body schema: application/json
type | string Value: "Monitor" Represents the type of this resource. It should always be set as 'Monitor'. |
object (Monitor) |
Responses
Request samples
- Payload
{- "type": "Monitor",
- "spec": {
- "id": "string",
- "version": 0,
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "enabled": true,
- "tests": [
- "string"
], - "testSuites": [
- "string"
], - "fullTests": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
], - "fullTestSuites": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": null,
- "password": null
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": null,
- "property2": null
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- null
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": { }
}
], - "variableSetId": "string",
- "tokenId": "string",
- "schedule": {
- "cron": "string",
- "timeZone": "string"
}, - "alerts": [
- {
- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
], - "summary": {
- "runs": 0,
- "lastState": "string",
- "lastRunTime": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "type": "Monitor",
- "spec": {
- "id": "string",
- "version": 0,
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "enabled": true,
- "tests": [
- "string"
], - "testSuites": [
- "string"
], - "fullTests": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "fullTestSuites": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": null,
- "password": null
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": null,
- "property2": null
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- null
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "variableSetId": "string",
- "tokenId": "string",
- "schedule": {
- "cron": "string",
- "timeZone": "string"
}, - "alerts": [
- {
- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
], - "summary": {
- "runs": 0,
- "lastState": "string",
- "lastRunTime": "2019-08-24T14:15:22Z"
}
}
}
Create a Monitor
Create a Monitor used on Tracetest
Request Body schema: application/json
type | string Value: "Monitor" Represents the type of this resource. It should always be set as 'Monitor'. |
object (Monitor) |
Responses
Request samples
- Payload
{- "type": "Monitor",
- "spec": {
- "id": "string",
- "version": 0,
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "enabled": true,
- "tests": [
- "string"
], - "testSuites": [
- "string"
], - "fullTests": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
], - "fullTestSuites": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": null,
- "password": null
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": null,
- "property2": null
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- null
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": { }
}
], - "variableSetId": "string",
- "tokenId": "string",
- "schedule": {
- "cron": "string",
- "timeZone": "string"
}, - "alerts": [
- {
- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
], - "summary": {
- "runs": 0,
- "lastState": "string",
- "lastRunTime": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "type": "Monitor",
- "spec": {
- "id": "string",
- "version": 0,
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "enabled": true,
- "tests": [
- "string"
], - "testSuites": [
- "string"
], - "fullTests": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "fullTestSuites": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": null,
- "password": null
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": null,
- "property2": null
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- null
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "variableSetId": "string",
- "tokenId": "string",
- "schedule": {
- "cron": "string",
- "timeZone": "string"
}, - "alerts": [
- {
- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
], - "summary": {
- "runs": 0,
- "lastState": "string",
- "lastRunTime": "2019-08-24T14:15:22Z"
}
}
}
Get a Monitor
Get a Monitor
path Parameters
monitorId required | string ID of a monitor used on Tracetest |
Responses
Response samples
- 200
{- "type": "Monitor",
- "spec": {
- "id": "string",
- "version": 0,
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "enabled": true,
- "tests": [
- "string"
], - "testSuites": [
- "string"
], - "fullTests": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "fullTestSuites": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": null,
- "password": null
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": null,
- "property2": null
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- null
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "variableSetId": "string",
- "tokenId": "string",
- "schedule": {
- "cron": "string",
- "timeZone": "string"
}, - "alerts": [
- {
- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
], - "summary": {
- "runs": 0,
- "lastState": "string",
- "lastRunTime": "2019-08-24T14:15:22Z"
}
}
}
Update a Monitor
Update a Monitor
path Parameters
monitorId required | string ID of a monitor used on Tracetest |
Request Body schema: application/json
type | string Value: "Monitor" Represents the type of this resource. It should always be set as 'Monitor'. |
object (Monitor) |
Responses
Request samples
- Payload
{- "type": "Monitor",
- "spec": {
- "id": "string",
- "version": 0,
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "enabled": true,
- "tests": [
- "string"
], - "testSuites": [
- "string"
], - "fullTests": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- null
], - "pseudoClass": {
- "name": null,
- "argument": null
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
], - "fullTestSuites": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": null,
- "password": null
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": null,
- "value": null
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": null,
- "value": null,
- "in": null
}, - "basic": {
- "username": null,
- "password": null
}, - "bearer": {
- "token": null
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": null,
- "property2": null
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- null
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": { }
}
], - "variableSetId": "string",
- "tokenId": "string",
- "schedule": {
- "cron": "string",
- "timeZone": "string"
}, - "alerts": [
- {
- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
], - "summary": {
- "runs": 0,
- "lastState": "string",
- "lastRunTime": "2019-08-24T14:15:22Z"
}
}
}
get a TestSuite specific version
get a TestSuite specific version
path Parameters
testSuiteId required | string id of the TestSuite |
version required | integer version of the test |
Responses
Response samples
- 200
{- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": null,
- "operator": null,
- "value": null
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
run TestSuite
run a particular TestSuite
path Parameters
testSuiteId required | string id of the TestSuite |
Request Body schema: application/json
object or null | |
variableSetId | string |
runGroupId | string |
Array of objects (VariableSetValue) | |
requiredGates | Array of strings or null (SupportedGates) Enum: "analyzer-score" "analyzer-rules" "test-specs" |
Responses
Request samples
- Payload
{- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "variableSetId": "string",
- "runGroupId": "string",
- "variables": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
], - "requiredGates": [
- "analyzer-score"
]
}
Response samples
- 200
{- "id": 0,
- "version": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "state": "CREATED",
- "steps": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": null,
- "errors": [ ],
- "passed": null,
- "severity": null
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "pass": 0,
- "fail": 0,
- "allStepsRequiredGatesPassed": true
}
Get all runs from a particular TestSuite
Get all runs from a particular TestSuite
path Parameters
testSuiteId required | string id of the TestSuite |
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
Responses
Response samples
- 200
[- {
- "id": 0,
- "version": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "state": "CREATED",
- "steps": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- null
], - "results": [
- null
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "pass": 0,
- "fail": 0,
- "allStepsRequiredGatesPassed": true
}
]
Get a specific run from a particular TestSuite
Get a specific run from a particular TestSuite
path Parameters
testSuiteId required | string id of the TestSuite |
runId required | integer id of the run |
Responses
Response samples
- 200
{- "id": 0,
- "version": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "state": "CREATED",
- "steps": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": null,
- "errors": [ ],
- "passed": null,
- "severity": null
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "pass": 0,
- "fail": 0,
- "allStepsRequiredGatesPassed": true
}
run test
run a particular test
path Parameters
testId required | string id of the test |
Request Body schema: application/json
object or null | |
variableSetId | string |
runGroupId | string |
Array of objects (VariableSetValue) | |
requiredGates | Array of strings or null (SupportedGates) Enum: "analyzer-score" "analyzer-rules" "test-specs" |
Responses
Request samples
- Payload
{- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "variableSetId": "string",
- "runGroupId": "string",
- "variables": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
], - "requiredGates": [
- "analyzer-score"
]
}
Response samples
- 200
- 422
{- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- {
- "value": null,
- "expected": null,
- "description": null,
- "suggestions": [ ]
}
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
get the runs for a test
get the runs from a particular test
path Parameters
testId required | string id of the test |
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
Responses
Response samples
- 200
[- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- null
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
]
retrieve spans that will be selected by selector
get the spans ids that would be selected by a specific selector query
path Parameters
testId required | string id of the test |
runId required | integer id of the run |
query Parameters
query | string query to search resources |
Responses
Response samples
- 200
{- "selector": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "spanIds": [
- "string"
]
}
run given assertions against the traces from the given run without persisting anything
use this method to test a definition against an actual trace without creating a new version or persisting anything
path Parameters
testId required | string id of the test |
runId required | integer id of the run |
Request Body schema: application/json
Array of objects (TestSpec) | |||||||||
Array
|
Responses
Request samples
- Payload
{- "specs": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "assertions": [
- {
- "attribute": "tracetest.span.duration",
- "comparator": "<",
- "expected": "2000"
}, - {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}
]
}
]
}
Response samples
- 200
{- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}
rerun a test run
rerun a test run
path Parameters
testId required | string id of the test |
runId required | integer id of the run |
Responses
Response samples
- 200
{- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- {
- "value": null,
- "expected": null,
- "description": null,
- "suggestions": [ ]
}
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
export test and test run information
export test and test run information for debugging
path Parameters
testId required | string id of the test |
runId required | integer id of the run |
Responses
Response samples
- 200
{- "test": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}, - "run": {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- null
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
}
get spans fileter by query
get spans fileter by query
path Parameters
testId required | string id of the test |
runId required | integer id of the run |
Request Body schema: application/json
query | string query to filter spans, can be either a full text search or a Span Query Language query |
Responses
Request samples
- Payload
{- "query": "string"
}
Response samples
- 200
{- "spansIds": [
- "string"
]
}
import test and test run information
import test and test run information for debugging
Request Body schema: application/json
required | object (Test) |
required | object (TestRun) |
Responses
Request samples
- Payload
{- "test": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": { }
}, - "run": {
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- null
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
}
Response samples
- 200
{- "test": {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}, - "run": {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- null
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
}
get test Run
get a particular test Run
path Parameters
testId required | string id of the test |
runId required | integer id of the run |
Responses
Response samples
- 200
{- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- {
- "value": null,
- "expected": null,
- "description": null,
- "suggestions": [ ]
}
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
update a test run
update a test run
path Parameters
testId required | string id of the test |
runId required | integer id of the run |
Request Body schema: application/json
testVersion | integer Test version used when running this test run |
runGroupId | string |
state | string Enum: "CREATED" "EXECUTING" "AWAITING_TRACE" "AWAITING_TEST_RESULTS" "ANALYZING_TRACE" "ANALYZING_ERROR" "FINISHED" "STOPPED" "TRIGGER_FAILED" "TRACE_FAILED" "FAILED" "ASSERTION_FAILED" Current execution state |
lastErrorState | string Details of the cause for the last |
executionTime | integer time in seconds it took for the test to complete, either success or fail. If the test is still running, it will show the time up to the time of the request |
triggerTime | integer time in milliseconds it took for the triggering testSuite to complete, either success or fail. If the test is still running, it will show the time up to the time of the request |
createdAt | string <date-time> |
serviceTriggeredAt | string <date-time> |
serviceTriggerCompletedAt | string <date-time> |
obtainedTraceAt | string <date-time> |
completedAt | string <date-time> |
object (VariableSet) | |
object (Trigger) | |
object (TriggerResult) | |
object (Trace) | |
object (AssertionResults) | |
object (LinterResult) | |
Array of objects | |
object (RequiredGatesResult) | |
object | |
testSuiteId | string |
testSuiteRunId | integer |
Responses
Request samples
- Payload
{- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- {
- "value": null,
- "expected": null,
- "description": null,
- "suggestions": [ ]
}
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
Response samples
- 200
{- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": "string",
- "errors": [
- {
- "value": null,
- "expected": null,
- "description": null,
- "suggestions": [ ]
}
], - "passed": true,
- "severity": "error"
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
Get definition for a test
Gets definition for a test
path Parameters
testId required | string id of the test |
Responses
Response samples
- 201
[- {
- "specs": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "assertions": [
- {
- "attribute": "tracetest.span.duration",
- "comparator": "<",
- "expected": "2000"
}, - {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}
]
}
]
}
]
get a test specific version
get a test specific version
path Parameters
testId required | string id of the test |
version required | integer version of the test |
Responses
Response samples
- 200
{- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": "string",
- "operator": "string",
- "value": "string"
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
get events from a test run
get events from a test run
path Parameters
testId required | string id of the test |
runId required | integer id of the run |
Responses
Response samples
- 200
[- {
- "type": "string",
- "stage": "trigger",
- "title": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "testId": "string",
- "runId": 0,
- "dataStoreConnection": {
- "portCheck": {
- "passed": true,
- "status": "passed",
- "message": "string",
- "error": "string"
}, - "connectivity": {
- "passed": true,
- "status": "passed",
- "message": "string",
- "error": "string"
}, - "authentication": {
- "passed": true,
- "status": "passed",
- "message": "string",
- "error": "string"
}, - "fetchTraces": {
- "passed": true,
- "status": "passed",
- "message": "string",
- "error": "string"
}
}, - "polling": {
- "type": "periodic",
- "isComplete": true,
- "periodic": {
- "numberSpans": 0,
- "numberIterations": 0
}
}, - "outputs": [
- {
- "logLevel": "warning",
- "message": "string",
- "outputName": "string"
}
]
}
]
resolves an expression and returns the result string
resolves an expression and returns the result string
Request Body schema: application/json
expression | string |
object (ResolveContext) |
Responses
Request samples
- Payload
{- "expression": "string",
- "context": {
- "testId": "string",
- "runId": 0,
- "spanId": "string",
- "selector": "string",
- "variableSetId": "string"
}
}
Response samples
- 200
{- "resolvedValues": [
- "string"
]
}
Get resources
get resources
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
query | string query to search resources |
sortBy | string Enum: "created" "name" "status" "last_run" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
[- {
- "type": "string",
- "item": null
}
]
Tests the config data store/exporter connection
Tests the config data store/exporter connection
Request Body schema: text/json
name required | string |
type required | string (SupportedDataStores) Enum: "jaeger" "opensearch" "tempo" "signalfx" "otlp" "elasticapm" "newrelic" "lightstep" "datadog" "awsxray" "honeycomb" "azureappinsights" "signoz" "dynatrace" "sumologic" "instana" "dash0" |
default | boolean |
object (GRPCClientSettings) | |
object (BaseClient) | |
object (ElasticSearch) | |
object (ElasticSearch) | |
object (SignalFX) | |
object (AwsXRay) | |
object (AzureAppInsights) | |
object (SumoLogic) | |
createdAt | string <date-time> |
Responses
Request samples
- Payload
{- "name": "string",
- "type": "jaeger",
- "default": true,
- "jaeger": {
- "endpoint": "string",
- "readBufferSize": 0,
- "writeBufferSize": 0,
- "waitForReady": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "balancerName": "string",
- "compression": "gzip",
- "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}, - "tempo": {
- "type": "http",
- "http": {
- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}, - "grpc": {
- "endpoint": "string",
- "readBufferSize": 0,
- "writeBufferSize": 0,
- "waitForReady": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "balancerName": "string",
- "compression": "gzip",
- "tls": {
- "insecure": true,
- "insecureSkipVerify": true,
- "serverName": "string",
- "settings": {
- "cAFile": "string",
- "certFile": "string",
- "keyFile": "string",
- "minVersion": "string",
- "maxVersion": "string"
}
}, - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}
}
}, - "opensearch": {
- "addresses": [
- "string"
], - "username": "string",
- "password": "string",
- "index": "string",
- "certificate": "string",
- "insecureSkipVerify": true
}, - "elasticapm": {
- "addresses": [
- "string"
], - "username": "string",
- "password": "string",
- "index": "string",
- "certificate": "string",
- "insecureSkipVerify": true
}, - "signalfx": {
- "realm": "string",
- "token": "string"
}, - "awsxray": {
- "region": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "sessionToken": "string",
- "useDefaultAuth": true
}, - "azureappinsights": {
- "useAzureActiveDirectoryAuth": true,
- "accessToken": "string",
- "connectionType": "direct",
- "resourceArmId": "string"
}, - "sumologic": {
- "url": "string",
- "accessID": "string",
- "accessKey": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
Response samples
- 201
{- "successful": true,
- "steps": [
- {
- "portCheck": {
- "passed": true,
- "status": "passed",
- "message": "string",
- "error": "string"
}, - "connectivity": {
- "passed": true,
- "status": "passed",
- "message": "string",
- "error": "string"
}, - "authentication": {
- "passed": true,
- "status": "passed",
- "message": "string",
- "error": "string"
}, - "fetchTraces": {
- "passed": true,
- "status": "passed",
- "message": "string",
- "error": "string"
}
}
]
}
Update a Wizard
Update a Wizard used on Tracetest
Request Body schema: application/json
Array of objects (WizardStep) | |||||||
Array
|
Responses
Request samples
- Payload
{- "steps": [
- {
- "id": "tracing_backend",
- "state": "inProgress",
- "completedAt": "2019-08-24T14:15:22Z"
}
]
}
Response samples
- 200
{- "steps": [
- {
- "id": "tracing_backend",
- "state": "inProgress",
- "completedAt": "2019-08-24T14:15:22Z"
}
]
}
Get all run groups
Get all the run groups in the system
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
status | string query to search resources by status |
sortBy | string Enum: "created" "name" "status" "last_run" indicates the sort field for the resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "items": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "created",
- "summary": {
- "pending": 0,
- "succeed": 0,
- "failed": 0
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
]
}
Create a RunGroup
Create a RunGroup used on Tracetest
Request Body schema: application/json
id required | string |
object | |
object |
Responses
Request samples
- Payload
{- "id": "string",
- "summary": {
- "pending": 0,
- "succeed": 0,
- "failed": 0
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
Response samples
- 200
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "created",
- "summary": {
- "pending": 0,
- "succeed": 0,
- "failed": 0
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
Get a run group
Get a run groups in the system
path Parameters
runGroupId required | string ID of an RunGroup |
Responses
Response samples
- 200
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "created",
- "summary": {
- "pending": 0,
- "succeed": 0,
- "failed": 0
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
Get a Monitor with Version
Get a Monitor with Version
path Parameters
monitorId required | string ID of a monitor used on Tracetest |
version required | integer version of the test |
Responses
Response samples
- 200
{- "id": "string",
- "version": 0,
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "enabled": true,
- "tests": [
- "string"
], - "testSuites": [
- "string"
], - "fullTests": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [
- {
- "property": null,
- "operator": null,
- "value": null
}
], - "pseudoClass": {
- "name": "string",
- "argument": 0
}, - "childSelector": { }
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "fullTestSuites": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "steps": [
- "string"
], - "fullSteps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "trigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "skipTraceCollection": true,
- "pollingProfile": "string",
- "specs": [
- {
- "name": "string",
- "selector": "string",
- "selectorParsed": {
- "query": "string",
- "structure": [
- {
- "filters": [ ],
- "pseudoClass": null,
- "childSelector": null
}
]
}, - "assertions": [
- "string"
]
}
], - "outputs": [
- {
- "name": "USER_ID",
- "selector": "span[name=\"user_signup\" result=\"success\"]",
- "value": "attr:myapp.signup.user_id"
}, - {
- "name": "PROFILE_URL",
- "selector": "span[tracetest.span.type=\"general\" name=\"Tracetest trigger\"]",
- "value": "${attr:tracetest.response.body | json_path '.user.profileUrl' }"
}
], - "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "runs": 0,
- "lastRun": {
- "time": "2019-08-24T14:15:22Z",
- "passes": 0,
- "fails": 0,
- "analyzerScore": 0
}
}
}
], - "variableSetId": "string",
- "tokenId": "string",
- "schedule": {
- "cron": "string",
- "timeZone": "string"
}, - "alerts": [
- {
- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
], - "summary": {
- "runs": 0,
- "lastState": "string",
- "lastRunTime": "2019-08-24T14:15:22Z"
}
}
run Monitor
run a particular Monitor
path Parameters
monitorId required | string ID of a monitor used on Tracetest |
Request Body schema: application/json
object or null | |
runGroupId | string |
runType | string Enum: "SCHEDULED" "MANUAL" |
Array of objects (VariableSetValue) |
Responses
Request samples
- Payload
{- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "runGroupId": "string",
- "runType": "SCHEDULED",
- "variables": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}
Response samples
- 200
{- "id": 0,
- "monitorId": "string",
- "monitorVersion": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "executionType": "MANUAL",
- "lastError": "string",
- "state": "CREATED",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testRunsCount": 0,
- "testSuiteRunsCount": 0,
- "testRuns": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": null,
- "errors": [ ],
- "passed": null,
- "severity": null
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "testSuiteRuns": [
- {
- "id": 0,
- "version": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "state": "CREATED",
- "steps": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": null,
- "name": null,
- "description": null,
- "errorDescription": null,
- "passed": null,
- "weight": null,
- "tips": [ ],
- "results": [ ],
- "level": null
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "pass": 0,
- "fail": 0,
- "allStepsRequiredGatesPassed": true
}
], - "alerts": [
- {
- "alertId": "string",
- "id": "string",
- "webhook": {
- "request": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "method": "GET"
}, - "response": {
- "statusCode": 0,
- "status": "string",
- "body": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "error": "string"
}
}, - "type": "webhook"
}
]
}
Get a Monitor runs
Get a Monitor runs
path Parameters
monitorId required | string ID of a monitor used on Tracetest |
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
Responses
Response samples
- 200
{- "items": [
- {
- "id": 0,
- "monitorId": "string",
- "monitorVersion": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "executionType": "MANUAL",
- "lastError": "string",
- "state": "CREATED",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testRunsCount": 0,
- "testSuiteRunsCount": 0,
- "testRuns": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": null,
- "name": null,
- "description": null,
- "errorDescription": null,
- "passed": null,
- "weight": null,
- "tips": [ ],
- "results": [ ],
- "level": null
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "testSuiteRuns": [
- {
- "id": 0,
- "version": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "state": "CREATED",
- "steps": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": null,
- "value": null,
- "type": null
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- null
], - "body": "string",
- "auth": {
- "type": null,
- "apiKey": { },
- "basic": { },
- "bearer": { }
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- null
], - "auth": {
- "type": null,
- "apiKey": { },
- "basic": { },
- "bearer": { }
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- null
], - "topic": "string",
- "authentication": {
- "type": null,
- "plain": { }
}, - "sslVerification": false,
- "headers": [
- null
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- null
], - "auth": {
- "type": null,
- "apiKey": { },
- "basic": { },
- "bearer": { }
}, - "body": {
- "query": null,
- "variables": { },
- "operationName": null
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": null,
- "statusCode": null,
- "headers": [ ],
- "body": null
}, - "grpc": {
- "statusCode": null,
- "metadata": [ ],
- "body": null
}, - "traceid": {
- "id": null
}, - "kafka": {
- "partition": null,
- "offset": null
}, - "playwrightEngine": {
- "success": null,
- "out": null
}, - "graphql": {
- "status": null,
- "statusCode": null,
- "headers": [ ],
- "body": null
}, - "error": {
- "connectionError": null,
- "runningOnContainer": null,
- "targetsLocalhost": null,
- "message": null
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- null
]
}, - "flat": {
- "property1": {
- "id": null,
- "parentId": null,
- "name": null,
- "kind": null,
- "startTime": null,
- "endTime": null,
- "attributes": { },
- "children": [ ]
}, - "property2": {
- "id": null,
- "parentId": null,
- "name": null,
- "kind": null,
- "startTime": null,
- "endTime": null,
- "attributes": { },
- "children": [ ]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": null,
- "description": null,
- "passed": null,
- "score": null,
- "rules": [ ]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "pass": 0,
- "fail": 0,
- "allStepsRequiredGatesPassed": true
}
], - "alerts": [
- {
- "alertId": "string",
- "id": "string",
- "webhook": {
- "request": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "method": "GET"
}, - "response": {
- "statusCode": 0,
- "status": "string",
- "body": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "error": "string"
}
}, - "type": "webhook"
}
]
}
], - "count": 0
}
Get a specific run from a particular Monitor
Get a specific run from a particular Monitor
path Parameters
monitorId required | string ID of a monitor used on Tracetest |
runId required | integer id of the run |
Responses
Response samples
- 200
{- "id": 0,
- "monitorId": "string",
- "monitorVersion": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "executionType": "MANUAL",
- "lastError": "string",
- "state": "CREATED",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testRunsCount": 0,
- "testSuiteRunsCount": 0,
- "testRuns": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errorDescription": "string",
- "passed": true,
- "weight": 0,
- "tips": [
- "string"
], - "results": [
- {
- "spanId": null,
- "errors": [ ],
- "passed": null,
- "severity": null
}
], - "level": "error"
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "testSuiteRuns": [
- {
- "id": 0,
- "version": 0,
- "runGroupId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "state": "CREATED",
- "steps": [
- {
- "id": 0,
- "traceId": "string",
- "spanId": "string",
- "testVersion": 0,
- "runGroupId": "string",
- "state": "CREATED",
- "lastErrorState": "string",
- "executionTime": 0,
- "triggerTime": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "serviceTriggeredAt": "2019-08-24T14:15:22Z",
- "serviceTriggerCompletedAt": "2019-08-24T14:15:22Z",
- "obtainedTraceAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "resolvedTrigger": {
- "type": "http",
- "httpRequest": {
- "url": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "sslVerification": false
}, - "grpc": {
- "protobufFile": "string",
- "address": "string",
- "service": "string",
- "method": "string",
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "request": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "brokerUrls": [
- "string"
], - "topic": "string",
- "authentication": {
- "type": "plain",
- "plain": {
- "username": "string",
- "password": "string"
}
}, - "sslVerification": false,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "messageKey": "string",
- "messageValue": "string"
}, - "playwrightEngine": {
- "target": "string",
- "method": "string",
- "script": "string"
}, - "graphql": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
}, - "triggerResult": {
- "type": "http",
- "triggerResult": {
- "http": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "grpc": {
- "statusCode": 0,
- "metadata": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "traceid": {
- "id": "string"
}, - "kafka": {
- "partition": "string",
- "offset": "string"
}, - "playwrightEngine": {
- "success": true,
- "out": "string"
}, - "graphql": {
- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": null,
- "value": null
}
], - "body": "string"
}, - "error": {
- "connectionError": true,
- "runningOnContainer": true,
- "targetsLocalhost": true,
- "message": "string"
}
}
}, - "trace": {
- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}, - "result": {
- "allPassed": true,
- "results": [
- {
- "selector": {
- "query": "span[tracetest.span.type=\"http\"]",
- "structure": [
- {
- "filters": [
- {
- "property": "tracetest.span.type",
- "operator": "=",
- "value": "http"
}
]
}
]
}, - "results": [
- {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}, - {
- "assertion": {
- "attribute": "http.status_code",
- "comparator": "=",
- "expected": "200"
}, - "allPassed": true,
- "spanResults": [
- {
- "spanId": "123",
- "observedValue": "test",
- "passed": true
}
]
}
]
}
]
}, - "linter": {
- "minimumScore": 0,
- "passed": true,
- "score": 0,
- "plugins": [
- {
- "name": "string",
- "description": "string",
- "passed": true,
- "score": 0,
- "rules": [
- {
- "id": null,
- "name": null,
- "description": null,
- "errorDescription": null,
- "passed": null,
- "weight": null,
- "tips": [ ],
- "results": [ ],
- "level": null
}
]
}
]
}, - "outputs": [
- {
- "name": "string",
- "spanId": "string",
- "value": "string",
- "error": "string"
}
], - "requiredGatesResult": {
- "required": [
- "analyzer-score"
], - "failed": [
- "analyzer-score"
], - "passed": true
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "testSuiteId": "string",
- "testSuiteRunId": 0
}
], - "variableSet": {
- "id": "string",
- "name": "string",
- "description": "string",
- "values": [
- {
- "key": "string",
- "value": "string",
- "type": "raw"
}
]
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "pass": 0,
- "fail": 0,
- "allStepsRequiredGatesPassed": true
}
], - "alerts": [
- {
- "alertId": "string",
- "id": "string",
- "webhook": {
- "request": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "method": "GET"
}, - "response": {
- "statusCode": 0,
- "status": "string",
- "body": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "error": "string"
}
}, - "type": "webhook"
}
]
}
Tests the alert trigger
Tests the alert trigger
Request Body schema: text/json
id | string |
type | string Value: "webhook" |
object (Webhook) | |
events | Array of strings Items Value: "FAILED" |
Responses
Request samples
- Payload
{- "id": "string",
- "type": "webhook",
- "webhook": {
- "url": "string",
- "body": "string",
- "method": "GET",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "sslVerification": false
}, - "events": [
- "FAILED"
]
}
Response samples
- 201
{- "alertId": "string",
- "id": "string",
- "webhook": {
- "request": {
- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string",
- "method": "GET"
}, - "response": {
- "statusCode": 0,
- "status": "string",
- "body": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "error": "string"
}
}, - "type": "webhook"
}
Lists all invites
Lists pending invites
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
query | string query to search resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "items": [
- {
- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
], - "count": 0
}
Creates a pending invite
Creates pending email invite
Request Body schema: application/jsonrequired
invite resource details body
type | string Value: "Invite" |
object (Invite) |
Responses
Request samples
- Payload
{- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
Response samples
- 201
{- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
Upserts a pending invite
Upserts invite
Request Body schema: application/jsonrequired
invite resource details body
type | string Value: "Invite" |
object (Invite) |
Responses
Request samples
- Payload
{- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
Response samples
- 201
{- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
Response samples
- 200
{- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
Updates a pending invite
Updates pending email invite
path Parameters
inviteID required | string ID for invite |
Request Body schema: application/jsonrequired
invite resource details body
type | string Value: "Invite" |
object (Invite) |
Responses
Request samples
- Payload
{- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
Response samples
- 201
{- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
Delete pending invite
delete pending invite
path Parameters
inviteID required | string ID for invite |
Responses
Response samples
- 201
{- "type": "Invite",
- "spec": {
- "id": "string",
- "role": "owners",
- "to": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "type": "email",
- "status": "pending",
- "returnTo": "string",
- "environments": [
- {
- "id": "string",
- "role": "owners",
- "environment": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
]
}
}
Lists all tokens
Lists tokens
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
query | string query to search resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "items": [
- {
- "id": "string",
- "name": "my-token",
- "isRevoked": true,
- "role": "owners",
- "userID": "string",
- "duration": 3600,
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "count": 0
}
Creates a new token
Creates a new token
Request Body schema: application/jsonrequired
invite details body
id required | string |
name required | string token name |
isRevoked | boolean |
role required | string (Role) Enum: "owners" "members" "admins" "billers" "engineers" "runners" "agent" |
userID | string |
duration | integer token duration in minutes |
issuedAt | string <date-time> |
expiresAt | string <date-time> |
updatedAt | string <date-time> |
Responses
Request samples
- Payload
{- "id": "string",
- "name": "my-token",
- "isRevoked": true,
- "role": "owners",
- "userID": "string",
- "duration": 3600,
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Response samples
- 201
{- "id": "string",
- "name": "my-token",
- "isRevoked": true,
- "role": "owners",
- "userID": "string",
- "duration": 3600,
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Upserts a new token
Upserts a new token
Request Body schema: application/jsonrequired
invite details body
id required | string |
name required | string token name |
isRevoked | boolean |
role required | string (Role) Enum: "owners" "members" "admins" "billers" "engineers" "runners" "agent" |
userID | string |
duration | integer token duration in minutes |
issuedAt | string <date-time> |
expiresAt | string <date-time> |
updatedAt | string <date-time> |
Responses
Request samples
- Payload
{- "id": "string",
- "name": "my-token",
- "isRevoked": true,
- "role": "owners",
- "userID": "string",
- "duration": 3600,
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Response samples
- 201
{- "id": "string",
- "name": "my-token",
- "isRevoked": true,
- "role": "owners",
- "userID": "string",
- "duration": 3600,
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Delete token for environment
delete token
path Parameters
tokenID required | string ID for token |
Responses
Response samples
- 201
{- "id": "string",
- "name": "my-token",
- "isRevoked": true,
- "role": "owners",
- "userID": "string",
- "duration": 3600,
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Update token for environment
update token
path Parameters
tokenID required | string ID for token |
Responses
Response samples
- 201
{- "id": "string",
- "name": "my-token",
- "isRevoked": true,
- "role": "owners",
- "userID": "string",
- "duration": 3600,
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
List environments
List environments from an organization
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
query | string query to search resources |
sortDirection | string Enum: "asc" "desc" indicates the sort direction for the resources |
Responses
Response samples
- 200
{- "items": [
- {
- "type": "Environment",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
], - "count": 0
}
Create new environment
Create test environment
Request Body schema: application/jsonrequired
environment resource details body
type | string Value: "Environment" |
object (Environment) |
Responses
Request samples
- Payload
{- "type": "Environment",
- "spec": {
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
Response samples
- 200
{- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
Upsert new environment
Upsert test environment
Request Body schema: application/jsonrequired
environment resource details body
type | string Value: "Environment" |
object (Environment) |
Responses
Request samples
- Payload
{- "type": "Environment",
- "spec": {
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
Response samples
- 200
{- "type": "Environment",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
Get environment by ID
Get test environment by ID from CRD in kubernetes cluster
path Parameters
environmentID required | string ID for environment |
Responses
Response samples
- 200
{- "type": "Environment",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
Update environment
Update environment with given request body
path Parameters
environmentID required | string ID for environment |
Request Body schema: application/jsonrequired
environment resource details body
type | string Value: "Environment" |
object (Environment) |
Responses
Request samples
- Payload
{- "type": "Environment",
- "spec": {
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
Response samples
- 200
{- "type": "Environment",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
Delete test environment
Deletes a test environment
path Parameters
environmentID required | string ID for environment |
Responses
Response samples
- 204
{- "type": "Environment",
- "spec": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isLocal": false,
- "userID": "string",
- "organizationID": "733420bd-7e56-461f-8431-6378759e60ae",
- "agentApiKey": "string",
- "resources": "string"
}
}
Introspect the GraphQL schema
Introspect the GraphQL schema
Request Body schema: text/json
url | string |
Array of objects (HTTPHeader) | |
object (HTTPAuth) | |
object (GraphqlBody) | |
sslVerification | boolean Default: false |
schema | string |
Responses
Request samples
- Payload
{- "url": "string",
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "auth": {
- "type": "apiKey",
- "apiKey": {
- "key": "string",
- "value": "string",
- "in": "query"
}, - "basic": {
- "username": "string",
- "password": "string"
}, - "bearer": {
- "token": "string"
}
}, - "body": {
- "query": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "operationName": "string"
}, - "sslVerification": false,
- "schema": "string"
}
Response samples
- 201
{- "status": "string",
- "statusCode": 0,
- "headers": [
- {
- "key": "string",
- "value": "string"
}
], - "body": "string"
}
Get list of traces from agent
Get list of traces from agent
query Parameters
take | integer Default: 20 indicates how many resources can be returned by each page |
skip | integer Default: 0 indicates how many resources will be skipped when paginating |
Responses
Response samples
- 200
{- "traces": [
- {
- "traceId": "string",
- "rootServiceName": "string",
- "rootTraceName": "string",
- "startTimeUnixNano": 0,
- "durationMs": 0,
- "spanCount": 0
}
], - "error": "string"
}
Get a specific trace
Get a specific trace
path Parameters
traceId required | string ID of a Trace |
Responses
Response samples
- 200
{- "traceId": "string",
- "tree": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "flat": {
- "property1": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}, - "property2": {
- "id": "string",
- "parentId": "string",
- "name": "string",
- "kind": "string",
- "startTime": 1656701595277,
- "endTime": 1656701595800,
- "attributes": {
- "span.name": "POST /create",
- "tracetest.span.type": "http",
- "tracetest.span.duration": "2000"
}, - "children": [
- { }
]
}
}
}