abhayguna
9 years agoOccasional Contributor
Script assertion in a common location?
Hi, Can i write a script assertion in a common location and call it from other script assertions? Thank you, Suman
- 9 years ago
Hi,
One approach to this is to write some common script and package it as a jar file. It can then be added to SoapUI's classpath by placing it in the <soapUI home>/java/app/bin/ext directory and called from muliple locations e.g. Script Assertions etc. Did you see this post:
Also, I was working on a blog post to cover adding custom groovy libraries, its not finished, but I can finish it off / answer questions on it if becomes an area of interest for you:
http://rupertanderson.com/blog/1-how-to-develop-add-and-use-a-custom-groovy-library-in-soapui/
Regards,
Rupert