Junit test case execution stucks at 99%
We are using RQM 4.0.2. We are following the steps as mentioned in article https://jazz.net/library/article/755.
We created the same Junit script and test case/test script. When we try to run the test case, it runs but gets stuck at 99%. I kept it like that for an hour and still the status did not change. Running multiple times did not have any change. Checked the command line adapter log and got following errors:
--------------------------------------
16:00:59,491 [Thread-2] ERROR com.ibm.rqm.adapter.commandline - Failed to log an execution complete with the server: 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:1547)
at com.ibm.rqm.adapter.library.data.NewRequester.postData(NewRequester.java:1518)
at com.ibm.rqm.adapter.library.data.NewRequester.internalCreateResult(NewRequester.java:1312)
at com.ibm.rqm.adapter.library.data.NewRequester.createResult(NewRequester.java:1000)
at com.ibm.rqm.adapter.commandline.CommandLineExecutionThread.run(CommandLineExecutionThread.java:415)
Caused by: com.ibm.rqm.integration.client.clientlib.RQMProtocolException: POST[500] : <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:Error xmlns:ns10="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns12="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns13="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns14="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns16="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns17="http://www.w3.org/1999/XSL/Transform" xmlns:ns1="http://schema.ibm.com/vega/2008/" xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns3="http://purl.org/dc/elements/1.1/" xmlns:ns4="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns5="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns6="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns9="
Do you have the advisor "Require Actual Result For Step" enabled for Test case results?
Thanks and regards,
Deepa
Comments
Amit Garg
May 02 '13, 4:41 a.m.Thanks Deepa, I guess that was the issue. However, my testcase failed with following errors:
===================================