AnsweredAssumed Answered

How to configure  REST Web service for Lisa Virtualization

Question asked by BiswaMishra on Aug 4, 2014
Latest reply on Oct 31, 2016 by viratian

Hi I need to get started with Lisa Service Virtualization using REST http based web services . i would like to know , if there is any sample documents which can help me to start with .

I am able to download the Lisa workstation on my Laptop and able to set up the connectivity  with the server .

Next in the process , i would like to configure on of my existing web service by creating new Test Case on the LISA Workstation .

After creating   a Test Case , while i am submitting it , i am seeing the below exception in the Response window :

 

============================================================================

| HTTP

============================================================================

| Message:     java.lang.NoClassDefFoundError: bsh/EvalError

----------------------------------------------------------------------------

| Trapped Exception: bsh/EvalError

| Trapped Message:   java.lang.NoClassDefFoundError: bsh/EvalError

----------------------------------------------------------------------------

STACK TRACE

java.lang.NoClassDefFoundError: bsh/EvalError

  at com.itko.lisa.test.CommTrans.sendHTTPHeaders(CommTrans.java:1371)

  at com.itko.lisa.test.CommTrans.sendHeaders(CommTrans.java:1220)

  at com.itko.lisa.test.CommTrans.doSend(CommTrans.java:921)

  at com.itko.lisa.test.CommTrans.send(CommTrans.java:763)

  at com.itko.lisa.test.CommTrans.sendPOST(CommTrans.java:748)

  at com.itko.lisa.ws.rest.RESTNode.doSend(RESTNode.java:201)

  at com.itko.lisa.ws.rest.RESTNode.doWebTrans(RESTNode.java:161)

  at com.itko.lisa.ws.rest.RESTNodeBase.execute(RESTNodeBase.java:362)

  at com.itko.lisa.ws.rest.RESTNodeEditor$4.doCallback(RESTNodeEditor.java:884)

  at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)

  at java.lang.Thread.run(Thread.java:722)

Caused by: java.lang.ClassNotFoundException: bsh.EvalError

  at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

  ... 11 more

============================================================================

 

I am really looking  for some help if there is any document which can help me in configuring a REST service in LISA server for virtualization.

Thanks,

Biswa

Outcomes