POST of a test suite result doesn't return any content
![]() Hi,
I'm trying to use a GET of a test suite result as a template to create new ones by POSTing the template with different values. what I need as a result is the information of the new test result created but I get nothing.
I tried the same with test case result and I got as a result the basic information: ID, url to new result etc:
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:rqm="http://schema.ibm.com/rqm/2007#executionresult"> <rqm:resultId xmlns:rqm="http://schema.ibm.com/rqm/2007#executionresult">14356</rqm:resultId> <rqm:resultItemId xmlns:rqm="http://schema.ibm.com/rqm/2007#executionresult">_FLdpoyUIEeempt5qUMUPeA</rqm:resultItemId> <rqm:resultExternalId xmlns:rqm="http://schema.ibm.com/rqm/2007#executionresult">slug__FKbH0CUIEeempt5qUMUPeA</rqm:resultExternalId> </entry>
can someone let me know how to get get the same information when creating a new test suite result?
|
Accepted answer
![]() What you described is not the expected behavior. In other words, you should not rely on the response body to find out the newly created resource, which is not in the specification. Instead, you should use the response header to proceed further.
sara chason selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.