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

Retrieving JUnitSeleniun type testscript using REST

Hello

I can sucessfully retrieve the xml of the standard Manual testscripts. But using the same approach on JUnit Seleniun testscripts on RQM 4, the returnin xml contains only the ProjectArea tag like this:

<?xml version="1.0" encoding="UTF-8"?><ns2:testscript xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://schema.ibm.com/vega/2008/" xmlns:ns3="http://purl.org/dc/elements/1.1/" xmlns:ns4="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns5="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns6="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns10="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns12="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns13="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns14="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns16="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns17="http://www.w3.org/1999/XSL/Transform"><ns2:projectArea alias="TestProjArea" href="https://homalm.serpro/qm/resource/itemOid/com.ibm.team.process.ProjectArea/_FgJ-JWchEeKnkKr0CoyUqQ"/></ns2:testscript>

The url used is like 

https://localhost/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProjArea/testscript/urn:com.ibm.rqm:testscript:717

What is wrong with the JUnit Selenium xml as it does not return any information?

0 votes



One answer

Permanent link
Hi Leandro,
from my understanding, JUnit Selenium should be a remote script
in REST API testscript is for manual script and remotescript is for other type of the scripts.
so the JUnit Selenium script url should be like
https://localhost/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProjArea/remotescript/urn:com.ibm.rqm:remotescript:id
and you can check through

https://localhost/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProjArea/remotescript for the JUnit Selenium script you created.

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
× 10,938

Question asked: Mar 22 '13, 11:26 a.m.

Question was seen: 5,167 times

Last updated: Mar 25 '13, 2:52 a.m.

Confirmation Cancel Confirm