header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
December 01, 2008, 06:29:49 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
How to get service name,interface name,operation name using Groovy script??
Welcome, Guest. Please login or register.
December 01, 2008, 06:29:49 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  How to get service name,interface name,operation name using Groovy script??
« previous next »
Pages: [1] Print
Author Topic: How to get service name,interface name,operation name using Groovy script??  (Read 348 times)
srinivas das l
Newbie
*
Posts: 6


« on: September 16, 2008, 01:28:18 pm »

Hi all,
Can any one tell me the way to get the interface name,service name using Groovy script???
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,466


« Reply #1 on: September 16, 2008, 01:37:32 pm »

Hi!

sure.. any specific service/interface/operation you are interested in (in relation to your current script)?

regards,

/Ole
eviware.com
Logged
Desmond Cassidy
Newbie
*
Posts: 25


« Reply #2 on: September 19, 2008, 01:49:01 pm »

Hi,
   Belive it or not...just this minute....I would like to do a Property Transfer into a DataSink for the Operation Name...is this possible...

Cheers,

Dezzz.

Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,466


« Reply #3 on: September 19, 2008, 10:46:16 pm »

Hi Dezzz,

you would have to use groovy to do the transfer instead, for example

def operationName = testRunner.testCase.testSteps["Some Request"].operation.name
testRunner.testCase.testSteps["DataSink"].setPropertyValue( "name", operationName )

does this help you forward?

regards,

/Ole
eviware.com
Logged
Desmond Cassidy
Newbie
*
Posts: 25


« Reply #4 on: September 22, 2008, 01:47:31 am »

Hi OLe...yep...many thanks that will do the trick...

Cheers,

Dezzz.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header