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>
Accepted answer
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.
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
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