Forum Discussion
6 Replies
- Hi,
I would say it depends on tomcat server and how it handles reloading when something changes inside the directory where you have deployed your projects.
So, I think you have to try it out and see how it works.
Regards,
Shadid
SmartBear Sweden - Alcatel-Lucent__5Occasional Contributor
13:29:52,237 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\tomcat6\webapps\xxxxx\WEB-INF\scripts]
I tried replacing the edited groovy script in the specified folder. Still its not taking my new groovy script. I even restarted my tomcat server. Not working!! - Hi,
You have to redeploy the project in order for it to start using the new code. Try that out and let me know if it works.
Regards,
Arian
SmartBear Sweden - Alcatel-Lucent__5Occasional Contributorre-Deploying works. Is there any way to just change the updated script?
- Hi,
It seems SoapUI caches the script the first time it reads it. Tomcat will re-deploy your application automatically (unless you disabled that in tomcat config) when you copy a new WAR file into the Tomcat webapps folder. You could just change your groovy script, create a new war file, and then copy the war file into that folder. Would this be a satisfactory solution for you?
Regards,
Renato Athaydes
SmartBear Sweden - Alcatel-Lucent__5Occasional ContributorThanks. Its working.