Contact Us
About Us
News
Home
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 02, 2008, 12:01:21 pm
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
Unable to read the response in groovy script test step
Welcome,
Guest
. Please
login
or
register
.
December 02, 2008, 12:01:21 pm
News:
The Forums are up! Welcome to eviware.
Eviware Forum
soapUI
soapUI
Unable to read the response in groovy script test step
« previous
next »
Pages:
[
1
]
Author
Topic: Unable to read the response in groovy script test step (Read 329 times)
Shashi
Newbie
Posts: 12
Unable to read the response in groovy script test step
«
on:
June 02, 2008, 09:53:53 pm »
hello,
I have a datasource step followed by a request followed by a script step.
I want to run the script against the response to read some node values
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "stageMove_RountingPair_Request.requestContent" )
def mesLotName = holder.getNodeValue("//ax21:mesLotName")
But I get NullPointerexception
It is not saying which object is null.
could someone please tell me what am I doing wrong?
Thanks
- Shashi
Logged
omatzura
Administrator
Hero Member
Posts: 1,470
Re: Unable to read the response in groovy script test step
«
Reply #1 on:
June 03, 2008, 02:24:35 pm »
Hi Shashi,
I think the argument to getXmlHolder is incorrect, try something like
def holder = groovyUtils.getXmlHolder( "stageMove_RountingPair_Request#Response" )
instead..
regards,
/Ole
eviware.com
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> eviware general
-----------------------------
soapUI
-----------------------------
=> soapUI
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.2
|
SMF © 2006-2007, Simple Machines LLC
Loading...