Skip to content
Discussion options

You must be logged in to vote

Hi @emmanuel-pedralvez I can see the following errors:

  • KeyError: ‘runs’ - This likely means the response from add_plan_entry is missing the expected 'runs' key — most likely because TestRail rejected the request due to invalid case IDs.
  • Field :case_ids contains unrecognized case IDs - TestRail is rejecting the request to attach the cases to a plan entry because; One or more of the case IDs do not belong to the specified suite or the suite_id used in the payload is incorrect or mismatched.

Suggestions:

  • Use --run-id Instead of --plan-id - If the plan already contains the test run you want to upload to, and you know the specific run ID inside the plan, skip --plan-id entirely.
  • Ensure Case…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by acuanico-tr-galt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants