Testing f5 load balance api

Hi, I’m running tests for f5 load balancer. Using bigsuds.BIGIP(hostname=host, username=user, password=pwd) and calling LocalLB.get_member_v2 .

Running with python unitest it is all fine “python -m unittest discover” Running with nosetest it is failing “nosetests test_F5Api.py” same result with pycharm unitest vs nosetest

The error is: raise Connecti ('iControl call failed, possibly invalid ’ Connecti : iControl call failed, possibly invalid credentials.

Any reason why I get these difference ?

Thx, Avihay

Hi, I found the answer, The default log level is different, nosetest as default uses debug, and from some reason the debug message is getting stuck and time out exception throw. the error message was confusing. the workaround is adding to command-line --logging-level=INFO nosetests test_F5Api.py --logging-level=INFO

I do not have an answer why the log got stuck or how to solve this stuck.

Avihay