What is the best way to get a Test Cases in a Test plan in ETM?
Hi Team,
I am working in a project where I should retrive all the test cases linked to a test plan in ETM(ELM7). I have used this as reference to query the test plan, test cases, TCER - https://sleroyblog.wordpress.com/2013/04/09/querying-rqm-40-through-oslc-and-rest-api/
This is the plan I have
- Get Test Plan ID from user
- Get Test cases
- extracting/parsing the data
And, At few pages, I see that we need to add oslc_config.context to header in order to get the response content properly. Is this a global config or local config?
And, I know how to get the URL of global config, but I am not sure how to get the URL of local config.
Please share your inputs.
One answer
Have you looked at using an OSLC Query Capability for test cases?
See:
https://docs.oasis-open-projects.org/oslc-op/core/v3.0/os/discovery.html
https://docs.oasis-open-projects.org/oslc-op/query/v3.0/os/oslc-query.html
https://docs.oasis-open-projects.org/oslc-op/core/v3.0/os/discovery.html
https://docs.oasis-open-projects.org/oslc-op/query/v3.0/os/oslc-query.html
For
oslc_config.context you should be able to specify a global configuration URI or a local configuration URI.
I have already responded to your other question https://jazz.net/forum/questions/284891/how-to-get-the-url-of-local-configuration-in-etm
Comments
showing 5 of 6
show 1 more comments
Comments
David Honey
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 20 '23, 6:59 a.m.