Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Create multiple Test Script in 1 request but getting response in ContentLocation only 1 test Script Id

Api :-  https://jazz.net/sandbox01-qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_rcueAIgqEe2oDpuX_ikGjA/testscript/urn:com.ibm.rqm:testscript


request body : - 
<?xml version="1.0" encoding="UTF-8"?><!--<ns2:testscript xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/"
  xmlns:ns21="http://www.w3.org/1999/XSL/Transform">--><ns2:testscript xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://schema.ibm.com/vega/2008/" xmlns:ns3="http://purl.org/dc/elements/1.1/" xmlns:ns4="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns5="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns6="http://purl.org/dc/terms/" xmlns:ns7="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns10="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns12="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns13="http://open-services.net/ns/core#" xmlns:ns14="http://open-services.net/ns/qm#" xmlns:ns15="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns16="http://www.w3.org/2002/07/owl#" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns21="http://www.w3.org/1999/XSL/Transform"><ns2:projectArea href="https://jazz.net/sandbox01-qm/resource/itemOid/com.ibm.team.process.ProjectArea/_rcueAIgqEe2oDpuX_ikGjA" alias="RQM" /><ns3:title>Group110423_2_1</ns3:title><ns3:description>Activity 1104232_1***Activity 1104232_2</ns3:description><ns5:state ns7:resource="https://jazz.net/sandbox01-qm/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/_rcueAIgqEe2oDpuX_ikGjA/workflowstate/com.ibm.rqm.process.testscript.workflow/com.ibm.rqm.planning.common.new">com.ibm.rqm.planning.common.new</ns5:state><ns3:creator ns7:resource="https://jazz.net/jts/resource/itemName/com.ibm.team.repository.Contributor/8983474163">8983474163</ns3:creator><ns5:owner>unassigned</ns5:owner><ns2:locked>false</ns2:locked><ns2:scripttype>com.ibm.rqm.planning.common.scripttype.manual</ns2:scripttype><ns2:variables>
  </ns2:variables><ns2:includeBuiltInVars>false</ns2:includeBuiltInVars><ns2:steps>
    <ns9:step stepIndex="1" type="variable" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/"><ns9:name>Activity 1104232_1</ns9:name><ns9:title>Activity 1104232_1</ns9:title><ns9:description><div:div xmlns:div="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><div></div></div:div></ns9:description><ns9:expectedResult><div:div xmlns:div="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"></div:div></ns9:expectedResult><ns9:comment /><ns9:compare /></ns9:step><ns9:step stepIndex="2" type="variable" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/"><ns9:name>Activity 1104232_2</ns9:name><ns9:title>Activity 1104232_2</ns9:title><ns9:description><div:div xmlns:div="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><div></div></div:div></ns9:description><ns9:expectedResult><div:div xmlns:div="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"></div:div></ns9:expectedResult><ns9:comment /><ns9:compare /></ns9:step>
    </ns2:steps><ns2:template href="https://sdp.web.att.com/fa5qm1/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Customer_Information_Management_QM_20.21.01/template/manualtestscript/com.ibm.rqm.planning.manualtestscript.default" /><ns2:artifactAttributes><ns2:artifactAttribute><ns2:predefinedAttributeId>com.ibm.rqm.planning.common.manualtestscript.step.description</ns2:predefinedAttributeId></ns2:artifactAttribute><ns2:artifactAttribute><ns2:predefinedAttributeId>com.ibm.rqm.planning.common.manualtestscript.step.expectedresult</ns2:predefinedAttributeId></ns2:artifactAttribute><ns2:artifactAttribute><ns2:predefinedAttributeId>com.ibm.rqm.planning.common.manualtestscript.step.attachementsandlinks</ns2:predefinedAttributeId></ns2:artifactAttribute></ns2:artifactAttributes></ns2:testscript>

0 votes

Comments

Pravin, please read https://jazz.net/forum/questions/203755/how-should-i-ask-a-question-in-the-forum-if-i-want-to-receive-useful-answers.
Your post does not include details of the response.
Your post does not include any question(s).
Your post is tagged with rational-doors-next and requirement-management-doors-next but the API appears to be for ETM rather than DOORS Next.

In addition to the above, please read the documentation of the APIU, should it be the one you use: https://jazz.net/wiki/bin/view/Main/RqmApi#Bulk_Upload note that bulk update is documented as experimental and only works with Content-Type = application/atom+xml

Also, please make sure you include your headers in the post. 

I'm not sure it's possible to get multiple Location headers in the response. If you need to create several and get their locations I guess you'll have to create them one at a time. 



One answer

Permanent link

 Location and Content Location are just 1 URL. https://jazz.net/wiki/bin/view/Main/RqmApi#Bulk_Upload  explain how the ETM Reportable REST API supports bulk creations/updates and it does neither use application/rdf+xml, nor the content location header as far as I can see. It uses an atom feed.. 

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,939

Question asked: Apr 11 '23, 5:54 a.m.

Question was seen: 810 times

Last updated: Apr 12 '23, 1:59 a.m.

Confirmation Cancel Confirm