It's all about the answers!

Ask a question

RQM Junit Selenium Adapter Fails to Upload the results

Jagadish R Rao (10612111) | asked Aug 11 '14, 5:36 a.m.
We have RQM 4.0.6 server and " " adapter installed on the test client machines, the test gets executed properly but once the test is over the results are not fed back to RQM , there is error thrown by adapter

Monitor Progress: [C:\Users\ADMINI~1\AppData\Local\Temp\1\QMAdapter8739368612339
Progress: 0: Executing test: testReturn(
ExitCode: 0
Failed to log an execution complete with the server: Failed to send data Failed to send data
Caused by: POST[400] : <?xml
 version="1.0" encoding="UTF-8" standalone="yes"?><ns4:Error xmlns:ns10="http://" xmlns:ns11="
lm/qm/qmadapter/task/v0.1" xmlns:ns12="
.1" xmlns:ns13="" xmlns:
ns14="" xmlns:ns16="
t/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns17="
" xmlns:ns1="" xmlns:ns2="http://jazz
.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns3="
ga/2008/" xmlns:ns4="" xmlns:ns5="http://jazz.
net/xmlns/alm/v0.1/" xmlns:ns6="" xmlns:ns7="htt
p://" xmlns:ns8=""
4:statusCode><ns4:message>The uploaded content does not consist of well-formed X
ML or does not match the XML schema for executionresult

I see 2 errors 400 POST Error and the message "well formed XML" this looks like mismatch in rest service to the adapter .. but not sure ..

I have disabled all the advisors for save test result .. so advisors are not playing any role .

One answer

permanent link
Paul Slauenwhite (8.4k12) | answered Aug 11 '14, 9:15 a.m.
Please open a RQM defect and include the adapter/RQM logs and any relevant screen captures.  In addition, restart the adapter with DEBUG logging enabled (see below), rerun the scenario, and include the generated log.

To enable DEBUG loggin, update the following logger levels in <adapter installation directory>/

Jagadish R Rao commented Aug 11 '14, 12:15 p.m.

Hi Paul,

Thanks I have raised the defect

I have attached the logs with DEBUG enabled .

Thanks & Regards

KARPAGAVALLI SWAMINATHAN commented Aug 14 '14, 1:55 a.m.

Hi Paul,

Actually it was working fine till July 10th 2014 and JSA was updating the results back to RQM properly after which we encountered this issue. What caused / introduced this issue now - any thoughts ? 

Thanks in Advance ! 

Paul Slauenwhite commented Aug 14 '14, 8:01 a.m.

Hi Anitha,

Not sure what changed on 7/10/14.  Did you upgrade your RQM server and/or adapter? 

According to RQM - Selenium Junit Adapter Fails to upload the results back to server (120856), this issue was occurring because the project area contains ampersand (&).  As such, a work-around would be to create a project area without an ampersand (&).  Note, this defect has been fixed in RQM 5.0.2.  If you require the fix to be included in an iFix release, please open a PMR.

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.