完成学习事务

This commit is contained in:
2026-03-03 13:14:15 +08:00
parent 5fb6350763
commit 2a79fca22c
17 changed files with 310 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ public class App
// 请求体JSON数据
private static final String REQUEST_BODY = "{\"username\":\"admin\"}";
// 总请求次数
private static final int TOTAL_REQUESTS = 30;
private static final int TOTAL_REQUESTS = 50;
public static void main(String[] args) {
// 1. 创建HttpClient实例设置超时时间10秒