wichitkOccasional Contributor6 years agoSolvedCan I get the operation name at the groovy script? Hi, Can I get the operation name at the groovy script? What's command do I use? Regards, Dan Show Morenmrao6 years agowichitk Try mockResponse.operation.name
wichitkOccasional Contributor to nmrao6 years agoHi, I changed the code to: log.info("Name: "+mockOperation.operation.name) It worked!!. Regards, DannmraoCommunity Hero to wichitk6 years agoAppreciate to respect the original answer while marking solution.log.info is to show the actual value of the object.
wichitkOccasional Contributor to nmrao6 years agoHi, I changed the code to: log.info("Name: "+mockOperation.operation.name) It worked!!. Regards, Dan
nmraoCommunity Hero to wichitk6 years agoAppreciate to respect the original answer while marking solution.log.info is to show the actual value of the object.
Recent DiscussionsHow do I create a JSON file?SOAPUI 5.9.1 Still Includes Log4j 2.17.1 — When Will an Updated Version Be Released?20 years of SoapUI - Share your story
Related Contentgroovy script errorsGroovy operations trim() and replace() seems to doesn't work in SoapuiSimple script to batch edit multiple groovy scripts