Post Session Exceptions
postSessionExceptionsUpload exception/error logs from the client machine for a test session, by session ID. Use this to attach assertion failures or unexpected errors to a session. The result reads the test's exceptions back to confirm they were stored. The automation dashboard may not show exceptions uploaded this way after the test ended.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"data": "<data>"
},
"name": "postSessionExceptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The exceptions to attach: {"exception": ["first message", "second message"]} | |
| sessionId | Yes | The session ID |