search cancel

How to configure a DevTest beanshell step to use json-20180130.jar

book

Article ID: 229237

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

There are 2 org.json libs in the DevTest/lib/shared directory:
-rw-r--r--. 1 devtest_admin devtest-group  64K Feb  9  2020 json-20140107.jar
-rw-r--r--. 1 devtest_admin devtest-group  61K Feb  9  2020 json-20180130.jar
It appears DevTest uses by default json-20140107.jar.
How to configure a DevTest beanshell step to use json-20180130.jar. 

Environment

Release : 10.6.3

Component : DevTest Virtual Service

Resolution

Priority will be given to the jar that occurs first in the classpath.
To give priority to json-20180130.jar, copy json-20180130.jar from DevTest Home /lib/shared to /lib 
This will add it to the beginning of the classpath.