Contact Us
About Us
News
Home
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome,
Guest
. Please
login
or
register
.
September 06, 2008, 07:35:27 pm
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
Validation of the responses using assertion
Welcome,
Guest
. Please
login
or
register
.
September 06, 2008, 07:35:27 pm
News:
The Forums are up! Welcome to eviware.
Eviware Forum
soapUI
soapUI
Validation of the responses using assertion
« previous
next »
Pages:
[
1
]
Author
Topic: Validation of the responses using assertion (Read 294 times)
Priya Ranjan Sinha
Newbie
Posts: 3
Validation of the responses using assertion
«
on:
June 19, 2008, 03:13:52 pm »
Is it possible to have validate multiple responses from the XML output, simultaneously using a single assertion.
I was using Xpath match assertion , it actually checks the entire output in one shot , but it shows errors only on the very first unexpected response, and skips the rest. Is there is any way to loop assertions or to have a single assertion telling all the unexpected responses in the output.
Currently in my xml output, I have got around 200 responses to validate,
Is there any way I can validate all with one assertion or need to execute 200 assertions for testing one xml output.
Logged
omatzura
Administrator
Hero Member
Posts: 1,210
Re: Validation of the responses using assertion
«
Reply #1 on:
June 19, 2008, 07:51:46 pm »
Hi!
I'm not really sure what you mean by "xml output" and "200 responses".. is it that you want to validate 200 blocks of xml in your response message?
(sorry for not getting it..)
regards!
/Ole
eviware.com
Logged
Priya Ranjan Sinha
Newbie
Posts: 3
Re: Validation of the responses using assertion
«
Reply #2 on:
June 20, 2008, 07:41:36 am »
Hi Ole,
Yeah, you are right, It is 200 blocks of XML in the response message like this below,
<abc>
<number>6002</number>
<def>futurasync</orgID>
</abc>
<setting>
<Limits>
<Messages>1000</Messages>
<Storage>1010</Storage>
<maxMsg>600</maxMsg>
<password>100</password>
<passwordLength>
<Length>4</Length>
</passwordLength>
</setting>
</Limits>
Logged
omatzura
Administrator
Hero Member
Posts: 1,210
Re: Validation of the responses using assertion
«
Reply #3 on:
June 21, 2008, 08:41:07 am »
Hi!
if you want to assert all blocks individually you will have to create one assertion for each block, otherwise you can create just one assertion with the entire xml containing all 200 blocks!?
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...