cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AppMon TFS Test Automation Integration Plugin

asahoo1
Organizer

We have installed the TFS Integration Plugin into the shared TFS server and configured the Build as per below:

https://github.com/Dynatrace/Dynatrace-AppMon-TFS-...

The first step of the task - Register Dynatrace Test Run - fails. I have attached the log file. It fails with an authentication error but when the same user is invoking the Rest API on his browser, it is successful to retrieve the information from the AppMon server.

https://XXXXXX.humana.com:8021/rest/management/profiles/Member%20Experience_DEV/testruns

Could anyone provide any solution to this issue?

tfsbuildtaskfailurelog.docx.

6 REPLIES 6

asahoo1
Organizer

I have not got a response yet. Could someone provide some insights on how to make the task successful?

Thanks!

asahoo1
Organizer

Hello,

After configuring the endpoint as https://dtdevops.humana.com:8021/api/v1, the REST call from the plugin was successful but there is still an inexplicable error in the script RegisterTestrun.ps1. We have filled in all Mandatory parameters in the configuration screen and attached the screenshot below. I have also attached the log file when it executed and threw the above error.

Please review the logs and let us know what required parameter is missing!

plugincongigscreen.png

2017-12-26T21:41:31.0565403Z ##[error]System.Management.Automation.ParameterBindingException: A positional parameter cannot be found that accepts argument 'true'.

8-register-dynatrace-testrun.txt

Thanks!

asahoo1
Organizer

Hello,

Could someone take a look and advise the next steps? Even though all mandatory parameters have been filled, the script throws an error

"A positional parameter cannot be found that accepts argument 'true'".

asahoo1
Organizer

Asad,

We made some updates to the RegisterTestRun1.ps1 file but that did not update the vsix file. It is the vsix file version 2.4.4 that was installed in our TFS server. I have attached the screenshot. TFS Admin wants an updated vsix file with a new version number.

tfsintegrationpluginscreenshot.png

Thanks

asad_ali
Advisor

Hi Abhaya

Let me find out the way to update the vsix file.

asahoo1
Organizer

Asad,

Did you get any success in updating the vsix file?

Abhaya