AnsweredAssumed Answered

Lisa Invoke API Error - The test case is not in a project.

Question asked by AVSDevTest on May 15, 2016
Latest reply on Jan 17, 2017 by Jason_J

Hi All,

I am trying to execute devtest test case using lisa invoke apis from local machine against the DevTest server which is on different host and getting error as "the test case is not in a project".

 

URL : http://..../lisa-invoke/runTest?testCasePath=C:\\Project\\SOAPModel\\Tests\\SOAPvirtualServiceTestCase.tst

 

Error :

<?xml version="1.0" encoding="UTF-8"?>

<invokeResult>

    <method name="RunTest">

        <params>

            <param name="testCasePath" value="C:\Project\SOAPModel\Tests\SOAPvirtualServiceTestCase.tst" />

            <param name="configPath" value="" />

            <param name="callbackKey" value="72170D9B1AF211E6A85C005056985E8C" />

            <param name="coordName" value="Coordinator" />

            <param name="stagingDocPath" value="" />

        </params>

    </method>

    <status>ERROR</status>

    <result>

        <message>An error occured in 'runTest'. Message: The test case is not in a project.

Test Case: SOAPvirtualServiceTestCase.tst

Stack: java.lang.IllegalArgumentException: The test case is not in a project.

Test Case: SOAPvirtualServiceTestCase.tst

  at com.itko.lisa.model.mar.ModelArchiveInfo.createTestMARInfo(ModelArchiveInfo.java:247)

  at com.itko.lisa.model.mar.TestMariBuilder.build(TestMariBuilder.java:102)

  at com.itko.lisa.invoke.webapp.LaunchLisaTestHelper.runTestNewSchool(LaunchLisaTestHelper.java:488)

  at com.itko.lisa.invoke.webapp.LaunchLisaTestHelper.runTest(LaunchLisaTestHelper.java:436)

  at com.itko.lisa.invoke.webapp.LaunchLisaTestHelper.invokeLisaTest(LaunchLisaTestHelper.java:292)

  at com.itko.lisa.invoke.webapp.InvokeLisaTestServlet.service(InvokeLisaTestServlet.java:109)

 

Thanks.

Outcomes