Forum Discussion

OOTesting's avatar
OOTesting
Occasional Contributor
7 years ago

Call a groovy assertion script form an external file

I'm new to readyAPI and would like to know if it is possible to call a groovy script as a external file that can then be used by all test cases?

 

My soap based response include a success response code that is in all responses, I want to verify that response code is included in every response.

 

Rather than adding the script to every request, can we specify a single external file to be called instead?

3 Replies