Contributions
Re: Outgoing WSS overrides by method/environment
Well, you could define an event that triggers on test step (or case or suite) execution that does this. That way you don't have to write a whole bunch of scripts, just the one.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions858Views0likes0CommentsRe: ReadyAPI! Project property
In the bin folder where you installed Ready API is a log file called ready-api-errors.log, check it for any errors that may occur when you execute the command line, it could be a simple spelling error. You should also consider upgrading to 1.2.2 (but stay away from 1.3.0, it's not very stable).9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1KViews0likes1CommentRe: generalizing an expression - beginner user needs help :)
Well, SoapUI uses Groovy so that API may be useful: http://docs.groovy-lang.org/latest/html/gapi/ There arealso the SoapUI specific libraries: https://www.soapui.org/apidocs/index.html?overview-summary.html Other than that I mostly google the problem and read a lot.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews0likes0CommentsRe: generalizing an expression - beginner user needs help :)
OK, got it. Well, getting test step names i pretty simple, however you will need to supply the 0-based index of where the desired step is meaning that if you want to generalize you have to put that particular step at the same index everywhere (btw, test step name is the same as the request name). Here goes: def testStepName = context.testCase.getTestStepAt(n).getName() where n is the 0-based index. Now you can simply use testStepName here: def request_total = context.expand('${' +testStepName + '#response#$[n].totalCount}') Notice that since testStepName is a variable you have to concat the strings, hence the ' and the + surrounding it.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews1like2Comments