Applies to ReadyAPI 2.5, last modified on October 5, 2018

ReadyAPI includes samples that show how you can create functional tests against SOAP and REST APIs, virtualize APIs and add authentication to your requests.

The changes you make to sample projects cannot be saved. This means that, if you make some changes, you will have to save the project as a new one. The original file will remain unchanged.

Location

You can find SoapUI sample projects in the <ReadyAPI>/tutorials folder:

• Windows: <Program Files>/SmartBear/ReadyAPI-2-5-0/tutorials
     Program Files or Program Files (x86)
• Linux: /home/<user-name>/SmartBear/ReadyAPI-2-5-0/tutorials
• MacOS: /Applications/ReadyAPI-2-5-0.app/Contents/java/app/tutorials

How to Open

From the Main Menu

Select File > Import Project from the main menu, and then choose a sample project file in the subsequent dialog:

Web service testing with ReadyAPI: Open sample project

ReadyAPI project files have the .xml extension.

From SoapUI Start Page

Switch to SoapUI and select the project you need from the Sample Projects list on the start page:

Functional Testing: SoapUI Sample Projects

Click the image to enlarge it.

From the Dashboard

Switch to Desktop and find the project you need in the Sample Projects section:

Functional Testing: SoapUI Sample Projects

Click the image to enlarge it.

Tip: By default, this section displays sample projects of all applications in the ReadyAPI application suite. Click and use check boxes to limit the options to SoapUI and Online Service examples only.

About SoapUI Samples

Project Description
SOAP Sample Project

Contains a large variety of tests that send requests to the included SOAP virtual API.
Some tests are created to test the service behavior in case of incorrect requests, or to show how to create complex scenarios in ReadyAPI.

REST Sample Project

Simulates a user looking at the authorization form and logging in to the attached REST virtual service.

Data-Driven Sample Project

Takes data from a Grid data source and sends multiple requests to the Google Maps API.
Note: Find the link to this project on the Dashboard.

Virtualization Sample Project

Demonstrates how to use ReadyAPI to test both REST and SOAP services in the same project. Contains two test cases working with SOAP and REST virtual APIs.

Authentication Sample Project Contains the test cases that show how you can authenticate to a service in ReadyAPI:
  • Basic Auth – Logs in to the browserspy.dk web service by using the Basic authentication.

  • OAuth2 - Browser client – Simulates a browser and authenticates to the Google API. It uses the Implicit Grant method.

  • OAuth2 - Desktop client – Simulates a desktop client and authenticates to the Google API. It uses the Authorization Code Grant method.

  • OAuth2 - Automation – Demonstrates how you can automate OAuth 2.0 token retrieval in your tests.

More Examples

You can find more sample projects on other Start pages in ReadyAPI:

Start Page Description
Projects

These are projects with examples of popular APIs: Facebook, Google Maps, Flickr, and others.

Secure

These projects demonstrate the use of various security scans.

LoadUI

These projects contain examples of various load tests.

ServiceV

Contain examples of virtual services.

See Also

About ServiceV
Creating Your First Functional Test

Highlight search results