Hello,
I am trying to do the following when I get this error.
Update run
request = { 'name' : runs[0]['name'],
'include_all' : False,
'description' : 'Testsuite run added automatically for suite in plan',
'case_ids' : previous_tc_ids + list( filter( lambda x: x not in previous_tc_ids, tc_ids)) }
try:
r = self.user_client.send_post( '/update_plan_entry/%d/%s' % (plan_id, entry_id ), request )
Even with this error the results get posted.
However, in some cases, there is additional error due to which the results don’t get posted.
The error is following-
TestRail API returned HTTP 400 (“Field :results contains one or more invalid results (case C2974081 unknown or not part of the test run)”)
How to solve this issue?