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, 06:51:27 am
Username: Password:
Login with username, password and session length

Forgot your password?
 
DataSource JDBC query
Welcome, Guest. Please login or register.
January 09, 2009, 06:51:27 am
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  DataSource JDBC query
« previous next »
Pages: [1] Print
Author Topic: DataSource JDBC query  (Read 557 times)
Jim Cusack
Newbie
*
Posts: 4


« on: August 05, 2008, 10:48:29 pm »

I was able to create a DataSource Query using property expansion and tested it to completion, but when I try to run it in the full test case it fails to run with a Network Adpater Error:

TestCase failed [java.lang.Exception: Failed to prepare testStep [DataSource]; java.sql.SQLException: Io exception: The Network Adapter could not establish the connection:java.lang.Exception: Failed to prepare testStep [DataSource]; java.sql.SQLException: Io exception: The Network Adapter could not establish the connection], time taken = 0

How can it retrieve rows when I test the step seperately, but not as part of the Test Case?
« Last Edit: August 06, 2008, 12:14:30 am by Jim Cusack » Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,666


« Reply #1 on: August 07, 2008, 12:06:40 am »

Hi Jim,

hmm.. are you maybe using some property-expansion that doesn't work correctly when running the TestCase/TestSuite? Can you show a screenshot of your DataSource config?

regards!

/Ole
eviware.com
Logged
Jim Cusack
Newbie
*
Posts: 4


« Reply #2 on: August 19, 2008, 04:50:20 pm »

Here it is...I'm able to run the step stand alone though?
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,666


« Reply #3 on: August 19, 2008, 05:29:38 pm »

Hi,

hmm.. could you try hard-coding the connection string to see if the property-expansion is failing when running the TestCase?

regards,

/Ole
eviware.com
Logged
Jim Cusack
Newbie
*
Posts: 4


« Reply #4 on: August 19, 2008, 09:01:41 pm »

Ok - I ran it hard coded and it runs in the test case, but I still need a variable in the SQL query that is not being picked up!
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,666


« Reply #5 on: August 19, 2008, 09:17:13 pm »

Hi,

ok.. hmm.. are these global properties that you are expanding?

regards,

/Ole
eviware.com
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