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

AQXPL5009E Another test case result is already named

Hello,

I want to integrate my testtool with RQM 5.0.1 using a custom automation adapter (OSLC) based on https://git.eclipse.org/r/#/admin/projects/lyo/org.eclipse.lyo.client

Right now I got an 500 status code returned by the server when I try to save the test case result. Since the adapter runs on other servers seamlessly I assume it is a server configuration issue. I got some insight in the qm.log:

2015-02-26 07:28:42,931 [WebContainer : 31 @@ 07:28 DYG9SI /qm/oslc_auto_test/contexts/_5RnTU-dJEeKzfc0TjbXmmg/resources/com.ibm.rqm.execution.ExecutionResult] ERROR com.ibm.rqm.planning.service                        - TestArtifactCommon:getUniquessNameContraintErrorMessage AQXPL5009E Another test case result is already named "<...>"
2015-02-26 07:28:42,947 [WebContainer : 31 @@ 07:28 DYG9SI /qm/oslc_auto_test/contexts/_5RnTU-dJEeKzfc0TjbXmmg/resources/com.ibm.rqm.execution.ExecutionResult] ERROR com.ibm.rqm.oslc.service                            - AbstractOslcService:handleOslcRequest AQXCM5011E A server error occurred while running the HTTP operation, POST, at this URL: https://<...>/qm/oslc_auto_test/contexts/_5RnTU-dJEeKzfc0TjbXmmg/resources/com.ibm.rqm.execution.ExecutionResult. The response code is 500.
com.ibm.team.repository.common.TeamRepositoryException: AQXPL5009E Another test case result is already named "<...>"
    at com.ibm.rqm.planning.service.internal.TestArtifactCommon.getUniquessNameContraintErrorMessage(TestArtifactCommon.java:1894)
    at com.ibm.rqm.planning.service.internal.TestArtifactCommon.nameUniquenessConstraint(TestArtifactCommon.java:1804)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy2726.nameUniquenessConstraint(Unknown Source)
    at com.ibm.rqm.execution.service.internal.rest.ExecutionResultRestService.postExecutionResult(ExecutionResultRestService.java:458)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


At first glance I couldn't find a setting, precondition or whatsoever which defines that every test case result has to be named uniquely. Is the title meant to unique or is the "name" something different? Google and forum-search right here couldn't give me an answer.

Thanks in advance
Michael

0 votes


Accepted answer

Permanent link
Hi Michael,

This is because of the uniqueness constraint we have for the artifact name. Did you try creating a Testcase Result with a different name which doesnt exist in the server?
Michael Frembs selected this answer as the correct answer

2 votes

Comments

Hi Reshma,

thanks for your reply. You're right. We found the setting:

"Manage this project area -> Test artifacts -> Name uniqueness".

First we looked at the preconditions and didn't find it there.


One other answer

Permanent link
The issue has been also identified as RQM defect: https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=135239 There is APAR PI39122 created for that.

1 vote

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
× 10,938

Question asked: Mar 06 '15, 5:22 a.m.

Question was seen: 3,957 times

Last updated: Apr 15 '15, 7:46 a.m.

Confirmation Cancel Confirm