create_result_bulk
Add multiple test run results at once to the QASE test management platform, streamlining batch result creation for efficient test execution tracking.
Instructions
Create multiple test run results in bulk
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| id | Yes | ||
| results | Yes |
Implementation Reference
- src/index.ts:302-305 (handler)MCP tool handler for 'create_result_bulk' that validates input arguments using CreateResultBulkSchema and calls the createResultBulk helper function..with({ name: 'create_result_bulk' }, ({ arguments: args }) => { const { code, id, results } = CreateResultBulkSchema.parse(args); return createResultBulk(code, id, results); })
- src/operations/results.ts:32-36 (schema)Zod schema defining the input structure for the create_result_bulk tool: project code, run ID, and bulk results.export const CreateResultBulkSchema = z.object({ code: z.string(), id: z.number(), results: z.record(z.any()).transform((v) => v as ResultCreateBulk), });
- src/index.ts:160-164 (registration)Registration of the 'create_result_bulk' tool in the ListToolsRequestSchema handler, including name, description, and input schema.{ name: 'create_result_bulk', description: 'Create multiple test run results in bulk', inputSchema: zodToJsonSchema(CreateResultBulkSchema), },
- src/operations/results.ts:60-63 (helper)Helper function that composes the Qase client bulk result creation call with result transformation using Ramda pipe.export const createResultBulk = pipe( client.results.createResultBulk.bind(client.results), toResult, );