KEMBAR78
Automating and Testing a REST API | PDF
Automating and
Testing a REST API
By Alan Richardson
https://www.compendiumdev.co.uk/
page/tracksapibook
Have you ever wished that you
had a worked example of how to
test a REST API?
Not just automate the API, but how to interact with it with
command line tools, and GUI tools to support your manual
interactive testing. And then take your testing forward into
automating the API?
That's what this book provides.
https://www.compendiumdev.co.uk/page/tracksapibook
Do you know how to test a REST
API?
This new book is a broad and detailed look at the thought
processes and techniques for testing a REST API based
application. Starting with interactive manual testing:
• using the GUI,
• cURL and
• HTTP Proxies
Do you know how to Automate a
REST API?
The book moves on to automating the REST API using Java
and REST-assured.
Over 200 pages of actual hands on case study information that
can improve your testing and automating of REST API based
applications.
Why a Case Study?
A Case Study shows:
• actual testing work performed
• how it was performed
• why it was performed
Open Source
The case study uses an Open Source application and free
and tools. Allowing you to repeat the work to learn more.
The source code in the book is freely downloadable for study
an amendment. Allowing you to run and amend the case study
code.
Contents Overview
A step by step explanation of how to:
• read the REST API documentation,
• how to tell if the application is using the API,
• interact with the API from the command line with cURL,
• adhoc automating with BASH and Windows Command Line,
• send API requests through an HTTP Proxy so you can see in
detail the requests and responses,
Contents Overview
• use HTTP Proxies to create data in the application through
Fuzzing,
• use Postman REST API GUI,
• automate 'under the GUI' parts of the application without an
API,
• automate the API with Java using REST-assured,
• make your automated efforts readable and maintainable
What if I need support?
The book has an online support page:
• with videos explaining topics in more detail
• how to install the software
• examples of using the tools
• how to work with the source code
https://www.compendiumdev.co.uk/page/tracksrestsupport
How to learn more
Read the 74 page sample and find out
more information on the book page.
https://www.compendiumdev.co.uk/
page/tracksrestapibook
Alan Richardson
Alan is a consultant and coach in Agile
Software Development and Testing:
• https://www.compendiumdev.co.uk
• http://EvilTester.com/agile
Other Books:
https://www.compendiumdev.co.uk/
page/books
• Java For Tester
• Dear Evil Tester
• Selenium Simplified

Automating and Testing a REST API

  • 1.
    Automating and Testing aREST API By Alan Richardson https://www.compendiumdev.co.uk/ page/tracksapibook
  • 2.
    Have you everwished that you had a worked example of how to test a REST API? Not just automate the API, but how to interact with it with command line tools, and GUI tools to support your manual interactive testing. And then take your testing forward into automating the API? That's what this book provides. https://www.compendiumdev.co.uk/page/tracksapibook
  • 3.
    Do you knowhow to test a REST API? This new book is a broad and detailed look at the thought processes and techniques for testing a REST API based application. Starting with interactive manual testing: • using the GUI, • cURL and • HTTP Proxies
  • 4.
    Do you knowhow to Automate a REST API? The book moves on to automating the REST API using Java and REST-assured. Over 200 pages of actual hands on case study information that can improve your testing and automating of REST API based applications.
  • 5.
    Why a CaseStudy? A Case Study shows: • actual testing work performed • how it was performed • why it was performed
  • 6.
    Open Source The casestudy uses an Open Source application and free and tools. Allowing you to repeat the work to learn more. The source code in the book is freely downloadable for study an amendment. Allowing you to run and amend the case study code.
  • 7.
    Contents Overview A stepby step explanation of how to: • read the REST API documentation, • how to tell if the application is using the API, • interact with the API from the command line with cURL, • adhoc automating with BASH and Windows Command Line, • send API requests through an HTTP Proxy so you can see in detail the requests and responses,
  • 8.
    Contents Overview • useHTTP Proxies to create data in the application through Fuzzing, • use Postman REST API GUI, • automate 'under the GUI' parts of the application without an API, • automate the API with Java using REST-assured, • make your automated efforts readable and maintainable
  • 9.
    What if Ineed support? The book has an online support page: • with videos explaining topics in more detail • how to install the software • examples of using the tools • how to work with the source code https://www.compendiumdev.co.uk/page/tracksrestsupport
  • 10.
    How to learnmore Read the 74 page sample and find out more information on the book page. https://www.compendiumdev.co.uk/ page/tracksrestapibook
  • 11.
    Alan Richardson Alan isa consultant and coach in Agile Software Development and Testing: • https://www.compendiumdev.co.uk • http://EvilTester.com/agile Other Books: https://www.compendiumdev.co.uk/ page/books • Java For Tester • Dear Evil Tester • Selenium Simplified