Complete List of TCER coming while using Reportable REST API in RQM/ETM
Hello,
Usecase :
Fetch list of TCER linked with Test plan : 264 using Reportable REST Api
My API :
- Port Server : rj34.de.company.com
- Project Area Alias : Electronics_QM
- Test Plan Number : 264
- Since we have Configuration Management (Full) enabled for our Project Area therefore we are using :
- oslc_config.context : https://rj34.de.company.com/qm/configuration/_HSUUcFLhEeqsrJyIw7ddvA (URL Encoded)
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
One answer
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://....
Comments
@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
Comments
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Dec 03 '21, 9:13 a.m.Try with the closing ' and ] in what looks a more likely correct location, which is before the ?
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 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
Dec 03 '21, 9:31 a.m.Rajat Krishnan
Dec 03 '21, 11:34 a.m.Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 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.