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

Received HTTP 501 error when trying to create test cases using RQM URL Utility

Hi Don,


Sorry for silly mistake...appreciate your efforts, now I can GET and DELETE requests successfully. But I want to create testexecutionrecord in rqm but getting 501 method not found error.
Following is my command :


Following is xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rqmTestResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xyz.com">
    <description>This is Test Result Description1</description>
    <rqmTCERId>678</rqmTCERId>
    <rqmTestResultId>1145</rqmTestResultId>
    <status>Failed</status>
    <summary>1</summary>
    <vstTestResultId>1234</vstTestResultId>
</rqmTestResult>

Why I am getting 501 server response? Please help me for same. 

0 votes

Comments

The forum is in a Q&A format, so always raise a new question in a new post, not adding it as an "answer" to the old post.

 Hi Donald,


I am new user of Jazz forum. I will take care in of same in future


Accepted answer

Permanent link

HTTP 501 means "not implemented", which means that you POST to the wrong URL. Read the API reference carefully before you try randomly by guesswork.
https://jazz.net/wiki/bin/view/Main/RqmApi

shweta ranaware selected this answer as the correct answer

0 votes

Comments

 Hi Donald,


I use "/testcaseexecutionrecord" in url to create artifact in RQM. Can you suggest which one is correct path for "test case result" and "test case exection record" which I can use in my url. I think I write wrong path in url i.e "testcaseexecutionrecord"

Thanks,
Best Regards,
Rishikesh

They are /executionresult and /executionworkitem respectively. Read the document please.

 Hi Donald,

Thanks for your valuable reply I am trying to create new test case in rqm using PUT method but getting 400 server error. Following is my command


I pass xml which I previously got using GET request, just modify some parameters but not ablre to create new test case.

I have answered your other post. Put it in another way, if you send a PUT request to an existing artifact, you are updating it.

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
× 478

Question asked: Oct 12 '17, 3:53 a.m.

Question was seen: 2,454 times

Last updated: Oct 16 '17, 2:29 a.m.

Confirmation Cancel Confirm