I’m trying to attach log files to tests that fail. I am able to create the result via Invoke-RestMethod using -Method “Post” (powershell call), but when I try to use the same way to attach the log file, I get the error: “No file attached or upload size was exceeded.”
For adding a result via add_result/<test_id>, I use the following body:
“comment”: “The test has failed”,
For adding an attachment via add_attachment_to_result/<result_id>, I’m using the following body:
Is there something I am missing? Thanks!