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:05:10 pm
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
how to get number of rows from DataSource result?
Welcome,
Guest
. Please
login
or
register
.
December 02, 2008, 12:05:10 pm
News:
The Forums are up! Welcome to eviware.
Eviware Forum
soapUI
soapUI
how to get number of rows from DataSource result?
« previous
next »
Pages:
[
1
]
Author
Topic: how to get number of rows from DataSource result? (Read 324 times)
MA0815
Newbie
Posts: 1
how to get number of rows from DataSource result?
«
on:
May 30, 2008, 09:30:27 am »
For testing it would be useful to get the number of rows from a JDBC Data Source SQL Query statement result. In GUI it is shown in the message e.g. "Got 3 rows in 2ms". This value should be reused in an XPath Assertion later. How I can access the desired attribute?
br,
maria aschauer
Logged
omatzura
Administrator
Hero Member
Posts: 1,470
Re: how to get number of rows from DataSource result?
«
Reply #1 on:
May 30, 2008, 09:49:48 am »
Hi,
hmm.. you could get the current row number with
log.info( testRunner.testCase.testSteps["DataSource"].currentRow )
after running through all rows, this should return the actual number of rows processed, which isn't entirely correct.. we'll add a rowCount attribute as well..
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...