How the VS handles "Allow duplicate specific transactions" functionality when connection is closed for each request?
search cancel

How the VS handles "Allow duplicate specific transactions" functionality when connection is closed for each request?

book

Article ID: 138721

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test

Issue/Introduction

When virtual service is configured with "Allow duplicate specific transactions" to send round robin response for incoming calls, how will it handle the Connection pool?

Environment

Release : 10.x

Component : CA Service Virtualization

Cause

Sometime, the client application closes connection for each request and the same response is sent from VS instead of round robin responses (multiple specific transactions).

Resolution

The issue is not seen from DevTest 10.5. Even client closes connection for each request, VS will respond in round robin fashion.

Internally, VSE maintains a cache called DUPLICATE_CONTROL_CONTEXT, which holds the last send response index for each VS with "Allow Duplicate Specific Transactions". The response index is incremented such that it cycles through the available number of specific transactions.

Additional Information

Check the documentation on Transactions Tab for Stateless Transactions for more information.