webMethods

 View Only

 Adapter not properly mocked on distant IS environment

Alexandre Trin's profile image
Alexandre Trin posted Mon March 24, 2025 10:26 AM

Hello team,

One of my customer is having some troubles running Test suite, when it involves using an adapter on a distant Integration Server.

They have mocked the input, locally it works and they don’t need the Adapter to be connected. But when they are trying to execute the test on a distant Integration Server we have Adapters errors:

Unable to invoke adapter service C014_socle.adapter.insert:sftpDonneeIn with connection C014_socle.connection:socleWrite.
[junit] [ART.117.4012] Adapter Runtime (Adapter Service): Unable to run adapter service. Error occurred when connecting to resource C014_socle.connection:socleWrite.

And when the adapter is activated, the call is made and doesn’t seems to take the mock in consideration.

Do we need a additional parameter or any specific setup to allow the mocking on adapters on distant Integration Servers ? (We cannot activate all adapters on distant IS, as they don’t have all the databases available.)

Thank you