문제

Becnhmark를 수행하기 위해 Autobench를 사용하고 있습니다. 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

쿼리 요청, 응답은 모두 0입니다. 누구든지 URI의 일부로 쿼리를 제공하는 방법을 알려주시겠습니까?

미리 감사드립니다

올바른 솔루션이 없습니다

다른 팁

쿼리 문자열이 하나의 인용문으로 포함 된 URI를 둘러싸고 있었을 때 그것은 저를 위해 일했습니다. 같은 것 :

uri1 '/my/uri/query? string'

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top