Verify Taurus Configuration Dependencies
To validate Taurus configuration dependencies, you need to know your Workspace identifier. The sample code uses a workspaceId
of 123456
. Use the actual ID value of your Workspace.
Minimum Parameters for Validation
The following parameters are the base parameters required to validate Virtual Services.
Validate Virtual ServicesMinimum Configuration Sample
curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/service-mocks/validate' \
-X POST \
-H 'accept: application/json;charset=UTF-8' \
-H 'Content-Type: application/json' \
-d '{ "dependencies": \
{ "services": \
[ { "service": "PayPal", \
"mock-service": "PPRunner", \
"transactions": \
[ "getAccounts", "getBalances", "createAccount" ] \
}, \
{ "service": "WesternUnion", \
"mock-service": "WURunner", \
"transaction-filter": \
{ "tags": \
[ "dev", "stage" ] \
} \
}, \
{ "service": "Facebook", \
"mock-service": "FBRunner", \
"mock-service-template": "FBRunnerTemplate" \
} \
] \
} \
}'
Validate Virtual Services Request Attributes
Attribute | Description |
---|---|
workspaceId string | The Workspace identifier. required |
Response200 OK
{
"apiVersion": 0,
"error": "string",
"limit": 0,
"link": "string",
"requestId": "string",
"result": {
"dependencies": {
"array": true,
"bigDecimal": true,
"bigInteger": true,
"binary": true,
"boolean": true,
"containerNode": true,
"double": true,
"float": true,
"floatingPointNumber": true,
"int": true,
"integralNumber": true,
"long": true,
"missingNode": true,
"nodeType": "ARRAY",
"null": true,
"number": true,
"object": true,
"pojo": true,
"short": true,
"textual": true,
"valueNode": true
},
"errors": [
"string"
],
"warnings": [
"string"
]
},
"skip": 0,
"total": 0
}