Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • SoapUI Cookbook
  • Toc
  • feedback
SoapUI Cookbook

SoapUI Cookbook

By : Rupert Anderson
4 (5)
close
SoapUI Cookbook

SoapUI Cookbook

4 (5)
By: Rupert Anderson

Overview of this book

This book is aimed at developers and technical testers who are looking for a quick way to take their SoapUI skills and understanding to the next level. Even if you are new to SoapUI but have basic Java skills and a reasonable grasp of RESTFul and Soap web services, then you should have no problem making use of this book.
Table of Contents (13 chapters)
close
12
Index

Testing REST response XML schema compliance

The REST schema validation assertion is similar in usage to the SOAP version, but has a few limitations. Firstly, it is driven by WADL definition, which potentially narrows its scope since not all RESTful web services are defined by or even provide WADL definitions. As the WADL standard can only define XML messages, not JSON, this prevents the assertion from being able to check JSON responses. Lastly, the REST schema compliance assertion only actually validates XML responses if the representation 'element' attribute is present and correct in the WADL, which is not always the case, that is, correct would mean like in the following example assuming there is a schema defined with a type named invoice:

<method name="GET">
  <request></request>
  <response>
    <representation mediaType="application/xml" element="tns:invoice" />
  </response>
</method>

Otherwise, if there...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete