Contributions
Re: how to compare decimal values
//define two decimal variables (float) as def float a=0.0; def float b=0.0; //value "x" that you read from response message a=x.toFloat();; //value "y" that you read from excel b=y.toFloat();; //now compare if( a == b ) { }14 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes0Comments- 1.2KViews0likes0Comments
- 1.2KViews0likes0Comments
- 1.8KViews0likes0Comments
Re: Use response values in test step
If the test step request name is "XXXXXXX" //Getting the values from a response groovyUtils = new com.eviware.soapui.support.GroovyUtils(context) XMLHolder = groovyUtils.getXmlHolder("XXXXXXX#Response") //"ports" is a array variable def ports = XMLHolder.getNodeValues("//logicalPort") //Setting the value to a request XMLHolder = groovyUtils.getXmlHolder("XXXXXXX#Request") //ports[0] holds the first port value, ports[1] holds the second port value and so on.... XMLHolder.setNodeValue("//logicalPort", ports[0]); XMLHolder.updateProperty()667Views0likes0CommentsNeeds to execute a range of test cases.
I want to execute selected test cases within a test suite. For example, I have a test suite that contains 100 test cases numbers from 1 to 100 and I only want to execute test cases from 25 to 40. Is it possible using soapui testing tool? If possible, which version supports this functionality. Please reply, thanks in advance.1.9KViews0likes5Comments- 15 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes1Comment