Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering SoapUI

You're reading from   Mastering SoapUI Experience SOA Test and Test Automation from an expert view

Arrow left icon
Product type Paperback
Published in Aug 2016
Publisher Packt
ISBN-13 9781783980802
Length 240 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Introduction to SOA Testing FREE CHAPTER 2. Functional Testing In Detail 3. Performance Testing of SOA Applications in Detail 4. Security Testing in Detail 5. Test Automation in SOA World 6. Multilayer Test Automation Using SoapUI and Selenium 7. SoapUI Integration with Jenkins and HP QC 8. End-to-End Test Automation 9. Service Mocking 10. Best Practices in SOA Test Automation Index

Implementing a real world test case using SoapUI and Selenium together


Scenario: Verify if a customer is able to pay his credit card bill.

The Flow as follows:

  1. User logs in.

  2. User enters details on the UI page and clicks Submit; a unique ID is generated and shown on the UI with status: in Progress, and asks for a token to process the payment.

  3. Service A is called and the request of service A needs the unique ID generated to be passed in the request.

  4. Service B is called.

  5. Service C creates the new token.

  6. The user needs the token created by service C to complete the transaction as he needs to enter it in the UI.

  7. The user enters the token and clicks on the Submit button.

  8. The user receives a message payment is done.

So in the previous example we have eight steps, five of the steps are from the UI and three are from the services side. We also see that there is a need to transfer data from the UI to the service request and vice versa.

Now let's assume we need to assert certain UI elements on the screen as...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime