Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Looking for API support to upload/download files as an attachment to/from test cases


#1

I was working on a tool where I want to upload .json files to test case as an attachment from a local directory. Also, I want to download that attachment locally when I need it in future.

Does TestRail have an API support for such functions ?

If yes, than can you please show me an example for Java ?

Thanks.
Maulik.


#2

Hi Maulik,

Thanks for your posting! There’s no currently no direct API support for attachments. We recommend uploading attachments/screenshots and files to an external location and then including a link in the test case description.

Cheers,
Tobias