Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testopia 2.5 web services not working ? #4

Open
sourceCode17 opened this issue Jun 16, 2015 · 1 comment
Open

Testopia 2.5 web services not working ? #4

sourceCode17 opened this issue Jun 16, 2015 · 1 comment

Comments

@sourceCode17
Copy link

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?

@sandarenu
Copy link

Have you found the fix for this. I'm also facing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants