Everything looks to work perfect accept one thing which I can not get working javascript:emoticon(':lol:')
I am trying to save some testresult by using the reportTCResult().
But the functions does not work as I was hoping.
At the moment I do a call with some invalid parameters an exception is returned. But at the moment I send a call with (I think valid parameters) no result is send.
I am using the following code
Code: Select all
// Report test case result in new build.
params = new ArrayList<Object>();
executionData = new Hashtable<String, Object>();
executionData.put("devKey", DEV_KEY);
executionData.put("testcaseid", 577);
executionData.put("testplanid", 1);
executionData.put("buildid", 1);
executionData.put("status", "p");
params.add(executionData);
result = (Object[]) rpcClient.execute("tl.reportTCResult", params);
// Typically you'd want to validate the result here and probably do
// something more useful with it
System.out.println("Result reportTCResult:\n" + result.length);
for (int i = 0; i < result.length; i++) {
Map item = (Map) result[i];
System.out.println("Keys: " + item.keySet().toString()
+ " values: " + item.values().toString());
}
Is it possible that this is a defect in beta 3 or am I doing something wrong
I hope some can help me
