Skip to content

shane51/moco_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moco demo for Mobile test summit

Where to find Moco

Moco is here

Descriptions:

This demo demonstrate how to use moco to setup Mock server, and give 5 commonly used scenarios include:

  • login
  • Show list
  • time out
  • error page
  • proxy.

Start moco demo

Under linux/mac( Take login for example):

./moco start -p 3000 -c login.json

Under Windows, please download and use Moco standalone runner

java -jar moco-runner-<version>-standalone.jar -p 3000 -c login.json

Start moco with multiple JOSN configuration files

IMPORTANT: Some times we need only one server to mock all api, moco provide globle settings to achieve this.

This demo alos demostrate this feature, please to to global-settings branch, and run:

./startMoco.sh

Demo android app

AndroidStartupKit

Next plan

  • Add globe settings
  • more useful scenarios

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages