Hi
Trying to integrate with VSTS load tests on VS 2010 Ultimate. Installed Agent, Client and the plugin, made sure the server is not using Contigous storage and added the plugin to the project. When starting the test the Client opens up but no recording is started. The event log only states ProtocolError on the plugin.
What is the problem ?
gil.
Answer by Andreas G. ·
Can you let us know which dynaTrace version you are using? Also - are you refering to the Windows Event Log or any other log file?
Answer by gil g. ·
Andreas,
DT 5.5 and the error is from the event log.
Gil.
Hi Gil,
is there more information available regarding the ProtocolError? Is the REST Web Service port on the Client set to 8030 or did you select the secure connection?
Answer by Richard U. ·
Ok. Is the Client running or starting up when you run the loadtest? The loadtest plugin triggers session recording etc. (all REST calls) via the Client. This way we do not need any authentication information (credentials) of a dT user for the loadtest-plugin.
Richard
Maybe the port (default is 8030) is used by another process. Please execute "netstat -ano" on the command line. Watch for a line like "TCP [::]:8030 [::]:0 LISTENING <PID>" and verify the PID (process ID) belongs to the dT Client using the Task Manager.
Is that feasible?
Richard,
I'll be on site in about 90 minutes to try resolve this as this is part of a POC. can we have a direct connection while I'm there ?
Gil
gilgi AT matrix.co.il
Hi Gil,
I have attached (Tools -> Attachments) a modified web- and loadtest plugin assembly. It should deliver some more detailed error message.
Answer by gil g. ·
Hi Richard,
Installed the new plugin and now I get in the Event viewer that both ErrorCode and ErrorDescription are not found.Additionally, the netstat verified that the DT client is the one listening to this port.
Gil.
Hi Gil,
after some testing I've found another possible problem source. The strings for the properties "Server" and "SystemProfile" are case-sensitive. So please be sure to use the exact matching names (like in the Client).
I've attached another revision of the plugin. In case of an error, now I get the real response from the Client REST call in the Windows Event Viewer.
For example:
Status Code: NotFound
Response was: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><description>Server alias or system profile unknown.</description></error>
Answer by gil g. ·
Hi Gil,
looks like "security problem". Maybe you just have to "unblock" the Dll in the file properties (via Windows Explorer). See eg. http://social.msdn.microsoft.com/Forums/en-US/f65b53af-933a-4014-86bb-a4a4f0b7c076/exception-from-hresult-0x80131515
Answer by gil g. ·
Richard,
Tried again on another machine and after solving the security problems used your more detailed dll to find out that for some reason it could not resolve the DT server correctly. once this was removed, only leaving the profile name, everything worked like a charm
I would recommend making this detailed error display a feature in the standard version of the plugin. it really helped a lot.
Thanks.
Gil.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET