Forum Discussion
SmartBear_Suppo
14 years agoSmartBear Alumni (Retired)
Hello,
We have the JavaDoc API for all our classes available here (soapUI) and here (soapUI Pro).
When working with Groovy you can generally write things as in Java, but if you want to you can take advantage of a bunch of Groovy features which can make the code a lot more readable and concise. For example:
testRunner.testCase.testSteps["Request 1"].testRequest.response.timeTaken
would be written as the following in Java:
testRunner.getTestCase().getTestSteps().get("Request 1").getTestRequest().getResponse().getTimeTaken();
Good luck!
Regards,
Dain
eviware.com
We have the JavaDoc API for all our classes available here (soapUI) and here (soapUI Pro).
When working with Groovy you can generally write things as in Java, but if you want to you can take advantage of a bunch of Groovy features which can make the code a lot more readable and concise. For example:
testRunner.testCase.testSteps["Request 1"].testRequest.response.timeTaken
would be written as the following in Java:
testRunner.getTestCase().getTestSteps().get("Request 1").getTestRequest().getResponse().getTimeTaken();
Good luck!
Regards,
Dain
eviware.com
Related Content
Recent Discussions
- 18 days ago