Service Virtualization

How to write code for De-identify Data in the De-identify file?

  • 1.  How to write code for De-identify Data in the De-identify file?

    Posted Aug 25, 2016 03:21 PM

    Hi, In DevTest we can replace the sensitive data with dummy data using De-identify protocol or selecting the Tick Button for De-identify (transport layer) while virtualising. So i tried this option by adding a request field "email" in de-identify file in C:/program files/DevTest folder and i could see a dummy value in VSI.

     

    My doubt is that i could see the following piece of code in the de-identify folder, could you please help me how this is written and is there any other way i can create a dynamic dummy values for the sensitive fields.

     

    <regex><![CDATA[(?i)[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\.)+[A-Z]{2,4}]]></regex>