Domanda

Sto usando autobench per fare becnhmark. Un esempio di comando autobench è il seguente.

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**  

L'URI, che devo specificare una query ha collegato ad esso. Quando eseguo il comando che ha la query, ottengo il seguente risultato

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

La richiesta di query, la risposta sono tutti zeri. Qualcuno può dirmi come per dare una query come parte della uri?

Grazie in anticipo

Nessuna soluzione corretta

Altri suggerimenti

Ha funzionato per me quando ho circondato l'URI che contiene la stringa di query tra virgolette singole. Qualcosa di simile:

uri1 '/ mio / uri / ricerca? Stringa'

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top