Data Driven Virtual Service throwing error: "value already present"
search cancel

Data Driven Virtual Service throwing error: "value already present"

book

Article ID: 233480

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

The data driven VS throwing the below error when transactions were sent against it

============================================================================
| com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: value already present: 
============================================================================
| Step:        VS Image Response Selection
----------------------------------------------------------------------------
| Message:     java.lang.IllegalArgumentException: value already present: 
----------------------------------------------------------------------------
| Trapped Exception: java.lang.IllegalArgumentException: value already present: 
| Trapped Message:   com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: value already present:

NOTE: The above error is seen in the Virtual Service -->Inspection view and no response is seen for the client request.

Environment

All supported DevTest releases and platforms.

Cause

Issue with the Excel file used in the VS

Resolution

Issue with the Excel file used in the Data Driven VS caused the issue.

Creating a new Excel file and adding new column names and values per the request should resolve the issue.