• Loads all destinations stored in systems.json and credentials.json files.

    By default, this functions starts looking in the directory the test process has been started in (i.e. '.') and traverses the file hierarchy upwards until it finds a systems.json and credentials.json file. Alternatively, you can supply paths to the systems and the credentials file directly.

    Throws an error when no systems.json can be found, the JSON is malformed or one of the supplied paths is invalid. Does not throw an error when no credentials.json can be found, but will print a warning.


    Returns Destination[]

    An array of destinations.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.