lmcadory
15 years agoOccasional Contributor
Help Me: Creating a Groovy Script for Representation data
Can someone help me figure out how to get the information returned in the response Representation tab??? I am trying to use RestRepresentation but that does work:
This gives me a:
import com.eviware.soapui.impl.rest.RestRepresentation
x = RestRepresentation.getMediaType()
log.info(x)
This gives me a:
No Signature of Method: static com.eviware.soapui.impl.rest.RestRepresentation.getMediaType()
is applicable for argument types: () values: [] Possible solutions: getMediaType(), getMediaType(java.lang.String), getSchemaType(), getType()