Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if target host is reachable before the load test #19

Closed
kffl opened this issue Nov 14, 2021 · 0 comments · Fixed by #22
Closed

Check if target host is reachable before the load test #19

kffl opened this issue Nov 14, 2021 · 0 comments · Fixed by #22
Labels

Comments

@kffl
Copy link
Owner

kffl commented Nov 14, 2021

As of now, load test target validation includes some checks (URL parsing being successful, protocol being supported and the port being present), but there no additional steps undertaken in order to determine if the target host is actually reachable (i.e. does its domain name DNS query resolve properly?; can a TCP connection be established?). Consequently, if Gocannon is unable to connect to the host, the user will find out about that fact only after the load test ends (with none of the requests being completed successfully).

This feature could be implemented by TCP dialing the target host prior to the load test start and returning a descriptive error if such operation is unsuccessful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant