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

When using RQM restapi to get the case execution results, get a 400 error!

 

<feedUrl>?fields=feed/entry/content/testplan[customAttributes/customAttribute/name="Build Id" and (customAttributes/customAttribute/value="12356")]/*

If the build id exceeds four digits  an http 4000 error is reported.
if Build Id=1234 the rest api works well
Build Id is defined as a text field

How to solve this issue?

About IBM Engineering Test Management

Version: 7.0.2 SR1


0 votes

Comments

Thank you in advance for your answers.


the api for get the execution results of the cases
my feedUrl: 

return response.status_code(400)

  • if customAttributes/customAttribute/value="1235"(less than five digits),rest api return results normally(HTTP status code=200).
  • If "Build ID" is not a pure number, the rest api work well. like: (customAttributes/customAttribute/value="B1235")
This bug is very strange.







Have you tried David's recommendations below?  If so, did it still fail?  If so, did you raise a support request? 



One answer

Permanent link

4000 is not a valid HTTP status code. Perhaps you meant 400.
What is feedUrl?

Have you tried performing a GET on the URI of the test execution results?
Alternatively, discover the OSLC Query Capability for TestExecutionRecord and query for it.
See https://docs.oasis-open-projects.org/oslc-op/core/v3.0/os/discovery.html and https://docs.oasis-open-projects.org/oslc-op/query/v3.0/os/oslc-query.html

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
× 235
× 1

Question asked: Jul 07 '23, 8:39 a.m.

Question was seen: 1,431 times

Last updated: Oct 19 '23, 2:19 p.m.

Confirmation Cancel Confirm