Closed SCoboG closed 5 years ago
After doing the investigation, the issue is that the call GET /testruns?testCycle=508307 is limited to 20 results. According to that, when a Test cycle contains more than 20 Test Runs, the other one's are not updated.
Good news to have it identified! I can provide some info that could be useful for its resolution. I have learnt from Jordi Treserres (that is using JAMA REST API for querying Test Runs, TCs, Defects, etc..to build Test metrics in Excel), that this parameter can be changed to 50. But this is the maximum limit (at least for a GET action). If you want to extend for a bigger number you need to implement a way to iterate this GET (ask JT how)
He has also detected a performance issue with large amount of items, as the REST API seems to protect the server and it takes some seconds into answering with all the items requested.
Should we implement also a way to check that the same amount of Test Runs uploaded have been assigned with a status? or that all of them have the Test Status we wanted to upload? I mean, some easy mechanism to be sure (or at least provide detailed feedback) about the upload of the results
Retest scenario with result Pass. After applying the fix, it is possible to update the status of 57 test cases in the same test cycle.
Very good! Thanks for the fix and test.
Describe the bug When it has loaded in the Allure Reporter a large number of .json files and the user select to upload the results to Jama, not all the results are uploaded, just a few ones.
To Reproduce Steps to reproduce the behavior:
Expected behavior Only a few number of test cases are modified with the results of the executions.