Description
When the Step result is a custom status, we get the following error:
GET api/testrun/{id}/step/{stepResultId}/status
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>No value present</message><stack-trace>java.util.NoSuchElementException: No value present
 at java.util.Optional.get(Optional.java:135)
 at com.xpandit.raven.statuses.DefaultTestStatusManager.getStatusById(DefaultTestStatusManager.java:175)
 at com.xpandit.raven.rest.api.testrun.TestStepResource.getTestStepResultStatus(TestStepResource.java:274)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
Attachments
Issue Links
- relates to
-
XRAY-3229 Unable to update the Step result with a custom status via REST API
- Closed