OWASP-Benchmark / BenchmarkUtils

OWASP Benchmark Project Utilities - Provides scorecard generation and crawling tools for Benchmark style test suites.
https://owasp.org/www-project-benchmark/
GNU General Public License v3.0
15 stars 49 forks source link

Add Timeout to Crawlers #3

Open davewichers opened 3 years ago

davewichers commented 3 years ago

If a test case never responds, the crawler stops and waits forever. Add a response timeout to BenchmarkCrawler so it will drop the request, and continue properly.

JonathonWichers commented 3 years ago

The timeout has to be longer than I though. Like 5 minutes, as it significantly depends on the speed of the machine. In fact, by default, the timeout should be disabled, and should be set via a command line param, rather than be fixed.