< All Training Courses

Testing Web Services and APIs

Summary

Learn how to explore, test and automate Web Services / APIs

One Day

Max 30 attendees

Classroom or Online

api-automation, automation, technical-testing, testing-tools, test-design

By the end of this course, you'll be able to:

  • Describe what a web service and an API is
  • Construct HTTP requests to query and manipulate data
  • Choose different test design techniques when testing web services and APIs
  • Deconstruct HTTP response to discover information and bugs
  • Construct different types of automated tests for your web services and APIs
  • Run your automated API tests as part of a continuous integration/delivery process

Description

Why You Should Take This Course

Web services and APIs have exploded in popularity over the past few years. More companies are adopting architectures such as:

  • Software as a service
  • Web service architecture
  • Microservice architecture

These approaches present new opportunities and problems for teams to solve. To help them solve these challenges, teams are looking for testers who can help with:

  • Testing features that lack a User interface
  • Working with platforms of interconnected web services
  • Building automated tests that integrate with APIs and web services
  • Conduct exploratory testing against web services and APIs

‘Testing web services and APIs’ offers you the opportunity to learn about Web services / APIs and how to test them. You will be shown how to build HTTP requests to query and create data in web services. These skills will then be put to use to explore, plan and create both automated and exploratory tests. There will also be hands-on time to learn about popular API testing tools such as Postman and web proxies to help you in your testing activities.

The course itself is highly interactive. You will take part in exercises that offer a hands-on approach to learning the tools and ideas required to be successful in your testing. By the end of the course, you will have tested live APIs, searched for bugs and build automated tests to give you a real taste of Web service and API testing.

What You Will Learn In This Course

In the morning we start by understanding and testing an individual web service. There will be many hands-on exercises with a web service filled with bugs to practise your new skills. We will focus on:

  • What is a Web service?
  • How to build requests to query and manipulate data from a Web service
  • Test design techniques to consider when testing a Web service
  • What is REST and what makes a Web service RESTful?

We will cover the basics of Postman to create requests and read responses. You’ll then use Postman to search for bugs with different test design techniques. By the end of the morning, attendees will be able to:

  • Describe what a web service and an API is
  • Explain the fundamentals of web service architectures
  • Construct HTTP requests to query and manipulate data
  • Choose different test design techniques when testing web services and APIs
  • Deconstruct HTTP response to discover information and bugs

IIn the afternoon, we build upon your new knowledge of how to test web services and APIs. We'll look at how we can use tools like Postman to expand our testing in both an automated and exploratory testing context by focusing on:

  • Different ways in which we can modify HTTP requests and responses quickly with API tools
  • How to use tools like Postman to automate API checks
  • How to run our automated checks headlessly

We'll learn about the many features of Postman we can leverage alongside different testing techniques to help you test web services APIs quicker and more in-depth. By the end of the afternoon, attendees will be able to:

  • Construct different types of automated tests for your web services and APIs
  • Run your automated API tests as part of a continuous integration/delivery process
  • Use the various features of Postman to expand your testing

What You Will Need To Bring

Please bring a laptop, OS X, Linux or Windows that you can install software on and connect to easily wifi with.

Is This Course For You?

I have no coding or technical skills, should I come?

Yes, you should. The course is designed for beginners and experienced attendees alike. We will be using a tool called Postman, which is a great tool for beginners. It has a clean and simple user interface that hides the complexity. It’s automated testing features are very easy to use and even offers reusable code snippets. So no prior coding knowledge is needed.

I have some experience working with web services and APIs already. Is the course to basic for me?

Whilst the course goes back to the start of working with web services and APIs, it can be useful to go back to basics. We will be going over each aspect of HTTP in fine detail and exploring test design ideas for each part. You may find new tricks and tips that you before didn’t know, and improve your current understanding.

Meet the Instructor

Mark Winteringham

Mark Winteringham

OpsBoss

Mark Winteringham is a tester, toolsmith and the Ministry of Testing OpsBoss with over 10 years experience providing testing expertise on award-winning projects across a wide range of technology sectors including BBC, Barclays, UK Government and Thomson Reuters. He is an advocate for modern risk-based testing practices and trains teams in Automation in Testing, Behaviour Driven Development and Exploratory testing techniques. He is also the co-founder of Ministry of Testing Essentials a community raising awareness of careers in testing and improving testing education. You can find him on Twitter @2bittester or at mwtestconsultancy.co.uk / automationintesting.com

Register Your Interest

Please sign in or sign up to register your interest in this training

Private Booking

Interested in having this course ran internally at your company? Get in touch and we'll see if we can make that happen.

Book Training