We have successfully set up a selenium grid using docker. Now we are trying to have dynatrace all the performance metrics for the functional UI tests, but I am having a very tough time trying to get dynatrace connected through the docker.yml file.
According to the instructions provided by the dynatrace community this is what I have set up:
https://community.dynatrace.com/community/display/DOCDT62/Browser+Agent+Configuration
I have the following environment variables set up in the docker.yml file as follows:
- DT_AGENTACTIVE=true
- DT_AGENTNAME=name-of-agent
- DT_SERVER=host:port
Also in my protractor config file this is what i have for firefox and chrome:
{
browserName: 'firefox',
shardTestFiles: true,
maxInstances: 10,
firefoxOptions: {
args: ['--lang=en',
'--window-size=1024,3000']
}
},
//max-desktop-chrome - default screen size
{
browserName: 'chrome',
shardTestFiles: true,
maxInstances: 10,
chromeOptions: {
args: ['--lang=en',
'--window-size=1024,3000', '--disable-extensions']
}
}
I still do not see that dynatrace agent in the dynatrace client. Any ideas what I can be doing wrong?