Forum Discussion

keanesean's avatar
keanesean
Occasional Contributor
8 years ago
Solved

TestRunner not allowing passwordless jsch session

I have the following code in a groovy script which works fine (i.e. logs in without prompting for username/password) when I run from SoapUI NG. But when I try to run from TestRunner, it prompts for ...
  • keanesean's avatar
    keanesean
    8 years ago

    Hi, 

     

    The solution to this was to add: 

     

    session.setConfig("PreferredAuthentications", 
                      "publickey,keyboard-interactive,password");

    before

    session.connect();