In the VSI Response, the JSON tree view is adding escape characters to the response automatically.

book

Article ID: 8381

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction

In the Virtual Service Image with a transaction that contains a JSON response, select Tree View and then set it back to Text View.

The JSON response will have escape characters that were added automatically.

Below images show how to reproduce this behavior:

In the image we can see the response does not contain the escape character:

<Please see attached file for image>

The JSON response does not contain the escape characters

Change the view from Text View to Tree View:

<Please see attached file for image>

Change the view to Tree View

The Tree View:

<Please see attached file for image>

Changed the View

Change the View back to Text View:

<Please see attached file for image>

back to text view

Notice the escape characters were added to the response:

<Please see attached file for image>

jSONtREEiSSUE.png

 

Environment

DevTest on release 10.0.

Resolution

We may have a patch to address your issue. Please open a support ticket and reference DE296676.

We will be happy to provide you the patch if it matches your issue.

Additional Information

This issue does not happen with DevTest on release 10.1.

Attachments

1558714490811000008381_sktwi1f5rjvs16tgb.png get_app
1558714488872000008381_sktwi1f5rjvs16tga.png get_app
1558714486896000008381_sktwi1f5rjvs16tg9.png get_app
1558714484945000008381_sktwi1f5rjvs16tg8.png get_app
1558714482835000008381_sktwi1f5rjvs16tg7.png get_app