Hi,
I have UI test case and Using Test Listeners I have the id and status of the test case.
What I need to do is, I have to update the results in management tool using API.
The below bold letters are dynamic… that is… **7791850 is a test case id and 5 is results (Passed, failed… etc).
I have paramterize these two and i have to call this sendRequest in TestListener… Is it possible? **
7791850 & "status_id": 5,
POST https://****.*****.com/index.php?/api/v2/add_result/7791850 HTTP/1.1Accept-Encoding: gzip,deflateAuthorization: Basic AuthenticationContent-Type: application/jsonContent-Length: 85Host: testrail.***.comConnection: Keep-AliveUser-Agent: Apache-HttpClient/4.1.1 (java 1.5){ "status_id": 5, "comment": "This test failed", "version": "1.0 RC1 build 3724"}