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
Mock Server
Search
Ngalam Backend Community
March 27, 2019
Technology
0
71
Mock Server
Ngalam Backend Community
March 27, 2019
Tweet
Share
More Decks by Ngalam Backend Community
See All by Ngalam Backend Community
Web_Scraping_with_Scrapy.pdf
ngalambackend
0
81
Introduction to Flask
ngalambackend
0
170
Achieving API Performance and Scalability
ngalambackend
0
87
Interfaces in Go
ngalambackend
0
59
CSS in JS in action
ngalambackend
0
56
Productive Remote Working with Scrum
ngalambackend
0
96
Covid Tracker Kota Malang
ngalambackend
0
68
Supercharge Local Development with Docker
ngalambackend
1
130
Building Scalable and Flexible API by Leveraging GraphQL and BigTable
ngalambackend
1
320
Other Decks in Technology
See All in Technology
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
9
3.3k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
41k
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
2.3k
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
1.9k
【インシデント入門】サイバー攻撃を受けた現場って何してるの?
shumei_ito
0
1.4k
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
180
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
640
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
67k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
260
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
160
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
280
AI時代、1年目エンジニアの悩み
jin4
1
150
Featured
See All Featured
Discover your Explorer Soul
emna__ayadi
2
1.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
420
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
400
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
170
Design in an AI World
tapps
0
140
Six Lessons from altMBA
skipperchong
29
4.1k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
Designing Experiences People Love
moore
144
24k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
260
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
95
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_