How can I ignore socket errors due to an untrusted TLS/SSL certificate?
If you’re testing a site with a self-signed, expired, or otherwise untrusted certificate, Loadster will complain and refuse to connect to it.
socket error: invalid or untrusted SSL certificate
If you want to override this behavior and trust the certificate anyway, there’s a global setting on your Settings page called Trust all SSL certificates during playback. Enable it and you should be good to go. This is a global setting and it affects anyone on your team playing scripts and running load tests.
Take precautions if you are testing with sensitive data over HTTPS, since disabling this setting could make you vulnerable to a “man in the middle” attack. Also, every now and then, a really bizarre certificate surfaces that Loadster is unable to ignore. If you come across one of these, please let us know and we’ll look into it!