It's all about the answers!

Ask a question

Complete List of TCER coming while using Reportable REST API in RQM/ETM

Rajat Krishnan (398) | asked Dec 03 '21, 9:00 a.m.
edited Dec 04 '21, 7:50 a.m.
Usecase :
Fetch list of TCER linked with Test plan : 264 using Reportable REST Api

My API :

What i am getting :
Complete List of TCER present in our Electronics_QM in response body

Excepted :
Only TCER Linked with test plan number 264

Please let me know what i am doing wrong with above URL formation

Thank you


Ian Barnard commented Dec 03 '21, 9:22 a.m.

But NOTE I'm not saying that your fields filter is correct, just that your xpath syntax was wrong 

Rajat Krishnan commented Dec 03 '21, 9:31 a.m.
Thanks for your response , but still i am getting the same result

Rajat Krishnan commented Dec 03 '21, 11:34 a.m.
Also i can confirm that the filter is correct

Ian Barnard commented Dec 04 '21, 4:52 a.m.

If your filter were correct you would get a filtered result set. AFAICT when I try an invalid/wrong fields value there is no filtering, i.e. I get all the items, which is exactly what you’re reporting.

One answer

permanent link
Daniel Chirillo (111) | answered Dec 04 '21, 7:31 a.m.
edited Dec 04 '21, 7:31 a.m.

The one thing that stands out to me eye is that you didn't include the protocol in the href. You should have @href='https://....

Rajat Krishnan commented Dec 04 '21, 7:49 a.m.

@Daniel Chirillo

Sorry my bad , it's there while I am sending GET request but I missed to add here in the question ,but it is not sending me the correct response not sure why

Your answer

Register or to post your answer.