public class HttpPressTestX extends Object
┌─┐ ┌─┐
┌──┘ ┴───────┘ ┴──┐
│ │
│ ─── │
│ ─┬┘ └┬─ │
│ │
│ ─┴─ │
│ │
└───┐ ┌───┘
│ │
│ │
│ │
│ └──────────────┐
│ │
│ ├─┐
│ author:lelouch ┌─┘
│ │
└─┐ ┐ ┌───────┬──┐ ┌──┘
│ ─┤ ─┤ │ ─┤ ─┤
└──┴──┘ └──┴──┘
神兽保佑
代码无BUG!
| 限定符和类型 | 类和说明 |
|---|---|
class |
HttpPressTestX.HttpPressResult
The type Http press result.
|
| 构造器和说明 |
|---|
HttpPressTestX(int thread_num,
int client_num,
HttpConnetcionEX hpc)
Instantiates a new Http press test x.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isPrint_result() |
HttpPressTestX.HttpPressResult |
MultiThreadHttpPressTest()
通用 http模拟并发请求
|
HttpPressTestX.HttpPressResult |
MultiThreadHttpPressTest(Map<String,Object> params)
通用 http模拟并发请求
|
void |
setPrint_result(boolean print_result) |
public HttpPressTestX(int thread_num,
int client_num,
HttpConnetcionEX hpc)
thread_num - the thread numclient_num - the client numhpc - the hpcpublic boolean isPrint_result()
public void setPrint_result(boolean print_result)
public HttpPressTestX.HttpPressResult MultiThreadHttpPressTest()
thread_num - 线程数量client_num - 客户数量url - 网址params - post数据public HttpPressTestX.HttpPressResult MultiThreadHttpPressTest(Map<String,Object> params)
params - post数据Copyright © 2020. All rights reserved.