白夜有点黑Contributor6 years agoSolvedHow to evaluate a String which one like a classname.methodname in SoapUI with Groovy?I have groovy code as below: def randomInt = RandomUtil.getRandomInt(1,200); log.info randomInt def chars = (("1".."9") + ("A".."Z") + ("a".."z")).join() def randomString = RandomUtil.getRandomStrin...Show MoreTIM截图20190523225711.png165 KB白夜有点黑 to 白夜有点黑6 years agosolved it use full package path include evaluate String: evaluate("com.test.apitest.util.RandomUtil.getRandomString(chars, randomInt)")
白夜有点黑 to 白夜有点黑6 years agosolved it use full package path include evaluate String: evaluate("com.test.apitest.util.RandomUtil.getRandomString(chars, randomInt)")
白夜有点黑 to 白夜有点黑6 years agosolved it use full package path include evaluate String: evaluate("com.test.apitest.util.RandomUtil.getRandomString(chars, randomInt)")
白夜有点黑Contributor6 years agoAlready get the solution here: https://stackoverflow.com/questions/56278994/how-to-evaluate-a-string-which-one-like-a-classname-methodname-in-soapui-with-gr/56281496?noredirect=1#comment99222491_56281496
白夜有点黑Contributor to 白夜有点黑6 years agosolved it use full package path include evaluate String: evaluate("com.test.apitest.util.RandomUtil.getRandomString(chars, randomInt)")
Recent DiscussionsCom server permission error on Process.startReuse adapted xml file and send in RESTManaging Failures - New vs. Expected/Known Issues
Related ContentTestComplete Evaluation?Line level profiling evaluationReadyAPI Groovy script debugger - Evaluate Expression During Debugging