Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying SoapUI Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
SoapUI Cookbook

SoapUI Cookbook

By : Rupert Anderson
4 (5)
close
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
close
12
Index

Testing Dropbox using OAuth 2 Implicit Grant flow


In this recipe, we again build directly on the previous one by learning how SoapUI supports the full OAuth 2 Implicit Grant flow. This flow is slightly less complicated than the Authorization Code Grant flow, less secure as it lacks client authentication, and is normally used by browser-based clients.

The example used is exactly the same Dropbox one featured in the previous two recipes. However, the steps here are very short as in the previous recipe's setup, and the concepts will be reused. Meaning that there is far more to understand here than to do!

Getting ready

The SoapUI project DropboxOAuth2 for this recipe is included in the chapter 8 samples.

How to do it...

Given the previous Dropbox test app OAuth 2 config and DropboxProfile under the Auth tab, all we need to do is to use the Implicit Grant flow:

  1. Under the REST Test Request option's Auth tab, click on the Get Token link to bring up the Get Access Token from the authorization server window...

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

Create a Note

Modal Close icon
You need to login to use this feature.
notes
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

Delete Note

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

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY