Re: soapui-pro mock response sources
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2008
07:47 AM
01-25-2008
07:47 AM
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
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2008
03:01 AM
01-27-2008
03:01 AM
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
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
