Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Because every QA should know API Testing
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Frederico Moreira
May 07, 2019
Technology
0
130
Because every QA should know API Testing
Frederico Moreira
May 07, 2019
Tweet
Share
More Decks by Frederico Moreira
See All by Frederico Moreira
3 Tópicos sobre testes em APIs GraphQL que todo QA deveria saber.
fredmoreira
0
75
Para, entenda seu contexto e contribua de maneira efetiva como QA
fredmoreira
0
43
Pirâmide testes mobile, distribua seus testes de maneira efetiva
fredmoreira
1
50
Porque todo QA deveria saber testes de APIs
fredmoreira
0
130
Tudo que você sempre quis saber sobre testes de APIs REST, mas que nunca te contaram...
fredmoreira
0
64
Testes de APIs
fredmoreira
0
72
Microservices alterando seu mindset de tester
fredmoreira
1
140
Palestra de como testar sua API Rest no Grupo de Teste Carioca
fredmoreira
0
36
Docker para testers - Um passeio fora da caixa
fredmoreira
0
50
Other Decks in Technology
See All in Technology
The Rise of Browser Automation: AI-Powered Web Interaction in 2026
marcthompson_seo
0
310
「捨てる」を設計する
kubell_hr
0
450
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
2k
やさしいとこから始めるGitHubリポジトリのセキュリティ
tsubakimoto_s
3
2k
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
460
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
310
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
290
OCI技術資料 : 証明書サービス概要
ocise
1
7.1k
ハーネスエンジニアリング×AI適応開発
aictokamiya
1
670
RGBに陥らないために -プロダクトの価値を届けるまで-
righttouch
PRO
0
130
Amazon Qはアマコネで頑張っています〜 Amazon Q in Connectについて〜
yama3133
1
150
FastMCP OAuth Proxy with Cognito
hironobuiga
3
220
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
Embracing the Ebb and Flow
colly
88
5k
Skip the Path - Find Your Career Trail
mkilby
1
91
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Paper Plane (Part 1)
katiecoart
PRO
0
6.1k
Mind Mapping
helmedeiros
PRO
1
130
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
330
Six Lessons from altMBA
skipperchong
29
4.2k
Darren the Foodie - Storyboard
khoart
PRO
3
3.1k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
84
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
260
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Transcript
Because every QA should know API Testing Frederico Moreira /
Ramilo Neves
Brazil (Minas Gerais) • Café, testes e pão de queijo
• MTC - Minas Testing Conference Agile Testers • Fórum • Agile Testers Conference UAI, TREM, SÔ, PÃO DE QUEIJO • if(cachaça || bagaço) @fredaomoreira @farfetch
@ramilomcneves @farfetch Brazil (Petrópolis - Rio de Janeiro) • Tester
Automation Engineer • In love with football –Flamengo (Brazil) –Porto (Portugal) • Living two years in Porto • Second time speaking at PTM
API • Who is here doing an API test today?
• Who has tested the API? • Who automates API testing?
What is an API? “An API is created when a
software company intends that other software developers develop products associated with its service.”
Examples • Google ◦ Google Maps ◦ Google Flights •
Accommodation ◦ Trivago ◦ Airbnb • Payment providers ◦ Paypal ◦ Klarna
Testing data
Service Level Tests Subcutaneous Test - Martin Fowler Fills gap
between unit and UI tests They occur in parallel to the development Focus on functionality rather than behavior / experience
Anti Patterns
Anti Patterns
The most common to find in the market are new
designs using Rest, over HTTP protocol. But you can use Rest with other protocols like TCP, UDP and gRPC (http:/ /www.grpc.io/).
None
None
What we validate in a api test? ➔ http status
code 200, 201, 400, 401, 500 ... ➔ body content Json, Plain text, XML ... ➔ http headers "Content-Type"":"application/json"
None
None
None
None
None
None
None
None
http:/ /racksburg.com/choosing-an-http-status-code/
Understanding HTTP transactions
request response VIEW
None
Manual Test Tools:
But I really need to automate API tests?
Automated Testing Frameworks:
http:/ /www.mocky.io/
https:/ /github.com/fredmoreira/register-employees
API Test Project DB INTERNAL TECH WORKSHOPS Environment
API Test Project DB HTTP
Show me the code...
Repositórios: https:/ /github.com/fredmoreira/register-employees-pyresttest https:/ /github.com/fredmoreira/register-employee-rest-assured-test https:/ /github.com/fredmoreira/register-employees-super-test https:/ /github.com/RamiloNeves18/register-employees-httparty https:/
/github.com/fredmoreira/phone-book https:/ /github.com/RamiloNeves18/register-employees-restsharp https:/ /github.com/fredmoreira/register-employees
Questions?