Forum Discussion
NiclasReimertz
Staff
18 years agoThe answer to the other parts.
1) Yes, there are example projects to be downloaded from the Downloads sections in the Customer Area
http://www.eviware.com/content/blogcategory/34/45/
2) If i understand you right you want to take the value of one element in a response and transfer that to an element in another request?
There's easier ways to do this than Groovy, namely PropertyTransfers and PropertyExpansions. Example on how to use both is included in the soapUI installation. Look in the folder that soapUI is installed in, there's a sample project file there containing examples on what you're looking for.
Look at
/niclas
eviware.com
1) Yes, there are example projects to be downloaded from the Downloads sections in the Customer Area
http://www.eviware.com/content/blogcategory/34/45/
2) If i understand you right you want to take the value of one element in a response and transfer that to an element in another request?
There's easier ways to do this than Groovy, namely PropertyTransfers and PropertyExpansions. Example on how to use both is included in the soapUI installation. Look in the folder that soapUI is installed in, there's a sample project file there containing examples on what you're looking for.
Look at
Simple Login and Logout w. Properties Stepsfor a PropertyTransfer example and
Simple Login and Logout Property Expansionfor an example of PropertyExpansions. Remember to start the MockService before running the tests. Look at http://www.soapui.org/gettingstarted/sample-project.html for more info on the sample Project, there's even a movie on about how to use it.
/niclas
eviware.com