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
53
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
71
Introduction to Flask
ngalambackend
0
100
Achieving API Performance and Scalability
ngalambackend
0
61
Interfaces in Go
ngalambackend
0
48
CSS in JS in action
ngalambackend
0
38
Productive Remote Working with Scrum
ngalambackend
0
58
Covid Tracker Kota Malang
ngalambackend
0
55
Supercharge Local Development with Docker
ngalambackend
1
97
Building Scalable and Flexible API by Leveraging GraphQL and BigTable
ngalambackend
1
280
Other Decks in Technology
See All in Technology
シンプルなHITL機械学習と様々なタスクにおけるHITL機械学習
naohachi89
0
340
QA Engineer Life @ LINE
line_developers_tw
PRO
0
150
スクラムに出会って「できた」を実感できるようになってきた話 / Scrum makes me feel like I can do it
yayoi_dd
2
110
開発スピードの維持向上を支える、テスト設計の 漸進的進化への取り組み / Continuous Test Design Development for Speed of Product Development
ropqa
0
190
20240509 CloudWatch でいろいろなものを監視してみよう
masaruogura
1
120
Money-saving tips for the frugal serverless developer
theburningmonk
1
420
エムスリーQAチーム紹介資料 / Introduction of M3 QA Team
m3_engineering
1
340
iThome2024 Wailing Wall of Enterprise Security
notsurprised
0
300
AWS アーキテクチャ作図入門/aws-architecture-diagram-101
ma2shita
16
6.7k
生成AI活用推進の為にやったこと/やらなかったこと
ktc_wada
0
220
[PyconUS 2024] Having fun with Pydantic and pattern matching
enforcerpl
0
200
【リラン】AIの光と闇?失敗しないために知っておきたいAIリスクとその対応 ①政府の動き編
tkhresk
0
140
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
15
1.1k
Producing Creativity
orderedlist
PRO
338
39k
Robots, Beer and Maslow
schacon
PRO
155
8k
Teambox: Starting and Learning
jrom
128
8.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
Learning to Love Humans: Emotional Interface Design
aarron
268
39k
The Illustrated Children's Guide to Kubernetes
chrisshort
32
47k
Building Applications with DynamoDB
mza
88
5.7k
Debugging Ruby Performance
tmm1
70
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
12
1.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
YesSQL, Process and Tooling at Scale
rocio
165
13k
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_