-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I'm trying to update test runs using this Testopia API but I continuously get errors such as:
org.apache.xmlrpc.XmlRpcException: The requested method 'TestRun.get' was not found.
Here is my code:
TestCase testCase = new TestCase(ID, statusId, categoryId,priorityId, authorId,
defaultTesterId, creationDate,
estimatedTime, automated, sortKey,
script, arguments, summary, requirement, alias);
TestCaseRun testRun = new TestCaseRun(ID, buildId, environmentId,
runId, testCaseId, assignee, testedBy, statusId, notes, priorityId);
TestopiaXmlRpcClient client = new TestopiaXmlRpcClient(url);
XmlRpcMiscService misc = new XmlRpcMiscService(client);
misc.login(userName, password);
XmlRpcTestRunService svc = new XmlRpcTestRunService(client);
XmlRpcTestCaseRunService svc2 = new XmlRpcTestCaseRunService(client);
testCase.setAutomated(true);
testRun.setNotes("success!");
svc2.update(testCase, 2, 1, 1);
It results in an error that states:
org.apache.xmlrpc.XmlRpcException: The requested method 'TestCaseRun.update' was not found.
Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels