Service Virtualization

  • 1.  How to de-identify data response ?

    Posted Dec 04, 2017 03:20 AM

    Hello,

     

    I'm trying to de-identify data response while recording. I've tried with common de-identify.xml file, and this json response : 

    HTTP/1.1 200 OK

    {
    "helloWorldResponse": "Hello too",
    "fname": "Gabriel García ",
    "lname": "Márquez"
    }

     

    But in VSI file I have : 

    <?xml version="1.0" encoding="UTF-8"?>
    <root class="object">
    <fname type="string">Gabriel García </fname>
    <helloWorldResponse type="string">Hello too</helloWorldResponse>
    <lname type="string">Márquez</lname>
    </root>

     

    What did I miss ?

     

    Benoit



  • 2.  Re: How to de-identify data response ?
    Best Answer

    Broadcom Employee
    Posted Dec 04, 2017 10:16 AM

    Did you enable "De-identify" checkbox in the recorder ?

     

     Please see the communities post below

     

    https://communities.ca.com/message/241814663?commentID=241814663#comment-241814663 

     

    If you still have questions, please open a ticket with CA support.  

     

    Thanks

     

    Shiney. 



  • 3.  Re: How to de-identify data response ?

    Posted Dec 05, 2017 03:40 AM

    "De-identify" checkbox was checked.

     

    Json filters were missing in de-identify.xml. Now it does work.

     

    Thanks.