You can integrate Git with LoadRunner Cloud enabling you to upload scripts from your Git repository.
The LoadRunner Cloud Git agent connects your Git repository to your LoadRunner Cloud tenant.
The following are the perquisites for installing the LoadRunner Cloud Git Agent:
A Windows x64 operating system
A valid Git installation. For details, see the Git download page.
Install and configure the agent
Do the following to install and configure the LoadRunner Cloud Git agent:
|Download and install the agent||
|Configure the agent||
|Launch the agent||Go to Start > LoadRunner Cloud - Git agent > Start Git agent.|
Select Assets > Scripts.
Do the following to add or update scripts from your Git repository to LoadRunner Cloud:
|Access the Git repository||
Click and select Upload from Git to open the Git repository dialog box.
Note: For shared Git agents, if multiple users upload or synchronize scripts using the same agent simultaneously, the uploading or synchronizing time will increase.
|Select an agent||
From the dropdown menus, select the agent, repository, and branch that connect to the script repository you want to use.
For details on managing your Git agents, see LoadRunner Cloud agents.
If you want all the scripts that are uploaded from the repository to be configured for auto sync, select the Auto Sync check box. You can also individually configure scripts for auto sync. For details, see Sync Git scripts.
|Select a script||
Select one or more scripts from the Git repository. Click Add.
|Sync Git scripts||
You can sync Git scripts both manually and automatically.
To sync Git scripts manually:
Note: When you manually sync a Git script, runtime settings configured for the script in LoadRunner Cloud are retained.
To sync Git scripts automatically:
Select the Auto Sync check box for the scripts you want to be synced automatically.
When a change to a script is made in the repository and the script is automatically updated in LoadRunner Cloud, a message is added in the notifications area in LoadRunner Cloud.
Tip: To see a list and view the status of your uploads and syncs, click the Notification button in the top banner, to the left of the project name. The Notification pane provides a time stamp and other relevant information for each event. If you have new notifications, the Notification button indicates the number of unread items . To delete an upload notification, hover over it and click x.
To troubleshoot your Git integration, see: