# Using MockServer is not working

**URL:** <https://forum.katalon.com/t/using-mockserver-is-not-working/35491>\
**Category:** API Testing\
**Tags:** api-testing, katalon-studio\
**Created:** [October 29, 2019, 11:34pm UTC](https://forum.katalon.com/t/using-mockserver-is-not-working/35491 "2019-10-29T23:34:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorgeescobar777](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jorgeescobar777](https://forum.katalon.com/u/jorgeescobar777)\
**Post date:** [October 29, 2019, 11:34pm UTC](https://forum.katalon.com/t/using-mockserver-is-not-working/35491/1 "2019-10-29T23:34:16Z")

</div>

Hi,  
We are trying to use MockServer in a test case script like so:

1. We have added library mockserver-netty-5.6.1-jar-with-dependencies.jar
2. in the script we import the libraries:

import org.mockserver.integration.ClientAndServer  
import org.mockserver.model

(intelisense recognizes them)  
3. When actually running the test case we have an error stating:

/Test.prj/Scripts/REST%20examples/Simple%20examples/api-2-issue/Create%20issue/Create%20a%20new%20issue/Script1538639663709.groovy: 17: unable to resolve class org.mockserver.model  
@ line 17, column 1.  
import org.mockserver.mode

1. if we comment that line, we receive another error  
Test Cases/REST examples/Simple examples/api-2-issue/Create issue/Create a new issue FAILED.  
Reason:  
java.lang.NoSuchFieldError: WRITE\_BUFFER\_WATER\_MARK

We are thinking it might be related to the JRE version?

BR

Jorge
