cancel
Showing results for 
Search instead for 
Did you mean: 

SOAPUI Error by Compilation

SOLVED
Highlighted
Occasional Contributor

SOAPUI Error by Compilation

Hello Everybody

 

I keen on to inform you that the Last time the suggestion from Rao wonderful was!

Thank you at all the community for such communication possibility.

now i have only this Bug. See below:

groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.support.XmlHolder.getxml() is applicable for argument types: () values: [] Possible solutions: getXml(), get(java.lang.Object), getAt(java.lang.String), getAt(java.lang.Object), get(java.lang.Object, java.lang.Object), putAll(java.util.Map) error at line: 56

 

Could someone tells me what.s wrong here?

 

Best Greetings,

 

Charlemagne

Here is the implementation of line 56.

def name=testRunner.testCase.testSuite.testCases["AddEmployee"].getPropertyValue("name")
def id=testRunner.testCase.testSuite.testCases["AddEmployee"].getPropertyValue("id")
def Department=testRunner.testCase.testSuite.testCases["AddEmployee"].getPropertyValue("Department")
def age=testRunner.testCase.testSuite.testCases["AddEmployee"].getPropertyValue("age")


xmlAdd.setNodeValue("//typ:AddEmployee/typ:name",name)
xmlAdd.setNodeValue("//typ:AddEmployee/typ:id",id)
xmlAdd.setNodeValue("//typ:AddEmployee/typSmiley Very Happyepartment", Department)
xmlAdd.setNodeValue("//typ:AddEmployee/typ:age",age)

//Save all this with:
def newAddxml=xmlAdd.getxml(); (Line 56)

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: SOAPUI Error by Compilation

Change: def newAddxml=xmlAdd.getxml();

 

To: def newAddxml=xmlAdd.getXml();

 

The last X should be capitalized.

View solution in original post

2 REPLIES 2
Contributor

Re: SOAPUI Error by Compilation

Change: def newAddxml=xmlAdd.getxml();

 

To: def newAddxml=xmlAdd.getXml();

 

The last X should be capitalized.

View solution in original post

Highlighted
Community Manager

Re: SOAPUI Error by Compilation

Thank you Jsheph01 for the superquick helpSmiley Happy


Sonya Mihaljova
Community and Education Specialist

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!