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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ngalam Backend Community
March 27, 2019
Technology
73
0
Share
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
86
Introduction to Flask
ngalambackend
0
190
Achieving API Performance and Scalability
ngalambackend
0
93
Interfaces in Go
ngalambackend
0
63
CSS in JS in action
ngalambackend
0
59
Productive Remote Working with Scrum
ngalambackend
0
100
Covid Tracker Kota Malang
ngalambackend
0
73
Supercharge Local Development with Docker
ngalambackend
1
130
Building Scalable and Flexible API by Leveraging GraphQL and BigTable
ngalambackend
1
330
Other Decks in Technology
See All in Technology
"うちにはまだ早い"は本当? ─ 小さく始めるPlatform Engineering入門
harukasakihara
4
330
GKE Agent SandboxでAIが生成したコードを 安全に実行してみた
lamaglama39
0
210
巨大プラットフォームを進化させる「第3のROI」
recruitengineers
PRO
2
2.5k
Tachikawa.any 運営挨拶
daitasu
0
110
生成AI時代に信頼性をどう保ち続けるか - Policy as Code の実践
akitok_
0
150
多角的な視点から見たAGI
terisuke
0
130
Google Cloud Next '26 の裏でこっそりリリースされたCloud Number Registry & Cloud Hub コスト分析 を試してみた
hikaru1001
0
170
そのSLO 99.9%、本当に必要ですか? 〜優先度付きSLOによる責任共有の設計思想〜 / Is that 99.9% SLO really necessary? Design philosophy of shared responsibility through prioritized SLOs
vtryo
0
220
[Oracle TechNight#99] 生成AI時代のAI/ML入門 ~ AIとオラクルデータベースの関係 (後半)
oracle4engineer
PRO
3
240
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
100k
「QA=テスト」「シフトレフト=スクラムイベントの参加者の一員」の呪縛を解く。アジャイルな開発を止めないために、10Xで挑んだ「右側のしわ寄せ」解消記 #scrumniigata
nihonbuson
PRO
3
940
拝啓、あの夏の僕へ〜あなたも知っているApp Runnerの世界〜
news_it_enj
0
220
Featured
See All Featured
The Language of Interfaces
destraynor
162
26k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
My Coaching Mixtape
mlcsv
0
120
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Leo the Paperboy
mayatellez
7
1.7k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
370
The Art of Programming - Codeland 2020
erikaheidi
57
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
160
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_