Skip to content

Testopia 2.5 web services not working ? #4

@sourceCode17

Description

@sourceCode17

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions