Manage Git namespaces
When your team keeps its projects in Git, testers can clone a project from Git straight into a test. Each result also records which commit the test used, so your team always knows which version of a project it tested.
To work with Git, your team first needs a Git namespace. In NeoLoad Web, a namespace means the owner of a set of repositories on your Git server. You add it once for the whole account. Admins and testers then select the namespace when they add Git repositories, and they don't need to enter any server details. Because users can only use the namespaces you add, you control which Git servers your account uses.
Before you start
Get the URL of the namespace from your Git server. All repository URLs in the namespace start with this URL. The following examples show namespaces and their URLs for common Git providers:
-
GitHub: A user or an organization, for example https://github.com/my-company.
-
GitLab: A user or a group, for example https://gitlab.com/my-company.
-
Bitbucket Cloud: A workspace, for example https://bitbucket.org/my-company.
On a self-hosted Git server, the URL starts with your server's address instead, for example https://git.example.com/my-company.
Verify that the URL meets the following requirements:
-
The URL starts with https://. NeoLoad Web connects to Git servers over HTTPS only.
-
The URL contains no username, password, or token. Testers add their own credentials in their profile.
If NeoLoad Web can only reach your Git server through a proxy, add a proxy first.
Add a Git namespace
To add a Git namespace, follow these steps:
-
Go to Settings > Integrations > Git namespaces.
-
Select + Add namespace.
-
Enter a Name for the namespace. Users then see this name when they add a repository, so use one they recognize, such as the organization name.
-
Enter the URL of the namespace.
-
If NeoLoad Web can only reach your Git server through a proxy, turn on Use proxy and select the proxy.
-
Select Add.
The namespace then appears in the Git namespace dropdown menu when users add Git repositories.
Edit a Git namespace
You can rename a namespace or change its URL. To do so, open its More options menu and select Edit.
Delete a Git namespace
When you delete a namespace, NeoLoad Web also deletes all repositories added to it, in every workspace. Tests keep the projects they already cloned, but testers can't clone again from the deleted repositories.
To delete a namespace, open its More options menu and select Delete.
What's next
Add Git repositories from the new namespace, so testers in each workspace can clone their projects from Git.