REST API Testing
with Codeception

Workshop from Codeception founders
Learn by doing
medium
workshop
1 days
REST API is a new standard for web applications. For single page applications, for mobile application and for 3rd party clients application should provide a public API. This API should be reliable and it means it must be heavily tested. Codeception testing framework allows to test API on the most suitable level, emulating HTTP requests using a PHP framework, or sending real HTTP calls to a webserver. Students will learn how to test JSON and XML responses by data and structure, how to pass authorization and more.

Develop API in a test driven manner, before the code to test them without using manual test tools like Postman.
Engineers
Target audience
Workshop
Course type
1 day
Workshop duration
15 persons
Average amount in a group
Medium
Course level
50/50
Theory / practice
Onsite, online
Place
300€
Fee for the course
Workshop agenda
1
General overview
  • General overview for testing levels
  • Whitebox testing vs Blackbox testing
  • REST APIs and PHP
2
Testing REST API
  • Setting up Codeception for API tests
  • TDD for API development
  • Testing API contracts
  • Validating API response
3
Testing 3rd Party API
  • Sending and validating complex requests
  • Authorization
  • Using PHP-VCR
4
Data Management
  • Generating test data using data factories.
  • Data cleanup between tests
What knowledge is expected?
Experienced PHP developers. Middle and Senior.
What should be installed before course?
  • PHP 7.x
  • MySQL
  • JetBrains PhpStorm or Netbeans as IDE
Will I have support after course?
Our company works according to the principle of individual approach to every client. This method lets us to get success in problems of all levels.
What is included in practice?
  • API testing for Laravel API application
  • Testing remote web service
Michael Bodnarchuk
Codeception founder and tech consultant.
Michael works for Codeception, CodeceptJS and other open-source projects aimed to automate testing and make testing easy and fun. By developing his product he gathered experience from wide range of companies and individuals who are using Codeception.

He always tries to show the wider picture of testing. He believes that tests should be easy to read, write, and maintain.

Michael is also a frequent speaker at PHP (Dutch PHP, PHP Benelux, ...) and Test Automation conferences.
Michael Bodnarchuk
Codeception founder and tech consultant.
Michael works for Codeception, CodeceptJS and other open-source projects aimed to automate testing and make testing easy and fun. By developing his product he gathered experience from wide range of companies and individuals who are using Codeception.

He always tries to show the wider picture of testing. He believes that tests should be easy to read, write, and maintain.

Michael is also a frequent speaker at PHP (Dutch PHP, PHP Benelux, ...) and Test Automation conferences.
Application
10% discount for groups of 10 people or more
Within one week after the application you will receive a confirmation email only if you are admitted. To be officially registered as a participant, you must pay the enrollment fee. A maximum of 20 participants will be accepted.
Contact us:
If you need to get in touch with us, send a note to trainings@sdclabs.com or follow us on facebook for more updates and details.
Check out other awesome courses
Let us help you take development and test automation further. We offer a number of trainings that can help you and your organization get the most out of our enterprise support. Request a quote at trainings@sdclabs.com

Get PHP test automation insights weekly. No spam ever!