Hey folks,
Was testing out the MCP server and noticed that test item responses don't include the retries property, even if the Report Portal API does include retries on the test item. I believe this is an issue in the goRP library that the MCP server uses.
MCP server version: 1.0.1 (Docker, STDIO)
RP version: 5.14.2
Here's a comparison of get_test_item_by_id in the MCP server vs the same API request to /v1/:projectName/item/:itemId
MCP:
{
"attributes": [],
"codeRef": "tests/features/settings/smsSettings.feature:0",
"description": "",
"endTime": "2025-11-11T14:40:26.673Z",
"hasChildren": false,
"hasStats": true,
"id": 89162087,
"issue": {
"autoAnalyzed": false,
"externalSystemIssues": [],
"ignoreAnalyzer": false,
"issueType": "ti001"
},
"launchId": 447479,
"name": "User can opt-in and opt-out of SMS notifications in settings",
"parameters": [],
"parent": 89161236,
"path": "89161236.89162087",
"pathNames": {
"itemPaths": [
{
"id": 89161236,
"name": "Settings - SMS Notifications"
}
],
"launchPathName": {
"name": "iOS e2e Test",
"number": 2840
}
},
"patternTemplates": [],
"startTime": "2025-11-11T14:39:16.19Z",
"statistics": {
"defects": {
"to_investigate": {
"ti001": 1,
"total": 1
}
},
"executions": {
"failed": 1,
"total": 1
}
},
"status": "FAILED",
"testCaseHash": -1287590126,
"testCaseId": "tests/features/settings/smsSettings.feature:0",
"type": "STEP",
"uniqueId": "auto:d1e5a24318535db331a7753ba0213752",
"uuid": "082ece99-220d-41fe-bc1f-32ccd3633429"
}
API call:
{
"id": 89162087,
"uuid": "082ece99-220d-41fe-bc1f-32ccd3633429",
"name": "User can opt-in and opt-out of SMS notifications in settings",
"codeRef": "tests/features/settings/smsSettings.feature:0",
"description": "",
"parameters": [],
"attributes": [],
"type": "STEP",
"startTime": "2025-11-11T14:39:16.190Z",
"endTime": "2025-11-11T14:40:26.673Z",
"status": "FAILED",
"statistics": {
"executions": {
"total": 1,
"failed": 1
},
"defects": {
"to_investigate": {
"total": 1,
"ti001": 1
}
}
},
"parent": 89161236,
"pathNames": {
"launchPathName": {
"name": "iOS e2e Test",
"number": 2840
},
"itemPaths": [
{
"id": 89161236,
"name": "Settings - SMS Notifications"
}
]
},
"issue": {
"issueType": "ti001",
"autoAnalyzed": false,
"ignoreAnalyzer": false,
"externalSystemIssues": []
},
"hasChildren": false,
"hasStats": true,
"launchId": 447479,
"uniqueId": "auto:d1e5a24318535db331a7753ba0213752",
"testCaseId": "tests/features/settings/smsSettings.feature:0",
"testCaseHash": -1287590126,
"patternTemplates": [],
"retries": [
{
"id": 89161237,
"uuid": "0db10f1e-77a1-43b6-8d01-50b8f9546fd9",
"name": "User can opt-in and opt-out of SMS notifications in settings",
"codeRef": "tests/features/settings/smsSettings.feature:0",
"description": "",
"parameters": [],
"attributes": [],
"type": "STEP",
"startTime": "2025-11-11T14:36:49.464Z",
"endTime": "2025-11-11T14:38:00.117Z",
"status": "FAILED",
"statistics": {
"executions": {},
"defects": {}
},
"parent": 89161236,
"hasChildren": false,
"hasStats": true,
"uniqueId": "auto:d1e5a24318535db331a7753ba0213752",
"testCaseId": "tests/features/settings/smsSettings.feature:0",
"testCaseHash": -1287590126,
"patternTemplates": [],
"path": "89161236.89162087.89161237"
},
{
"id": 89161667,
"uuid": "f01fd96f-cab7-4775-8c4b-7ec3ba24cf5c",
"name": "User can opt-in and opt-out of SMS notifications in settings",
"codeRef": "tests/features/settings/smsSettings.feature:0",
"description": "",
"parameters": [],
"attributes": [],
"type": "STEP",
"startTime": "2025-11-11T14:38:03Z",
"endTime": "2025-11-11T14:39:13.658Z",
"status": "FAILED",
"statistics": {
"executions": {},
"defects": {}
},
"parent": 89161236,
"hasChildren": false,
"hasStats": true,
"uniqueId": "auto:d1e5a24318535db331a7753ba0213752",
"testCaseId": "tests/features/settings/smsSettings.feature:0",
"testCaseHash": -1287590126,
"patternTemplates": [],
"path": "89161236.89162087.89161667"
}
],
"path": "89161236.89162087"
}
You'll notice that the only difference is the lack of the retries property. I think this might be an issue at goRP (and possibly an issue with the Report Portal documentation that was used to generate the server in goRP).
Let me know if any further details are needed, thanks!
Hey folks,
Was testing out the MCP server and noticed that test item responses don't include the
retriesproperty, even if the Report Portal API does includeretrieson the test item. I believe this is an issue in the goRP library that the MCP server uses.MCP server version: 1.0.1 (Docker, STDIO)
RP version: 5.14.2
Here's a comparison of
get_test_item_by_idin the MCP server vs the same API request to/v1/:projectName/item/:itemIdMCP:
{ "attributes": [], "codeRef": "tests/features/settings/smsSettings.feature:0", "description": "", "endTime": "2025-11-11T14:40:26.673Z", "hasChildren": false, "hasStats": true, "id": 89162087, "issue": { "autoAnalyzed": false, "externalSystemIssues": [], "ignoreAnalyzer": false, "issueType": "ti001" }, "launchId": 447479, "name": "User can opt-in and opt-out of SMS notifications in settings", "parameters": [], "parent": 89161236, "path": "89161236.89162087", "pathNames": { "itemPaths": [ { "id": 89161236, "name": "Settings - SMS Notifications" } ], "launchPathName": { "name": "iOS e2e Test", "number": 2840 } }, "patternTemplates": [], "startTime": "2025-11-11T14:39:16.19Z", "statistics": { "defects": { "to_investigate": { "ti001": 1, "total": 1 } }, "executions": { "failed": 1, "total": 1 } }, "status": "FAILED", "testCaseHash": -1287590126, "testCaseId": "tests/features/settings/smsSettings.feature:0", "type": "STEP", "uniqueId": "auto:d1e5a24318535db331a7753ba0213752", "uuid": "082ece99-220d-41fe-bc1f-32ccd3633429" }API call:
{ "id": 89162087, "uuid": "082ece99-220d-41fe-bc1f-32ccd3633429", "name": "User can opt-in and opt-out of SMS notifications in settings", "codeRef": "tests/features/settings/smsSettings.feature:0", "description": "", "parameters": [], "attributes": [], "type": "STEP", "startTime": "2025-11-11T14:39:16.190Z", "endTime": "2025-11-11T14:40:26.673Z", "status": "FAILED", "statistics": { "executions": { "total": 1, "failed": 1 }, "defects": { "to_investigate": { "total": 1, "ti001": 1 } } }, "parent": 89161236, "pathNames": { "launchPathName": { "name": "iOS e2e Test", "number": 2840 }, "itemPaths": [ { "id": 89161236, "name": "Settings - SMS Notifications" } ] }, "issue": { "issueType": "ti001", "autoAnalyzed": false, "ignoreAnalyzer": false, "externalSystemIssues": [] }, "hasChildren": false, "hasStats": true, "launchId": 447479, "uniqueId": "auto:d1e5a24318535db331a7753ba0213752", "testCaseId": "tests/features/settings/smsSettings.feature:0", "testCaseHash": -1287590126, "patternTemplates": [], "retries": [ { "id": 89161237, "uuid": "0db10f1e-77a1-43b6-8d01-50b8f9546fd9", "name": "User can opt-in and opt-out of SMS notifications in settings", "codeRef": "tests/features/settings/smsSettings.feature:0", "description": "", "parameters": [], "attributes": [], "type": "STEP", "startTime": "2025-11-11T14:36:49.464Z", "endTime": "2025-11-11T14:38:00.117Z", "status": "FAILED", "statistics": { "executions": {}, "defects": {} }, "parent": 89161236, "hasChildren": false, "hasStats": true, "uniqueId": "auto:d1e5a24318535db331a7753ba0213752", "testCaseId": "tests/features/settings/smsSettings.feature:0", "testCaseHash": -1287590126, "patternTemplates": [], "path": "89161236.89162087.89161237" }, { "id": 89161667, "uuid": "f01fd96f-cab7-4775-8c4b-7ec3ba24cf5c", "name": "User can opt-in and opt-out of SMS notifications in settings", "codeRef": "tests/features/settings/smsSettings.feature:0", "description": "", "parameters": [], "attributes": [], "type": "STEP", "startTime": "2025-11-11T14:38:03Z", "endTime": "2025-11-11T14:39:13.658Z", "status": "FAILED", "statistics": { "executions": {}, "defects": {} }, "parent": 89161236, "hasChildren": false, "hasStats": true, "uniqueId": "auto:d1e5a24318535db331a7753ba0213752", "testCaseId": "tests/features/settings/smsSettings.feature:0", "testCaseHash": -1287590126, "patternTemplates": [], "path": "89161236.89162087.89161667" } ], "path": "89161236.89162087" }You'll notice that the only difference is the lack of the
retriesproperty. I think this might be an issue at goRP (and possibly an issue with the Report Portal documentation that was used to generate the server in goRP).Let me know if any further details are needed, thanks!