gurock / trcli

TR CLI (trcli) is a command line tool for interacting with TestRail.
Mozilla Public License 2.0
47 stars 42 forks source link

CASE ID is getting auto generated though we are providing an existing run id #128

Closed Krishanu-Git closed 1 year ago

Krishanu-Git commented 1 year ago

TestRail CLI Version

1.4.2

CLI Environment

Windows 11, Python 3.10

TestRail Version

TestRail v7.5.6 Default (3001)

TestRail Instance Type

Professional Cloud

Current behavior

CASE ID is getting auto generated though we are providing an existing run id

command used: trcli -y -h "https://.testrail.io/" -v -u "" -p "" --project "" parse_junit --case-matcher "property" --title "" --run-id 10 -f "output.xml"

Desired behavior

Expected not to generate any new case id when providing an existing run id should be taking the previous case ids allocated in that run id and update those with the Junit xml status

NOTE: If the run id is not provided then its creating a new run id and new case id and updating it as per status

More Details

No response

sdbit04 commented 1 year ago

I support on this observation

Krishanu-Git commented 1 year ago

@Testinator-X Even while providing a particular suite-id and run-id it is still creating. new case ids with the same test case names in that same suite

image

Testinator-X commented 1 year ago

@Krishanu-Git I‘m not sure why you are tagging me here and how I can help you with this question. I‘m just a normal end user like you. IMHO you better might want to direct the question to someone more official like @d-rede

Krishanu-Git commented 1 year ago

@Testinator-X Apologies for tagging you I was not sure

Krishanu-Git commented 1 year ago

Closing this bug since I'm able to update the existing test case ids in test rail by removing -y as trcli option