Login through code failing

3
I have a unit test which starts the XAS and logs in however it has started to fail because the login is no longer working. If I capture the boolean value which Core.login returns in a variable and place a breakpoint right after its execution, I can check the returned variable which is false. Then if I navigate to localhost in firefox and attempt to login with the same credentials I'm using in code, this works fine. Running Core.login does not through an exception, is there any other way to find out why the login may be failing?
asked
1 answers
2

It seems Oliver himself found the answer to his problem:

I was loading the credentials from a .properties file and had accidentally added some trailing whitespace after the username

answered