Developer forum

Forum » Integration » Monitoring DynamicwebConnectorService externally - help with encryption

Monitoring DynamicwebConnectorService externally - help with encryption

Þórhallur Hálfdánarson
Þórhallur Hálfdánarson
Reply

Hi,

We're troubleshoot intermittent slow responses in our installation, which seem to be related to our ERP integration.

I would like to monitor the health and performance of the Connector Service, but in order to do so properly I believe I need to encrypt the requests using the secret key configured on both sides (connector service and Dynamicweb integration settings).

I have been unable to find examples or information on how this might be achived - any pointers?

Best regards,
Tolli


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Þórhallur,

You can download a new version of the test tool from the doc site and there is an elapsed time output per request.
You can either use the same secret key in the Dynamicweb service and Test tool.
Also when you do not specify the secret key in the Dynamicweb service config file there will be no encyption/decryption performed,
so you can supply your requests directly.

Best regards, Dmitrij

 
Þórhallur Hálfdánarson
Þórhallur Hálfdánarson
Reply

Hi Dmitriy and thanks for your prompt reply.

If I'm not mistaken the test tool is testing the same as the connector service itself, i.e. the communications to the ERP itself only, correct?

What I'm after is monitoring the connector service itself, i.e. emulating the calls from the DW backend to the connector service (which in turn will connect to the ERP). Furthermore I'm looking to do it in an automated and continious manner.

I have for now used a request that I captured on the server - i.e. repeating the same payload over and over.  That's seems to be "good enough" (requests seem to be going all the way to ERP). Although I can't read the response, I can assert on the status code and size of the reponse.

Best regards,
Tolli

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

The tester tool has a DynamicwebService connector that allows you to go through the Windows service, rather than the ERP directly. Would that help?

Imar

 

You must be logged in to post in the forum