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.
January 09, 2009, 08:08:16 am
Username: Password:
Login with username, password and session length

Forgot your password?
 
Transfer of property from one request's response to next request - Error
Welcome, Guest. Please login or register.
January 09, 2009, 08:08:16 am
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Transfer of property from one request's response to next request - Error
« previous next »
Pages: [1] Print
Author Topic: Transfer of property from one request's response to next request - Error  (Read 757 times)
BhuvanShanmugam
Newbie
*
Posts: 18



« on: July 30, 2008, 03:29:44 pm »

Hi,

I have a 'Open' request and want to use the 'session ID' from its response in the 'Close' request.

I did this using GetData->Open->Response->sessionID and it throws the following error dring validation.

Code:
"error: decimal: Invalid decimal value: unexpected char '36'; T=int@http://www.w3.org/2001/XMLSchema"

The XPath value that I am setting is
Code:
"${Open#Response#//tol:authenticateUserResponse[1]/tol:sessionId[1]}"

The field type is integer. The ascii value of $ is 36 and somehow there seems to be a relation between these...

Any help is appreciated.

Thanks,
Bhuvan.

I also tried to insert a 'project level' property as show below for this field. That too gave the same error for validation.

Code:
${#Project#ID12345}

« Last Edit: July 30, 2008, 03:33:18 pm by BhuvanShanmugam » Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,666


« Reply #1 on: July 30, 2008, 11:03:18 pm »

Hi,

this is a bug in the current version that incorrectly tries to validate the property-expansion expression (and not its value) against the corresponding type.. will be fixed in next version.. sorry..

regards,

/Ole
eviware.com
Logged
BhuvanShanmugam
Newbie
*
Posts: 18



« Reply #2 on: July 31, 2008, 03:03:33 pm »

Ole,

If I use a project level property, it works all right.
On a Mock service If I use a request field to fill a response field, it works all right there too.

I wonder if the problem is specific to using a field from one responses field to next request ?!

Could you also let me know when are you planning for a next patch / full version.

Thanks,
Bhuvan.
Logged
BhuvanShanmugam
Newbie
*
Posts: 18



« Reply #3 on: August 06, 2008, 04:34:15 pm »

Ole,

This problem is hitting me a bit strongly.

I am not able to use a data from the request nor a project level property to fill in a field for the mock response. (For example I need the 'session id' field to be sent back and forth for a set of req/resp but copying this field doesnt seem to work out.

Do you suggest any other alternatives?

Thanks,
Bhuvan.

PS: I am a Pro version user.
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,666


« Reply #4 on: August 07, 2008, 12:27:40 am »

Hi Bhuvan,

Can you send me your project file and tell me exactly what you want to transfer from where and I'll have a look!

(ole@eviware.com)

regards,

/Ole
eviware.com
Logged
BhuvanShanmugam
Newbie
*
Posts: 18



« Reply #5 on: August 07, 2008, 09:45:23 am »

Ole,

I have sent a separate mai to you attaching required information. Thanks for the help.

Bhuvan.
Logged
BhuvanShanmugam
Newbie
*
Posts: 18



« Reply #6 on: October 15, 2008, 05:00:43 pm »

Hi Ole,

I have now installed the 2.5 BETA and that too throws the same error as reported. Could you please check if this is fixed?

Thanks,
Bhuvan.
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