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
Mock Server
Search
Ngalam Backend Community
March 27, 2019
Technology
79
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mock Server
Ngalam Backend Community
March 27, 2019
More Decks by Ngalam Backend Community
See All by Ngalam Backend Community
Web_Scraping_with_Scrapy.pdf
ngalambackend
0
100
Introduction to Flask
ngalambackend
0
210
Achieving API Performance and Scalability
ngalambackend
0
100
Interfaces in Go
ngalambackend
0
110
CSS in JS in action
ngalambackend
0
72
Productive Remote Working with Scrum
ngalambackend
0
110
Covid Tracker Kota Malang
ngalambackend
0
76
Supercharge Local Development with Docker
ngalambackend
1
150
Building Scalable and Flexible API by Leveraging GraphQL and BigTable
ngalambackend
1
350
Other Decks in Technology
See All in Technology
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
130
「いつか使う」の「いつか」は来ない 〜AI駆動開発における「作らない」判断について〜
ikki0006
0
180
2026 Apache Flink Community Checkpoint
rmetzger
0
210
evcc & Home Assistant
naltatis
0
490
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
240
ライフワーク「猫でもわかるDirectConnect」
kentapapa
0
310
プロダクションコードにおける encoding/json から encoding/json/v2 へのスムーズな移行
sansantech
PRO
1
240
BALLAS Technology Deck
ballas_inc
0
410
AWSを利用する上で知っておきたい名前解決の話 2026
nagisa53
5
3.3k
GCASアップデート(202607-202610)
techniczna
1
250
SREのためのFinOps入門
muziyoshiz
2
1.1k
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
2
230
Featured
See All Featured
Done Done
chrislema
187
17k
Product Roadmaps are Hard
iamctodd
55
13k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Technical Leadership for Architectural Decision Making
baasie
3
640
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
Fireside Chat
paigeccino
43
4.1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Scaling GitHub
holman
464
140k
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
Transcript
NBC X KMM MEETUP MARCH 27, 2019 DILO MALANG MOCK
SERVER
ABOUT SPEAKER Ahmad Fatoni AVP Of Quality Assurance at DOT
Indonesia Backend | Automated Test | QA Email:
[email protected]
Linkedin: ahmad-fatoni Instagram: inotaf_
TOPICS ▸ Mock Server ? √ ▸ Why we need
mock server ? √ ▸ API √ ▸ API Contract √ ▸ Retrofit √ ▸ Glide √
TOOLS
POSTMAN MOCK SERVER MOCKAPI.IO
FAKE IT TILL YOU MAKE IT Joyce Lin Editor of
Postman Engineering POSTMAN MOCK SERVER
POSTMAN MOCK SERVER BY FAKING REAL ENDPOINTS, MOCKS ARE USED
AT VARIOUS STAGES OF DEVELOPMENT PROCESS •Continuous planning •Continuous testing •Collaborate and make decisions quickly and effectively •Adapt quickly to a changing landscape with mid-stream feedback and insights
POSTMAN MOCK SERVER WHAT WE NEED ? ▸ Goals ▸
Postman ▸ Postman Account ▸ API Contract
POSTMAN MOCK SERVER WE WILL GET ▸ Mock Server ▸
API Documentation (Online and Offline)
http://bit.ly/demoNbcKmm
MOCKAPI.IO MOCKAPI IS A SIMPLE TOOL THAT LETS YOU EASILY
MOCK UP APIS, GENERATE CUSTOM DATA, AND PREFORM OPERATIONS ON IT USING RESTFUL INTERFACE
MOCKAPI.IO GREAT FEATURES ▸ RESTful Interface ▸ Generate dummy data
▸ Relationship (Nested URL) ▸ Pagination ▸ Searching ▸ Sorting
RESTFUL INTERFACE MOCKAPI.IO
RESTFUL INTERFACE MOCKAPI.IO
Features Postman Mock Server mockapi.io Custom Response √ √ Generate
Dummy Data x √ Documentation √ x Pagination, search, sort x √ Dynamic Response code √ x Pass Request Body to Response x x
MOCK SERVER REFERENCES https://medium.com/postman-engineering/https-medium-com-postman-engineering-fake-it-till-you-make-it-mocks- for-agile-development-f4d050cad694 https://medium.com/@fatoniahmad.mail/test-driven-development-tdd-restful-api-using-mock-server-postman- 1fd1cb271ed0 https://learning.getpostman.com/docs/postman/mock_servers/mocking_with_examples/ https://www.mockapi.io/docs
Ahmad Fatoni Email:
[email protected]
Linkedin: ahmad-fatoni Instagram: inotaf_