TCP/IP Live invocation fails frequently
search cancel

TCP/IP Live invocation fails frequently

book

Article ID: 5246

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder)

Issue/Introduction

TCP/IP Live invocation fails frequently. 50 % of the TCP/IP live transactions fails (empty response) in pass through mode. It looks like the issue might have something to do with the TCP Live Invocation step. It fails to invoke the live TCP service endpoint every second time. For example, for transaction #1 live invocation is successful, transaction #2 it's unsuccessful, transaction #3 it's successful, transaction #4 it's unsuccessful. 

 

Environment

All supported DevTest releases.

Cause

It is presumed that there is an issue with the TCP Live Invocation step re-using an old socket, thus causing alternate falures since, following a redeploy of the affected services following each transaction, the service was seen to work correctly.

The assumption is therefore that the TCP Live Invocation needs to discard the old connection/socket when it makes a subsequent live invocation.  

 

Resolution

Add the below property in your local.properties file 

lisa.vse.tcp.live.invocation.max.idle.socket=0s

This is intended to force the live invocation step to use a new connection/socket each time. And should just work without calling live invocation twice.