Network Testing Skill
Comprehensive skill for network testing, benchmarking, and performance validation across all network layers.
Capabilities
- Bandwidth Testing: Run iperf3/netperf for throughput and bandwidth measurement
- Load Testing: Execute load tests with wrk, hey, k6, and Apache Bench
- Latency Analysis: Measure and analyze latency with ping, mtr, hping3, and traceroute
- Protocol Conformance: Conduct protocol conformance testing against specifications
- Chaos Engineering: Run chaos engineering network tests (packet loss, latency injection)
- Test Reporting: Generate comprehensive network test reports with metrics
- Performance Benchmarking: Benchmark network performance against baselines
- Connection Testing: Test connection establishment, teardown, and pooling
Tools and Dependencies
iperf3- Network bandwidth measurementnetperf- Network performance testingwrk- HTTP benchmarking toolk6- Modern load testing toolhey- HTTP load generatortc- Traffic control for network shapingmtr- Network diagnostic toolhping3- TCP/IP packet assembler
Target Processes
- network-testing-framework.js
- load-testing-tool.js
- protocol-fuzzer.js
Usage Examples
Bandwidth Testing
iperf3 -c server.example.com -t 30 -P 4
iperf3 -s -p 5201
HTTP Load Testing
wrk -t12 -c400 -d30s http://localhost:8080/
k6 run --vus 100 --duration 30s script.js
hey -n 10000 -c 100 http://localhost:8080/
Latency Analysis
mtr --report --report-cycles 100 example.com
hping3 -S -p 80 -c 100 example.com
Network Chaos
tc qdisc add dev eth0 root netem delay 100ms 10ms
tc qdisc add dev eth0 root netem loss 5%
Quality Gates
- Bandwidth meets requirements
- Latency within SLA thresholds
- Error rates below threshold
- Connection handling validated
- Protocol conformance verified