AnsweredAssumed Answered

Update existing VS using Lisa invoke api

Question asked by sdabbiru on Jul 19, 2017
Latest reply on Jul 19, 2017 by UdayKarthik_M

Hi Supportlisteners,

 

Offlate we have been trying to build a script to update the virtual service with any new transaction using the Lisa virutalize invoke api calls using RR pairs. We are trying to follow the approach suggested in the below link.

Add Transactions to an Existing Virtual Service from RR Pairs or a Specification Document (WSDL) - DevTest Solutions - 1… 

where we are stuck is in the second step. When we create the builder session from an existing mar we are getting the below error.

{"error": {
"stackTrace": [
"com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2207)",
"com.google.common.cache.LocalCache.get(LocalCache.java:3953)",
"com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4790)",
"com.ca.sv.vsbuilder.VSBuilderSessionCatalog.getFromCache(VSBuilderSessionCatalog.java:295)",
"com.ca.sv.vsbuilder.VSBuilderSessionCatalog.getFromCache(VSBuilderSessionCatalog.java:328)",
"com.ca.sv.vsbuilder.VSBuilderSessionCatalog.addBuilderSession(VSBuilderSessionCatalog.java:174)",
"com.ca.sv.remote.VSBuilderImpl.addBuilderSession(VSBuilderImpl.java:193)",
"com.itko.lisa.net.RemoteMethodExec.execute(RemoteMethodExec.java:57)",
"com.itko.lisa.net.ServerRequestHandler.processRMIMessage(ServerRequestHandler.java:434)",
"com.itko.lisa.net.ServerRequestHandler.access$300(ServerRequestHandler.java:67)",
"com.itko.lisa.net.ServerRequestHandler$4.run(ServerRequestHandler.java:357)",
"java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
"java.util.concurrent.FutureTask.run(FutureTask.java:266)",
"java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)",
"java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)",
"java.lang.Thread.run(Thread.java:745)"
],
"type": "UncheckedExecutionException",
"message": "java.lang.IllegalArgumentException: Our audit file is either missing or we are not a model archive or are corrupt."
}}

could anyone suggest what could be the issue. we are using the content type as application/zip and took a valid mar with audit document included in the content section of the post call. DevTest version being used is 10.1.

 

Thanks in advance!!

Regards,

Shivakumar.

Outcomes