To add a remote repository to your Data Repositories view:

  1. From the Data Repositories view, click the Add Server icon.
  2. Choose one of the following modes from the Connection Mode menu and configure the connection details accordingly:
    • Host/Port: Enter the Data Repository Server's host and port. To use SSL to connect to the server, enable Use SSL.
    • Connection String: Enter the MongoDB connection string. An example of a connection string that connects to a local server with SSL is shown below. See https://www.mongodb.com/docs/manual/reference/connection-string/ for more information about MongoDB connection strings. 

      MongoDB Connection String Example
      mongodb://localhost:2424/?tls=true&tlsAllowInvalidHostnames=true

      If an authentication database is specified in the connection string, you should use the /defaultauthdb component; only use the ?authsource=defaultauthdb option if credentials are specified in the connection string.

  3. Enter the username and password to be used to log into your Data Repository Server.

    • If you chose Connection String as your connection mode, you have the option to specify credentials in either the connection string or in the Username and Password fields. If credentials are specified in both, those in the Username and Password fields will take precedence.

  4. Click OK.

The specified data repository server will be added to the Data Repositories view. Any repositories that it contains will be displayed in this tree. New repositories can be added as described below, or during the process of creating a virtual asset from the "create parameterized messages from traffic wizard.

Removing a Server from the Data Repositories View

If you later want to remove a server from the Data Repositories view, just select the related node and click Remove Server.

  • No labels