Forum Discussion

Francois's avatar
17 years ago

error using groovy script

My question will maybe look stupid for some of you but I'm just starting using soapui and web services.

I would like to use a groovy script for a response of a mock service but i'm not able to do anything ! I have looked at the sample project and I think the coding isn't that hard to understand.

Even when I only define the groovy utils package I have an error message:

com.eviware.soapui.impl.wsdl.mock.DispatchException: Failed to dispatch using script; java.lang.NullPointerException

The thing I don't understand is why I don't have this problem with the sample project ?

If someone have and issue to my problem or could me explain how really it works, it will be greatfull.

1 Reply

  • omatzura's avatar
    Super Contributor
    Hi Francois,

    hmm.. which soapUI version are you using? Can you share your project file for testing (or mail it to me at

    thanks in advance..