Standalone Command Line
1.HttpServer
java -jar moco-runner-<version>-standalone.jar http -p 12306 -c foo.json
2.HTTPsServer
java -jar moco-runner-<version>-standalone.jar https -p 12306 -c foo.json --https /path/to/cert.jks --cert mocohttps --keystore mocohttps
3.SocketServer
java -jar moco-runner-<version>-standalone.jar socket -p 12306 -c foo.json
4.port
java -jar moco-runner-<version>-standalone.jar http -c foo.json
自动分配启动和关闭端口
20 Oct 2015 22:10:18 [main] INFO Server is started at 58593 20 Oct 2015 22:10:18 [main] INFO Shutdown port is 58594
5.Version
java -jar moco-runner-<version>-standalone.jar version
6.GolbalSetting
java -jar moco-runner-<version>-standalone.jar http -p 12306 -g settings.json
7.Environment
java -jar moco-runner-<version>-standalone.jar http -p 12306 -g env.json -e remote
8.Shutdown
java -jar moco-runner-<version>-standalone.jar http -p 12306 -c foo.json -s 9527
java -jar moco-runner-<version>-standalone.jar shutdown -s 9527