Details
Description
port 8096 is being used for the entire suite in the following scenario:
api/secret key is not present for the admin user and as part of executing a test suite , we generate the secret and api key for admin user.This happens when the very first test suite is executed after the setup is created and admin’s keys are not generated yet.
In __createApiClient method of cloudstackTestClient.py , mgmt_details.port is not set explicitly to “8080” , when there is a need to generate the keys. In such cases , we default to using port “8096” which is defined as part of the configuration file.