I'm trying to connect Test Studio to a VisualStudio.com git repository.
When I enter the details into the Connect Source Control option it shows:
"Connection to remote repository successful!"
However having tried a few different options in this section I can't seem to ever get it to fail (even just entering the word 'anything' as the connection URL shows as successful.
After connecting, when trying to pull / push / etc it fails to connect, which suggests it never did in the first place:
"Error pushing to remote: Git Source Control: Failed to push items. failed to send request: A connection with the server could not be established"
I'm running 18.1.418.0.
Are there any prerequisites required? (I have Visual Studio 2017 installed on the machine and Git for Windows)
9 Answers, 1 is accepted
Thank you for reaching us out and sharing details on the faced issue.
I am sorry to admit that the Git integration in Test Studio is not yet extended to cover the TFS/VSTS Git repositories. Here is the public feedback item on the topic.
As you have noticed on your own there are troubles with the source control operations and this should be explored in details to implement it as functionality.
Please let me know in case of any further questions. Thank you for your understanding!
Thanks for the confirmation. I notice the last update to that thread is from almost 2 years ago now. Can you confirm this functionality is on your product roadmap for future development? And if so do you have any estimate on when the functionality is likely to be added?
As I agree 2 years ago most companies were more likely to be using local TFS / GIT solutions, however hosted solutions are gaining favour more now.
Thank you for your understanding.
Implementing the Git/VSTS repositories support is in our future plans. It is planned for our R3 release which could be expected at the end of September. I hope there will be no changes required in regards this feature.
Thanks again for your time!
What is the update regarding the support of TFS/VSTS Git repositories in Telerik test studio? As you have mentioned in your last comment that it's planned for end of the September.
We have hosted our telerik test studio solution on the TFS/VSTS Git repository and same can not be connected via telerik test studio. What is other alternative if any?
Thank you for getting back to us.
Please note that the online VSTS Git repositories can be successfully connected with the current implementation. If you are using a TFS server on-premise you could expect the support for Git repos in TFS in our next release which is planned for the end of September.
Though if you have any troubles with the online service of Visual Studio please let me know the current situation and I will try to assist further. Thanks in advance!
As confirmed by you in the last reply that the support for Git repos in TFS will be added in September end release but i have not found any such change in the release notes mentioned here:
Kindly confirm if it is provided in the latest release or not and if not then when can we expect this feature to be provided?
Please excuse us for the misunderstanding - we have missed to update the public feedback item accordingly and probably this is the reason for the lack of information in the release notes as well.
The TFS Git repos are already supported by Test Studio and you should be able to login and connect such a repository through Test Studio successfully. In case you face any troubles, please do not hesitate to contact me back.
Hello Elena, good day,
Does Telerik Test Studio have support for Git Repo on "Azure Devops Server 2019/Azure DevOps Server 2020 (Azure Repos Git)"? I have tried to connect it without success (Error: To many redirects).
I was following this guide: https://docs.telerik.com/teststudio/features/source-control/git/open-git-project
Note: Azure DevOps Server is the on-premises version of Azure DevOps Services.
Test Studio supports Git repos no matter where these are hosted. Basically, there is no difference in how the communication in the background needs to be handled. That said, you should be able to connect to this particular repo as well.
There are few notes to have in mind, though, and here they are:
- Are you trying to open an existing repository, which contains a Test Studio project?
If so, then you should use the Open Git project option. This will create a local copy of the project on your local drive (you specify the location) and will open it in Test Studio.
- Are you trying to connect a local project and upload it to the Git repo?
If this is the case, you first need to create an empty Git remote repo, in which you can upload the Test Studio project.
Once you have the empty repo, you can proceed connecting your local project to it following the options listed here.
(Then, any of your other colleagues can use the Open Git project directions to download a local copy of that same project).
- How do you authenticate to the server?
If you are using 2FA, you will need to create a personal token and use this one in the Test Studio interface to access the remote repository.
I hope that these additional notes will be of further help for you. Let me know if you need additional assistance.