---
title: "Get events for TestCase"
method: GET
path: "/tests/{id}/events/{testCaseId}"
tags: ["test"]
---

# Get events for TestCase

`GET /tests/{id}/events/{testCaseId}`

## Response `200`

List of event messages for this TestCase

- UnidirectionalEvent[]
  - `eventMessage` EventMessage, required
    - `id` string, required — Unique identifier of this message
    - `mediaType` string, required — Content type of message
    - `name` string — Unique distinct name of this message
    - `content` string — Body content for this message
    - `operationId` string — Identifier of Operation this message is associated to
    - `testCaseId` string — Unique identifier of TestCase this message is attached (in case of a test)
    - `headers` Header[] — Headers for this message
      - `name` string, required — Unique distinct name of this Header
      - `values` string[], required — Values for this Header
  - `type` 'reqRespPair' | 'unidirEvent', required — Discriminant type for identifying kind of exchange

---

[API](https://skmtc.dev/microcks/apis/microcks-api-v1-7.md) · [All operations](https://skmtc.dev/microcks/apis/microcks-api-v1-7/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/microcks/microcks-api-v1-7/revisions/cc062ec25192/schema)
