Ask a Question

Re: soapui-pro mock response sources

FSay
New Contributor

Re: soapui-pro mock response sources

Bonjour,

Question 1 :
Does this means that there is no support for groovy script for "mock response" when doing this way ?
It is working in soapui-pro, but I cannot make it work from my source code.

1) no, you can get full functionality from within your tests, but you will have to initialize the soapUI Pro core correctly


Can you give me any tips for this.

Merci,

Jean-Pierre
1 REPLY 1
omatzura
Super Contributor

Hi!

try adding the following before running your code:

SoapUI.setSoapUICore( new SoapUIPro.SoapUIProCore( true, pathToSettingsFile );

where pathToSettingsFile should point at the soapui-settings.xml file you want to use (this contains all global settings made under File\Preferences)

You will need to all jars and the correct imports as well.

Hope this helps!

/Ole
eviware.com
cancel
Showing results for 
Search instead for 
Did you mean: