Report a TestCaseResult (typically used by a Test runner)
643 matches
32 actions
Microcks API v1.7
32 actions
- Create a new SecretPOSTv1.0.0
- Create a new TestPOSTv1.0.0
- Delete SecretDELETEv1.0.0
- Delete ServiceDELETEv1.0.0
- Get aggregated invocation statistics for a dayGETv1.0.0
- Get aggregated invocations statistics for latest daysGETv1.0.0
- Get aggregation of conformance metricsGETv1.0.0
- Get authentification configurationGETv1.0.0
- Get conformance metrics for a ServiceGETv1.0.0
- Get events for TestCaseGETv1.0.0
- Get features configurationGETv1.0.0
- Get invocation statistics for ServiceGETv1.0.0
- Get latest tests resultsGETv1.0.0
- Get messages for TestCaseGETv1.0.0
- Get ResourceGETv1.0.0
- Get Resources by ServiceGETv1.0.0
- Get SecretGETv1.0.0
- Get SecretsGETv1.0.0
- Get ServiceGETv1.0.0
- Get Services and APIsGETv1.0.0
- Get TestResultGETv1.0.0
- Get TestResults by ServiceGETv1.0.0
- Get the already used labels for ServicesGETv1.0.0
- Get the Secrets counterGETv1.0.0
- Get the Services counterGETv1.0.0
- Get the TestResults for Service counterGETv1.0.0
- Get top invocation statistics for a dayGETv1.0.0
- Override Service OperationPUTv1.0.0
- Report and create a new TestCaseResultPOSTv1.0.0
- Search for Services and APIsGETv1.0.0
- Update SecretPUTv1.0.0
- Update Service MetadataPUTv1.0.0
Other/Microcks API v1.7
Report and create a new TestCaseResult
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
{
"required": [
"operationName"
],
"properties": {
"operationName": {
"type": "string",
"description": "Name of related operation for this TestCase"
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
{
"description": "Companion objects for TestResult. Each TestCaseResult correspond to a particuliar service operation / action reference by the operationName field. TestCaseResults owns a collection of TestStepResults (one for every request associated to service operation / action).",
"required": [
"elapsedTime",
"operationName",
"success"
],
"properties": {
"elapsedTime": {
"type": "number",
"description": "Elapsed time in milliseconds since the test case beginning"
},
"operationName": {
"type": "string",
"description": "Name of operation this test case is bound to"
},
"success": {
"type": "boolean",
"description": "Flag telling if test case is a success"
},
"testStepResults": {
"type": "array",
"description": "Test steps associated to this test case",
"items": {
"description": "TestStepResult is an entity embedded within TestCaseResult. They are created for each request associated with an operation / action of a microservice.",
"required": [
"success",
"elapsedTome"
],
"properties": {
"elapsedTime": {
"type": "number",
"description": "Elapsed time in milliseconds since the test step beginning"
},
"eventMessageName": {
"type": "string",
"description": "Name of event this test step is bound to"
},
"message": {
"type": "string",
"description": "Error message that may be associated to this test step"
},
"requestName": {
"type": "string",
"description": "Name of request this test step is bound to"
},
"success": {
"type": "boolean",
"description": "Flag telling if test case is a success"
}
}
}
}
}
}