用moco工具mock接口

 1.下載moco  jar包,下載地址:https://repo1.maven.org/maven2/com/github/dreamhead/moco-runner/0.11.0/ 2.創建Json文件mock接口 3.運行命令 java -jar ./moco-runner-0.11.0-standalone.jar 協議 -p 端口號 -c 文件名.json 協議:一般是http,如果用到
相關文章
相關標籤/搜索