diff --git a/src/pubsub/handlers/RunTestHandler.js b/src/pubsub/handlers/RunTestHandler.js index ad834fb5..19958478 100644 --- a/src/pubsub/handlers/RunTestHandler.js +++ b/src/pubsub/handlers/RunTestHandler.js @@ -71,7 +71,7 @@ export default class RunTestHandler extends BaseHandler { async getValidationReport(message) { const sdkMode = message.action; - process.env.COMMUNICATION_MODE = message.context.communicationMode; + process.env.COMMUNICATION_MODE = message.context.communicationMode ? message.context.communicationMode : CONSTANTS.TRANSPORT; const sdkInvokerInfo = new Test_Runner(); let validatedMenu;