I’m trying to prepare test data for an extensive load test of a website. Since the test needs to be able to simulate many different users with different logon ID’s, I need to provide the user ID and password for each simulated session. I can get the userids from a database, and, because this is a test site, the passwords are all supposed to have been set to the same dummy value. However, only about 50% of the userids work with the dummy password.
So how can I test a userid/password combination before generating test data for it? I’m trying to do this with a Java application that uses the URL class, but I’m running into difficulty with the security alert. When I surf to the website “live”, a warning box appears and says that I have not chosen to trust the company that issued the certificate, and/or that the name on the security certificate is not valid. When I run my application, I get the following error message:
ERROR: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Could not find trusted certificate
What can I do to get around this? Any help would be appreciated.
–Spectre, whose former handle javaman had more to do with coffee than with any great ability with the java language.