Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Because every QA should know API Testing
Search
Frederico Moreira
May 07, 2019
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Because every QA should know API Testing
Frederico Moreira
May 07, 2019
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
100
Para, entenda seu contexto e contribua de maneira efetiva como QA
fredmoreira
0
57
Pirâmide testes mobile, distribua seus testes de maneira efetiva
fredmoreira
1
58
Porque todo QA deveria saber testes de APIs
fredmoreira
0
160
Tudo que você sempre quis saber sobre testes de APIs REST, mas que nunca te contaram...
fredmoreira
0
75
Testes de APIs
fredmoreira
0
82
Microservices alterando seu mindset de tester
fredmoreira
1
150
Palestra de como testar sua API Rest no Grupo de Teste Carioca
fredmoreira
0
44
Docker para testers - Um passeio fora da caixa
fredmoreira
0
67
Other Decks in Technology
See All in Technology
現場を動かすAIエージェント#2_製造業現場でのAI活用から見た、ハマる罠と実践知
kintotechdev
2
190
eBPF 簡介 2026 版
shunghsiyu
0
190
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
170
GCASアップデート(202607-202610)
techniczna
1
210
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
210
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
180
リアクションエンジニア ― 小さなリアクションから、話しかけやすい組織をつくる ―
ryuguyana
1
130
Metadata - Section 3 : Dublin Core Standard · DC
mohab1
0
110
AIコーディングはじめました
miso
0
150
[JAWS Festa 2026]一番いい仕事は、請求書に現れない / jawsfesta2026
sh_fk2
2
310
Copilot Coworkで「みのるん式」やってみた
minorun365
PRO
2
1.6k
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
310
Featured
See All Featured
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
It's Worth the Effort
3n
188
29k
From π to Pie charts
rasagy
1
440
4 Signs Your Business is Dying
shpigford
187
23k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
Marketing to machines
jonoalderson
1
6k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
370
Building an army of robots
kneath
307
47k
BBQ
matthewcrist
90
10k
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?