wiremock技术入门
1 { 2 "code":0, 3 "msg":"success", 4 "data":{ 5 "name":"helloworld" 6 } 7 }
1 { 2 "request":{ 3 "method": "GET", 4 "url": "/api/mytest" 5 }, 6 "response": { 7 "status": 200, 8 "bodyFileName": "response.json" 9 } 10 }
1 { 2 "code":0, 3 "msg":"success", 4 "data":{ 5 "name":"helloworld" 6 } 7 }
1 { 2 "request":{ 3 "method": "GET", 4 "url": "/api/mytest" 5 }, 6 "response": { 7 "status": 200, 8 "bodyFileName": "response.json" 9 } 10 }