AnsweredAssumed Answered

Hot Deployed json libraries but still getting class not found execption

Question asked by VenkateshSatturi on Sep 30, 2014
Latest reply on May 26, 2015 by gajsr01

Hi , I want to do Json parsing for restful web service testing , for that i have downloaded the following libraries

  • json-path-0.9.0
  • json-smart-1.2
  • slf4j-9i-1.75

 

I have added the above libraries in LISA/hotDeploy folder(Copied and pasted above Jar files). I then created a java script step and tried to access the json response stored on a variable using JsonPath.read() method.

 

I'm getting the following error message.

 

Message : Sourced file: inline evaluation of: ' ' import com.jayway.jsonpath.JsonPath; import com.itko.lisa..

": Error in method invocation: Static method read(java.lang.String,java.lang.String) not found in class com.

jayway.jsonpath.JsonPath

 

I have also imported required packages and the same code is working in eclipse.

 

Is my hot deploy done properly ?? , If yes can some one please help me why i'm unable to use JsonPath.read() method.

 

Thanks in advace.

Outcomes