Hi Team,
We have suite which consists of 148 Test Cases, we are executing that suite through lisa-invoke API, when we trigger gitlab job which will trigger the lisa invoke URL, Entire suite is not executing in between suite execution is aborting. So created MARI file for the same suite and tried to execute the same from post man but getting the below error.
Could any body help on this issue.
Divided the Test Suite in to 7 parts and ran a suite it is working fine but we want to entire suite to be execute in one run. Please let us know any solution we have.
Is there any limitation of Test cases for the suite?
https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.org:xxxx/lisa-invoke/runMar?marOrMariPath=/xxxx/xxxx/xxxxx/xxxxx/xxxxxxx/Tests/Suites/xxxxx.mari<?xml version="1.0" encoding="UTF-8"?>
<invokeResult>
<method name="RunMar">
<params>
<param name="marOrMariPath" value="
/xxxx/xxxx/xxxxx/xxxxx/xxxxxxx/Tests/Suites/xxxxx.mari" />
<param name="callbackKey" value="AE2A04C7FEBB11EAAC1000505687F03E" />
</params>
</method>
<status>ERROR</status>
<result>
<status>RUNNING</status>
<message>An error occured in 'runMar'. Message: com.itko.lisa.net.SuiteCoordinatorClient cannot be cast to com.itko.lisa.testing.StagedSuite
Stack: java.lang.ClassCastException: com.itko.lisa.net.SuiteCoordinatorClient cannot be cast to com.itko.lisa.testing.StagedSuite
at com.itko.lisa.invoke.webapp.LaunchLisaTestHelper.runMarNewSchool(LaunchLisaTestHelper.java:1028)
at com.itko.lisa.invoke.webapp.LaunchLisaTestHelper.runMar(LaunchLisaTestHelper.java:959)
at com.itko.lisa.invoke.webapp.LaunchLisaTestHelper.invokeLisaMar(LaunchLisaTestHelper.java:925)
at com.itko.lisa.invoke.webapp.InvokeLisaMarServlet.service(InvokeLisaMarServlet.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
at com.ca.devtest.http.XSSFilter.doFilter(XSSFilter.java:55)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:202)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)</message>
</result>
</invokeResult>
------------------------------
Thanks & Regards,
Saikiran Garapati.
------------------------------