首页 > 其他分享 >wireMock

wireMock

时间:2023-06-07 13:45:20浏览次数:37  
标签:wireMock http service wiremock jar 7777

1. 启动 wireMock

java -jar wiremock-jre8-standalone-2.35.0.jar -port 7777

 

2. 将service配置文件改成本地wiremock 地址后,重新启动 service:mvn spring-boot:run

 

 

 

3. 

http://localhost:7777/__admin/recorder/

Target URL:  http://api.farfetch.net

 by default,文件会保存到~/wiremock/mappings 这个目录下面

 

 

 

标签:wireMock,http,service,wiremock,jar,7777
From: https://www.cnblogs.com/pangniu/p/17463071.html

相关文章