Map<String, Object> responseMap = Util.castToMap(response);
featureId = Util.getInteger(responseMap,
TestLinkResponseParams.FEATURE_ID.toString());
} catch (XmlRpcException xmlrpcex) {
throw new TestLinkAPIException(
"Error adding test case to test plan: "
+ xmlrpcex.getMessage(), xmlrpcex);
}
return featureId;