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

[API] Upload screenshot


#42

Hi Tobias,

Is this the same situation for uploading images/attachments when adding Case using the API, that it is not possible?

Thanks,
Tim


#43

Hey Tim,

You are correct. Uploading images via API is not currently possible however we are still looking into adding this feature in the future.


#44

Thank you Marty for confirming!


#45

Hi Tim,

We’re happy to help! We’ve also added your vote to the feature request as well. As an alternative, you can also look into uploading your images/attachments to a third party host and then just linking/referencing these e.g. using TestRail’s Markdown formatting syntax, which is similar to the method that TestRail uses to reference its own internal attachments:

http://docs.gurock.com/testrail-userguide/userguide-editor#images

Hope this helps!

Regards,
Marco


#46

Please add my vote to this feature!

Integration with TestRail remains somewhat clunky without it.


#47

Yes!!! We really need to have API to upload images to testresults. +1 vote for this feature


#48

another vote for this function please


#49

Please add my vote to this feature!


#50

First vote for 2018. Please add this feature !


#51

Please add my vote for this functionality. It would be incredibly useful to have this part of the API!


#52

+1 Pretty please with sugar on top!


#53

+1 for api results with attachments.


#54

+1 for ability to add attachments via api


#55

hi team. i was trying last night to upload image programmatically.
but i met with status code 302 after uploading, see image:

as you can see, my request simulates web-browser request. instead of cookies i used basic-authorization header, and it should be works.

however, the body response is empty.
but it returns 302 code. can you help me, how to avoid it?


#56

response headers:


#57

+1 to uploading files through the API to test cases. It would be incredibly useful for us, both for images and log files.


#58

+1 Have been wishing for this feature for years. Manual test results can include uploaded screenshots; would be great if the API could do it too.


#59

+3 (I and my colleagues) desperately need this feature!!!


#60

+1! Could really do with this feature being implemented