Forum Discussion
nmrao
8 years agoChampion Level 3
May be this is not a solution, but you could try restarting the tool after update of the script and see if that helps.
- s9goswami8 years agoOccasional Contributor
Yes , but that is very annoying if everytime I have to restart the Tool . As per script library documentation the Tool should recompile / refresh all the classes every 5 seconds which dioesn't seems to be the case?
Is Smart Bear putting false documentation or is it a bug?
Documentation:
Groovy Script Library
The Script Library can be used as follows;
- Specify which directory to use in the SoapUI Preferences tab (default is /scripts). SoapUI will check this directory for files with the "Groovy" extension and compile these upon startup. The directory is then checked periodically (every 5 seconds) for updates and new or existing scripts are compiled and re-compiled if necessary.
- Scripts should be placed in directories named after their containing package, that is a script in the package soapui.demo should be in a soapui/demo directory under the specified scripts directory.
- The compiled classes are added to the parent class loader of all Groovy scripts, you can access them as standard java classes.
Link :
https://www.soapui.org/scripting---properties/scripting-and-the-script-library.html
- nmrao8 years agoChampion Level 3Not sure of the details.
Any ways, you should be able to report the same to SmartBear team using below link:
https://support.smartbear.com
By the way, do you update the scripts from with in ReadyAPI tool or using any IDE ?- s9goswami8 years agoOccasional Contributor
Thanks for the link! Yes , I update it using the Ready API Tool but wanted to keep the Groovy scripts outside such that it can be used by the Community .
Related Content
- 4 years ago
- 7 years ago
- 10 months ago
Recent Discussions
- 22 days ago