How does the request data get mapped into the response?
book
Article ID: 91948
calendar_today
Updated On:
Products
CA Application TestCA Continuous Application Insight (PathFinder)Service Virtualization
Issue/Introduction
When creating a virtual service from request/response pairs, how does the request get mapped into the response? What are the rules for deciding which fields get mapped in the response?
How does the request data get mapped into the response?When creating the virtual service from request/response pairs, how does the request get mapped into the response? What are the rules in deciding which fields get mapped in the response? Example: e022 OR {{=request_Section_N276WK_TAX_CD_SRVC_COMMUN_N276WK_TAX_CD_SRVC_INFO_N276WK_REC_ID_N276WK_IDENT_KEY_N276WK_QCN_TCN_N276WK_SEQ;/*002*/}}
Environment
All supported DevTest environments
Cause
N/A
Resolution
Request data is mapped to the response as below: . When the request and response have same data values and the minimum length is 3 then the response data is automatically magic stringed. If the response has same data values multiple times then the response uses the first request argument. . To change the length requirements for magic string the values "lisa.magic.string.min.length" property can be used to set the desired length in local.properties.
Additional Information
Refer to section "DevTest Property File (lisa.properties)" and choose the "VSE Properties" link in the documentation of the DevTest release you are running.