action microcks_report_test_case_result { label: "Report and create a new TestCaseResult" description: "Report a TestCaseResult (typically used by a Test runner)" provider: microcks method: POST path: "/tests/{id}/testCaseResult" encoding: json input: { required: ["operationName"] properties: { operationName: { type: "string" description: "Name of related operation for this TestCase" } } } output: { 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" } } } } } } }