白夜有点黑Contributor7 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 白夜有点黑7 years agosolved it use full package path include evaluate String: evaluate("com.test.apitest.util.RandomUtil.getRandomString(chars, randomInt)")
白夜有点黑 to 白夜有点黑7 years agosolved it use full package path include evaluate String: evaluate("com.test.apitest.util.RandomUtil.getRandomString(chars, randomInt)")
白夜有点黑 to 白夜有点黑7 years agosolved it use full package path include evaluate String: evaluate("com.test.apitest.util.RandomUtil.getRandomString(chars, randomInt)")
白夜有点黑Contributor7 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 白夜有点黑7 years agosolved it use full package path include evaluate String: evaluate("com.test.apitest.util.RandomUtil.getRandomString(chars, randomInt)")
Recent DiscussionsUnable to authenticate license in Ready API Login button unresponsiveSolvedAssertions Panel issue to update assertions since update 3.63ReadyAPI websocket plugin issue
Related ContentTestComplete Evaluation?Line level profiling evaluationReadyAPI Groovy script debugger - Evaluate Expression During Debugging