Devtest create VSI from Swagger merges transactions into one using URLPARAM
search cancel

Devtest create VSI from Swagger merges transactions into one using URLPARAM

book

Article ID: 211434

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

When creating a VSI from Swagger using the REST Data Protocol some transactions are combined with a URLPARAM that should not be.
How to keep these as separate transactions.

For example:
GET /form/v1/cars/{URLPARAM0}/serial/
GET /form/v1/cars/{URLPARAM0}/nonserial/

Are combined into:
GET /form/v1/cars/{URLPARAM0}/{URLPARAM1}/

 

 

Environment

Release : 10.6

Component :

Resolution

2 different resolutions:

1) During the creation of the VSI from Swagger, the REST data protocol rules can be configured.
The screen contains a Properties button that allows 'Max Changes' to be changed to 2
In that case the 2 transactions (serial and nonserial) will not be combined.

2) It is also possible to create individual VSIs for different transactions and then using the 'Merge' function to combine these into one VSI