Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

Attachments at step level via REST

$
0
0

Hi!

I am building a library for QC, and I am having trouble uploading files at step level.

I already have made attachments through defects and test case level, but I am not being able to attach files via REST at step levels.

This is for example what I made to attach at run level:

/qcbin/rest/domains/DEFAULT/projects/TestProject/runs/2/attachments

using POST as a multipart form data, perfect, but when I do try with steps:

/qcbin/rest/domains/DEFAULT/projects/TestProject/runs/2/run-steps/1/attachments

 

I get error 404, even though /qcbin/rest/domains/DEFAULT/projects/TestProject/runs/2/run-steps/1 exists, and steps in QC has attachments, I am not being able to attach files with it. Is it different than how it works with both defects and runs?

I am using Java with Apache fluent, all the rest is ok, but at step level I can't manage to make it work

 

If someone could help me with that, I will be very glad!

 

Thanks :) .

 

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles