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

need help on the testcase creation in RQM using the API

Hi, I am using the link https://testing.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectnamedecoded/testcase  for creating the testcase in RQM using the API but even though I am passing the X-Jazz-CSRF-Prevent with the session id , I am getting the error as 403 </head>
<body>
<h2>Permission Denied</h2>
<div>Your account does not have the group memberships required to access the requested resource.</div>       
</body>
</html>

0 votes


Accepted answer

Permanent link

Are you sure your client is authenticated? Can you succesfully GET an existing testcase? Check the body content is correct, not just that the response is 200.

seshkumar ch selected this answer as the correct answer

0 votes

Comments

Thank you for your reply, I am able to get the testcase using this link(https://localhost:9443/qm/oslc_qm/contexts/_7C2_YDQIEeKh2o37xigryw/resources/com.ibm.rqm.planning.VersionedTestCase?oslc.where=oslc:shortId=%2232%22) and I am able to see the complete details not only 200 response but not able to create the testcases using the link( https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase) as I am getting 403 forbidden error


One other answer

Permanent link

If you have questions like this and expect answers, provide the required information e.g. tool version, request URL, Headers etc. Which tools you use to generate the request. See https://jazz.net/forum-guidelines.jsp

I have seen recently an issue when using POST in some restclients. Try to override the header user-agent and provide a value such as custom 

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
× 11,056
× 1,724

Question asked: Feb 17, 9:49 a.m.

Question was seen: 1,571 times

Last updated: Feb 17, 11:06 p.m.

Confirmation Cancel Confirm