tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.01k stars 1.34k forks source link

Why can’t I test this local custom domain name mapping service? #675

Open ghost opened 6 months ago

ghost commented 6 months ago
$ echo "GET http://cloud-gateway.localdns.com:30886/api/doc.html#/home" | vegeta attack -rate=1 -duration=1s | vegeta report
Requests      [total, rate, throughput]         1, 1.00, 0.00
Duration      [total, attack, wait]             11.712s, 0s, 11.712s
Latencies     [min, mean, 50, 90, 95, 99, max]  11.712s, 11.712s, 11.712s, 11.712s, 11.712s, 11.712s, 11.712s
Bytes In      [total, mean]                     0, 0.00
Bytes Out     [total, mean]                     0, 0.00
Success       [ratio]                           0.00%
Status Codes  [code:count]                      0:1
Error Set:
Get "http://cloud-gateway.localdns.com:30886/api/doc.html#/home": lookup cloud-gateway.localdns.com on 127.0.2.3:53: server misbehaving

$ ping cloud-gateway.localdns.com

Pinging cloud-gateway.localdns.com [10.1.1.10] with 32 bytes of data:
Reply from 10.1.1.10: bytes=32 time<1ms TTL=63
Reply from 10.1.1.10: bytes=32 time<1ms TTL=63
Reply from 10.1.1.10: bytes=32 time<1ms TTL=63
Reply from 10.1.1.10: bytes=32 time<1ms TTL=63

Ping statistics for 10.1.1.10:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms