It's all about the answers!

Ask a question

How to create remote test scripts by using the RQM API ?


Michael Waßmann (33172) | asked May 11 '09, 11:22 a.m.
Hi All,

Issue
I extended the RQM script types by an additional type named "Data Testing with RapidRep", so that i can create test scripts of this type from the RQM UI.

Now i want to create remote testscripts programatically by using the RQM API.

For this reason i send a HTTP PUT command with the following content to RQM:

<xml>
<remotescript>
<description>
<type>Data Testing with RapidRep</type>
<updated>2009-05-11T12:53:22.341Z</updated>
<state>com.ibm.rqm.planning.common.new</state>
<authorid>ADMIN</authorid>
<ownerid>%My_Password%</ownerid>
<tags>
<title>My script title</title>
<shareprefix>
<relativepath>
<manageadapter>false</manageadapter>
<fullpath>Dummy_Path\</fullpath>
<reportDefName>Currency Test</reportDefName>
<fileSeperater>\</fileSeperater>
</remotescript>

Impact
The test script is created within RQM, BUT unfotunately RQM ignores my custom tag <reportDefName>.

Question
Does anyone know if this is an RQM bug, or is the content that i send not correct.

Many thanks in advance

Finaris

2 answers



permanent link
lakshmi kumari (2163) | answered May 12 '09, 4:59 a.m.
can u plz tell me how to add new RQM script types?

permanent link
pranam c s (3112) | answered May 20 '09, 6:23 a.m.
JAZZ DEVELOPER
Hi,

Can you use namespace aware custom fields ? I used the following :

<xml>
<remotescript>

<dc>MY4</dc>
<dc>remote R f T 4</dc>
<dc> This is the description text of the remote exec script </dc>
<dc>mary</dc>
<jzalm>ADMIN</jzalm>
<jzalm>Draft</jzalm>
<type>Functional Tester</type>
<shareprefix>\\\\9.124.23.45\\project1\\xterm</shareprefix>
<relativepath>\\myscripts\\script1</relativepath>
<manageadapter>false</manageadapter>
<adapterid></adapterid>
<fullpath></fullpath>
<as>123</as>
<as>234</as>
</remotescript>


Notice my name space - "as:" aware custom fields get saved and can be seen when I do a GET.

Hope this helps.

Thanks
Pranam

Thanks
Pranam

Hi All,

Issue
I extended the RQM script types by an additional type named "Data Testing with RapidRep", so that i can create test scripts of this type from the RQM UI.

Now i want to create remote testscripts programatically by using the RQM API.

For this reason i send a HTTP PUT command with the following content to RQM:

<xml>
<remotescript>
<description>
<type>Data Testing with RapidRep</type>
<updated>2009-05-11T12:53:22.341Z</updated>
<state>com.ibm.rqm.planning.common.new</state>
<authorid>ADMIN</authorid>
<ownerid>%My_Password%</ownerid>
<tags>
<title>My script title</title>
<shareprefix>
<relativepath>
<manageadapter>false</manageadapter>
<fullpath>Dummy_Path\</fullpath>
<reportDefName>Currency Test</reportDefName>
<fileSeperater>\</fileSeperater>
</remotescript>

Impact
The test script is created within RQM, BUT unfotunately RQM ignores my custom tag <reportDefName>.

Question
Does anyone know if this is an RQM bug, or is the content that i send not correct.

Many thanks in advance

Finaris

Your answer


Register or 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.