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

RQM Record Test Script Error

Hello,

 
RQM Version 6.0.6.1 RFT Adapter Version 10.0.2.1

Created a test script with a manual step and wanted to add additional steps via the recording. I have configured the RFT adapter, but on pressing the recording option in RQM the following message is generated in the logs: 

10:18:41,255 [Record Thread] ERROR com.ibm.rqm.adapter.rft - Error while linking to the manual script in RQM: Failed to send data com.ibm.rqm.adapter.library.data.AdapterException: Failed to send data 
at com.ibm.rqm.adapter.library.data.NewRequester.internalUploadData(NewRequester.java:1646) 
at com.ibm.rqm.adapter.library.data.NewRequester.postData(NewRequester.java:1616) 
at com.ibm.rqm.adapter.library.data.NewRequester.uploadRecordedScript(NewRequester.java:2753) 
at com.ibm.rqm.adapter.rft.RecordManualScript.initialize(RecordManualScript.java:84) 
at com.ibm.rqm.adapter.rft.RFTRecordThread.run(RFTRecordThread.java:136) Caused by:  com.ibm.rqm.integration.client.clientlib.RQMProtocolException: POST[400] : <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:Error xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns4="http://purl.org/dc/elements/1.1/" xmlns:ns3="http://schema.ibm.com/vega/2008/" xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns12="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns11="http://open-services.net/ns/qm#" xmlns:ns10="http://open-services.net/ns/core#" xmlns:ns21="http://www.w3.org/1999/XSL/Transform" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns16="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns15="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns14="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/"><ns2:statusCode>400</ns2:statusCode><ns2:message>Required property 'steps' is missing.</ns2:message></ns2:Error> 
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.internalSendToServer(RQMConnectionHelper.java:557) 
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.postToServer(RQMConnectionHelper.java:492) 
at com.ibm.rqm.adapter.library.data.NewRequester.internalUploadData(NewRequester.java:1642) 
... 4 more 10:18:41,259 [Record Thread] ERROR com.ibm.rqm.adapter.rft                            - Error while linking to the manual script in RQM: Failed to send data com.ibm.rqm.adapter.rft.exception.UploadRecordScriptException: Error while linking to the manual script in RQM: Failed to send data 
at com.ibm.rqm.adapter.rft.RecordManualScript.initialize(RecordManualScript.java:91) 
at com.ibm.rqm.adapter.rft.RFTRecordThread.run(RFTRecordThread.java:136) 10:18:41,259 [Record Thread] DEBUG com.ibm.rqm.integration.client.clientlib           - Start internalSendToServer[https://dev-alm.xyz.hub/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ALM+DEV+SAFE+%28Quality+Management%29/tasks/urn:com.ibm.rqm:tasks:4,<?xml version="1.0" encoding="utf-8"?> <qm:adaptertask   xmlns:app="http://www.w3.org/2007/app"  xmlns:qmresult="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1"  xmlns:a="http://www.w3.org/2005/Atom"  xmlns:alm="http://jazz.net/xmlns/alm/v0.1/"  xmlns:qmtask="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1"  xmlns:qmtestscript="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/"  xmlns:abdera="http://incubator.apache.org/abdera"  xmlns:xhtml="http://www.w3.org/1999/xhtml"  xmlns:rqm="http://schema.ibm.com/rqm/2007#executionresult"  xmlns:qmadapter="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1"  xmlns:rqmversion="http://jazz.net/xmlns/prod/jazz/rqm/qm/1.0/"  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"  xmlns:qmtsl="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/"  xmlns:qm="http://jazz.net/xmlns/alm/qm/v0.1/"  xmlns:atom="http://www.w3.org/2005/Atom"  xmlns:dc="http://purl.org/dc/elements/1.1/" > <qmtask:progress>100</qmtask:progress><alm:state>com.ibm.rqm.executionframework.common.requeststate.complete</alm:state><qmtask:statusCode>200</qmtask:statusCode><qmtask:message>Error while linking to the manual script in RQM</qmtask:message></qm:adaptertask>]

Looking forward for any leads in debugging this.

Thanks in Advance.

0 votes



2 answers

Permanent link
RFT 10.0.2.1 looks to be newer version. Have you tried using this with ETM 7.0 ( https://jazz.net/downloads/workflow-management/releases/7.0).

Could you please talk to IBM support team ( or RFT support team ) to file a possible defect in this regard. RFT compatibility with RQM 6061 has to be validated.

Also from your logs ->

0 votes


Permanent link

From you logs ->

property 'steps' is missing.</ns2:message></ns2:Error> 

Test Script Steps should not be missing while updating test script via adapter, This may help you in some way.

0 votes

Comments

I have tried  RFT V10.0.0 RQM 6.0.6.1  and RQM 6.0.6 ifix 007 also, it results in the same error message.

When i looked at this error message i searched the forum and came across this question:

Following Paul's comments i created a manual step, but still the error message is the same. So i am stuck.

 Even the QM logs generate the same error messge:

2020-04-21 12:52:52,962 [Default Executor-thread-1278842 @@ 12:52 <unauthenticated> <RQMConnectionHelper/v0.1 spnego-enabled spnego-enabled@10.25.28.131> /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ALM+DEV+SAFE+(Quality+Management)/testscript] ERROR com.ibm.rqm.execution                               - Required property 'steps' is missing.
    

It may be an issue from RFT side. Some one may need to check if the data which is sent to Adpater contains the step information or not.

Do you have access to the Data which is being sent via RFTRecordThread to QM?
You could try to perform POST/PUT to your QM server with that data to check if QM is wrongly responding an error to request or it is the data has some missing info.

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
× 11,054

Question asked: Apr 21 '20, 6:40 a.m.

Question was seen: 2,890 times

Last updated: Apr 22 '20, 4:01 a.m.

Confirmation Cancel Confirm