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

Download images from command line


Hello (me again!),

Is there a way to download images from a simple command line (or any scripted stuff), as we know images have an url like ?

Maybe it does not matter with Testrail if there is a standard Linux command line to achieve this (but maybe not, I don’t know…).

Is it planned to add this feature to the API ? (something like get_image)

Thank you!


Hi Romain,

Thanks for your posting. It would be possible to download attachments/images from the command line and you can use a standard tool like curl for this. This would require sending a valid session cookie (tr_session) as part of the HTTP request headers for authenticating your requests.