When recording nesting CDATA section in VSE recorder what DPH to select
search cancel

When recording nesting CDATA section in VSE recorder what DPH to select

book

Article ID: 121573

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

Requests with CDATA tag are not parsed by the VSE Recorder using default DPH.

How to parse the requests to see all arguments?

Environment

All supported DevTest releases.

Cause

 

N/A

Resolution

Can use different Data protocol Handlers (DPH) to achieve the functionality wanted:

For example:

. In one scenario, have a Soap request which has CDATA tag in the request. Then can use the below:
- Web Services DPH (Default one automatically added by the recorder)
- Request Data Manager DPH (With this, you make the CDATA tag as Request Body to parse the request)
- Generix XML Payload Parser DPH (This can be used to configure more arguments)

. Another scenario, The request is XML, then can use the below DPH's
- XML Data Protocol (Recorder selects automatically)
- Request Data Manager DPH  (With this, you make the CDATA tag as Request Body and the next DPH can parse the request)
- XML Data Protocol (To parse the Request Body again with all arguments) or Generic XML Payload Parser and can create specific arguments from the request.

 

Additional Information

 

Scriptable DPH can also be used with the code.