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

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

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

0 votes



2 answers

Permanent link
can u plz tell me how to add new RQM script types?

0 votes


Permanent link
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

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

Question asked: May 11 '09, 11:22 a.m.

Question was seen: 5,299 times

Last updated: May 11 '09, 11:22 a.m.

Confirmation Cancel Confirm