我使用autobench做becnhmark。 autobench命令的一个例子如下所示。

autobench --single_host --host1 testhost.foo.com --uri1 /index.html --quiet 
          --timeout 5 --low_rate 20 --high_rate 200 --rate_step 20 --num_call 10
          --num_conn 5000 --file bench.tsv**  

,我必须指定的URI具有连接到它的查询。当运行具有查询的命令时,得到下面的结果

dem_req_rate    req_rate_localhost  con_rate_localhost  min_rep_rate_localhost  avg_rep_rate_localhost  max_rep_rate_localhost  stddev_rep_rate_localhost   resp_time_localhost net_io_localhost    errors_localhost
 200    0   20  0   0   0   0   0   0   101
 400    0   40  0   0   0   0   0   0   101
 600    0   60  0   0   0   0   0   0   101
 800    0   80  0   0   0   0   0   0   101
1000    0   100 0   0   0   0   0   0   101
1200    0   120 0   0   0   0   0   0   101
1400    0   140 0   0   0   0   0   0   101
1600    0   160 0   0   0   0   0   0   101
1800    0   180 0   0   0   0   0   0   101
2000    0   200 0   0   0   0   0   0   101

在查询请求,响应都是零。任何人都可以告诉我怎么给一个查询的URI的一部分?

感谢您预先

没有正确的解决方案

其他提示

这工作对我来说,当我包围含单引号中查询字符串的URI。是这样的:

URI1 '/我/ URI /查询?字符串'

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top