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.
November 22, 2008, 03:39:20 am
Username: Password:
Login with username, password and session length

Forgot your password?
 
Validation of the responses using assertion
Welcome, Guest. Please login or register.
November 22, 2008, 03:39:20 am
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Validation of the responses using assertion
« previous next »
Pages: [1] Print
Author Topic: Validation of the responses using assertion  (Read 433 times)
Priya Ranjan Sinha
Newbie
*
Posts: 3


« 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,425


« 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


« 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,425


« 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] 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