使用来测试 HTTP 响应时间之间的差异
选择一个阿尔法
p < alpha 表示 MWU 测试的原假设不成立,这意味着两个请求(x 和 y)在响应时间上具有不同的正态分布。 这可用于测试,例如盲 SQL 注入
用法
$ go build
$ ./http-mwu -h
Usage of ./http-mwu:
-request-timeout=20s: time-out value for a single request to complete
-sample-size=20: number of requests per request type
-throwaways=1: number of initially discarded request pairs
-x-body="": request body for X
-x-body-type="appli