RQM 6.0.3: Has anyone received "Bad Request Error" when uploading test results back into RQM after offline test execution
RQM 6.0.3: Has anyone received "Bad Request Error" when uploading test results back into RQM after offline test execution?
When one of our user tries to upload results back to RQM :
3/30/2017 9:58:09 AM: ERROR: <Unknown Caller Context>: The remote server returned an error: (400) Bad Request.
3/30/2017 9:58:09 AM: EXCEPTION: : The remote server returned an error: (400) Bad Request.
3/30/2017 9:58:09 AM: at System.Net.HttpWebRequest.GetResponse()
at Mso2Rqm_Common.RQMConnector.PutToServer(String url, String data)
3/30/2017 9:58:09 AM: ERROR: <Unknown Caller Context>: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:Error xmlns:ns16="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns14="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns15="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns21="http://www.w3.org/1999/XSL/Transform" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns12="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns10="http://open-services.net/ns/core#" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns11="http://open-services.net/ns/qm#" 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="
at com.ibm.rqm.oslc.service.internal.integration.handler.put.ExecutionResultPutHandler.unmarshal(ExecutionResultPutHandler.java:634)
at com.ibm.rqm.oslc.service.internal.integration.handler.put.ExecutionResultPutHandler.unmarshal(ExecutionResultPutHandler.java:1)
at com.ibm.rqm.integration.handler.AbstractPutHandler.handle(AbstractPutHandler.java:162)
at com.ibm.rqm.integration.handler.AbstractPostHandler.handle(AbstractPostHandler.java:84)
at com.ibm.rqm.oslc.service.internal.integration.handler.put.ExecutionResultPutHandler.handle(ExecutionResultPutHandler.java:137)
One answer
Hi, Neeta
If the user upload the result to different project area, bad request would happen although the trace could be different.
If the user changed some attributes in the excel which is not supposed to change(other than results, comments etc), it would also lead to 400 bad request.
I checked with v6.0.3 ifix03 and there is no problem in offline execution in general, so it does not seem to be product related issue.
Comments
There is a known defect in v6.0.3 for offline execution:
https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=161265
although the trace does not seem to be the same as your post.
Comments
Donald Nong
Mar 30 '17, 10:47 p.m.The error messages are all messed up. I can't really see what is complaining about.