zettelkasten/OneNoteExport/Kommunikationstechnologie/Sharepoint/Performance tests/04_Test Management Aufbau.md
Ralf Koop 5a108aa2b4 .
2023-08-25 23:29:11 +02:00

6.3 KiB

Test Management Aufbau

Freitag, 4. Januar 2019

10:41

 

TFS Server von den Entwicklern :

http:/tfs/tfs

 

 

mtm://tfs:80/tfs/bkk%20mobil%20oil/p:Sharepoint/

 

 

 

Test Manager :

 

Bei Kay und bei mir wurde Visual Studio TestManager 2017 installiert.

 

 

 

 

 

Als Anleitung für die Installation habe ich folgende Seite genutzt :

https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2012/dd648127(v%3dvs.110)

 

Test Controller :

 

Ich habe für die ersten Tests mal auf unserer Spielwiese auf dem Server

SP2019SRV2016 (10.96.73.102) den TestController installiert.

 

Für die Produktion später sollte ein eigener Server genutzt werden.

 

Dies ist nur um erste test zu machen.

Im weiteren vorgehen sollte hierfür eine eigene "offizielle" Maschine installiert werden.

 

Folgendes Binary habe ich benutzt :

vs_testcontroller__819401237.1536216592_VS2017.exe

 

 

 

 

 

Computergenerierter Alternativtext: Configure Test Controller -Specify the logon account for the test controller service C) Local System C) This account: bkk-mobiloil%vsvc-sptestcontroller Password: Your Windows Firewall will be configured to enable communication with the test agents. More Information •s Team Project Collection Register test controller with Team Project Collection This enables you to create environments to run your tests. Register with the following Team Project Collection: http://tfs/tfs/bkkÆÆ20mobiI%200iI Example: http:/,\'MyTFS:8080/TFS/MyCollection use different credentials to connect to Team Foundation Server. Use a lab service account to communicate with test controller. This account will be used by test agents to communicate with the controller. Account name: Password: Test {width="5.260416666666667in" height="5.083333333333333in"}

Computergenerierter Alternativtext: Configured ACL successful\'y. User Koop, Ralf is not authorized to grant permissions to test controller service account. To fix this error, run this tool with an account that has \"Project Collection Administrator\" rights and try again. Configuration of lab service user completed successfully Failed to configure test controller with the service account \'svc- SpTestControIIer\'. Specify an account which is a member of \'Local Administrators\' group on this machine or use a Lab Service account and try again. Configuration failed {width="4.854166666666667in" height="2.46875in"}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Test Agent :

 

Ich habe für die ersten Tests mal auf unserer Spielwiese auf dem Server

SP2019SRV2016 (10.96.73.102) den TestAgent installiert.

 

en_agents_for_visual_studio_2015_update_3_x86_x64_9631275

Hatte ich zuerst installiert, dann aber wieder deinstalliert.

 

vs_testagent__819401237.1536216592_VS-2017

 

Configurationstool des Agent :

 

 

Computergenerierter Alternativtext: Configure Test Agent Run test agent as a service Log on as: C) Network Service • user name: Password: If you want to run tests that need to interact with the desktop, such as coded UI tests, run the test agent as an interactive process by clicking on \"Run Options-. Register with Test Controller To run tests or collect data, enter the name of the test controller that will manage this test agent. Register this test agent with the following Test Controller. Example: MYControIIer:6901 If the test agent is part of a virtual environment created using the Lab Center of Microsoft Test Manager, you do not need to register the test agent with a test controller. Your Windows Firewall will be configured to allow the test controller to communicate with the test agents. For more information, see help online. Customer Feedback options About Apply Settings Close {width="5.739583333333333in" height="6.166666666666667in"}

 

Erfasster Bildschirmausschnitt: 04.01.2019 11:32

 

 

 

 

User :

 

svc-SpTestController -.lOkUhT6$.- Dieser muss auf dem Controller Server Local Admin sein!!

 

Ich habe hier meinen Account zur Verbindung eingegeben resultat siehe unten

C:\\06640CC5\\1A38D22F-F841-459F-AB4F-C2480AFADFAE-Dateien\\image004.png{width="0.9375in" height="0.25in"}

 

einrichten der SQL Datenbank :

Wird wohl nicht benötigt, da dann keine Verbindung mit einem project erstellt werden kann.

Daher denke ich entweder SQL Datenbank oder TFS Project !?

 

 

Computergenerierter Alternativtext: No change was made to the TFS Team Project Collection setting as the test controller is not configured with any TFS Team Project Collection. Restarted service successfully : Visual Studio Test Controller Configured load test database successfully. Since you have not configured lab service account, make sure a) test agent can communicate with the test controller, b) test controller and test agent can access the build drop location, and c) Microsoft Test Manager can connect to the test controller during manual test runs. Manual steps might be needed to setup the permissions mentioned above Configuration succeeded with warnings {width="4.916666666666667in" height="2.5729166666666665in"}

Ebenfalls bei der Accountabfrage meinen Koopr Account genommen, zur Verbindung mit dem TFS Server hier das Ergebnis

Computergenerierter Alternativtext: Configuration summary No change to local groups as they are already configured. Configured service successfully. Failed to update TFS Team Project Collection http://tfs/tfs/bkk%2CmobiI% 200iI/sharepoint as the test controller service account could not be granted required permission. To fix this error, nun this tool with an account that has \"Project Collection Administrator\" rights and try again. Configuration of lab service user completed successfully Invalid user name or password. Specify a valid user name (for example, domainxuser) and password, and try again. Configuration failed For more details or troubleshooting, view log. You may need to perform additional manual steps as mentioned here. Close {width="5.166666666666667in" height="4.020833333333333in"}

 

Erfasster Bildschirmausschnitt: 21.03.2019 07:43

 

 

C:\\06640CC5\\1A38D22F-F841-459F-AB4F-C2480AFADFAE-Dateien\\image007.png{width="5.541666666666667in" height="1.2083333333333333in"}