Forum Discussion
jhanzeb1
7 years agoFrequent Contributor
Good question. The simple answer would be - not at a project or testsuite level. However, I understand you do not want to keep repeating same thing everywhere so therefore you could have a groovy script in a class to assert for your response code and all you have to do is to ensure you call that script from the script library in your responses.
https://www.soapui.org/scripting-properties/scripting-and-the-script-library.html
Might be able to help you :)