Postman模拟大量请求 | 您所在的位置:网站首页 › postman发起请求 › Postman模拟大量请求 |
一、Postman
Postman 是一个款 HTTP 请求模拟工具 首先演示一下 Postman 最基本的使用,创建一个 Spring Boot 项目,测试的代码如下: import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("test") public class TestConrtoller { @GetMapping("demo") public String testDemo() { return "result~"; } }
|
CopyRight 2018-2019 实验室设备网 版权所有 |