Forum Discussion

msbyuva's avatar
msbyuva
New Contributor
12 years ago

Can we mask input fields in Request Body

I am wondering does SOAP UI has a feature where we can mask the input fields in Request Body.

I have a web service where one of the methods gets the user profile based on SSN -- GetUserProfile(String SSN)

I am wondering is there any way we can mask the input field ( In my example -- I need to mask SSN like ***-**-****) it's for security purpose...

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:GetUserProfile>
<tem:SSN>123-45-6789</tem:SSN>
</tem:GetUserProfile>
</soapenv:Body>
</soapenv:Envelope>

3 Replies

  • SiKing's avatar
    SiKing
    Community Expert
    Just wondering: why? Are you running your tests in production? Are you using real customer data in your test environment?
  • msbyuva's avatar
    msbyuva
    New Contributor
    SiKing wrote:
    Just wondering: why? Are you running your tests in production? Are you using real customer data in your test environment?


    Not with Production data but we need masking the inputs -- we have other method where users can reset their password -- we have userid, current password, new password to enter -- it will be the same data across all the environments as they use Active Directory.

    Wondering that is there any way
  • nmrao's avatar
    nmrao
    Community Hero
    Are you a pro user? Not aware of such functionality in free version atleast.
    However, there is a soap request test step property of Password where it masks the string.