Contributions
Having trouble with property transfer
All, I'm on SoapUI 5.0.0. I'm having trouble with property transfers. I've read the docs but still don't get it. All I want to do is set a session id to be reused in multiple test steps. I know I want to generate the id with ${=UUID.randomUUID().toString()}. Assigning that to a test case property causes that literal value (${=UUID.randomUUID().toString()}) to be inserted anywhere I reference it, such as in each test step with ${#session_id}. When that happens, I get a unique guid each time when I really want the same guid over and over. I know this should be super easy but I'm not getting it. thanks1.1KViews0likes2CommentsReusing values in setup scripts
Hi all, I'm using SoapUI 4.5.2 and am trying to create a setup script that will set variables that I reference in my load test. I'm reading test data from files in my setup script. How can I avoid rereading the file on each iteration? For example, if I do 10 runs, then the file is read 10 times. I thought I could read the data into an array and set it on the context, but something isn't working. I'm basing my code on http://www.soapui.org/Load-Testing/load ... pting.html. My relevant part of my script looks like this: def getTeamMemberData = context.getTeamMemberData //always null! if (!getTeamMemberData) { log.info('reading files') getTeamMemberData = [] def getTeamMemberDataFile = new File(...) addLanIdsToList = {getTeamMemberData.add(it)} getTeamMemberDataFile.eachLine(addLanIdsToList) context.getTeamMemberData = getTeamMemberData } "reading files" is printed for every iteration. I think rereading the data file will become a bottleneck for a real load test. What else can I do to stash the data for reuse on subsequent iterations? thanks10 years agoPlace ReadyAPI QuestionsReadyAPI Questions974Views0likes0CommentsUsing user.name as part of test output dir?
All, I'm using SoapUI 4.5.1. I have production checkout smoke tests that various people run. I want to make the test output go to somewhere under the user's Windows 7 home directory. Is it possible to somehow specify the java system property user.name as part of the output path? When I run the tests, I right click the test suite and select "Launch Test Runner." It's the Root Folder input box of the Reports tab where I want to specify user.name. Putting ${user.name} in there doesn't work. thanks1.1KViews0likes1CommentRe: Results window XML tab does not update
I'm seeing the same behavior with 4.5.1, though I don't seem to have an OOM error. The heap graph shows < 50% used. My responses are under 10k and come back in 100-200ms. The xml response view does not update after several requests, but the raw view does update. thanks11 years agoPlace ReadyAPI QuestionsReadyAPI Questions991Views0likes0Comments