Forum Discussion
DisTreSs
17 years agoOccasional Contributor
Hi Dain, thx very much for your reply!
Unfortunately I'm getting an error when executing because of def result = testRunner.results[testRunner.results.size()-1]
The error is: java.lang.ArrayIndexOutOfBoundsException: negative array index [-1] too large for array size 0.
Changing the -1 value still puts it out of bounds...
Only when I do not put a value does the script run but I don't believe I'm getting the desired outcome.
The testrequest directly precedes the script in SoapUI as per your suggestion...
Unfortunately I'm getting an error when executing because of def result = testRunner.results[testRunner.results.size()-1]
The error is: java.lang.ArrayIndexOutOfBoundsException: negative array index [-1] too large for array size 0.
Changing the -1 value still puts it out of bounds...
Only when I do not put a value does the script run but I don't believe I'm getting the desired outcome.
The testrequest directly precedes the script in SoapUI as per your suggestion...