Forum Discussion

saravananramamo's avatar
saravananramamo
Contributor
13 years ago

WSS PasswordType - groovy script

Hi All,

I have created a groovy script for assigning username and password for all the test request.
Please find the code snippet as below.


wsdlTestSteps.each{
it.properties['Endpoint'].value = "endpoint value"
it.properties['Username'].value = "username"
it.properties['Password'].value = "password"
}



Please suggest how can I set the password type(WSS-PasswordType) i.e my case it will be 'passwordDigest'.

Thanks & Regards
Saravanan Ramamoorthy

1 Reply

  • Hi All,

    I did the same without using groovy script. Simply I added endpoint, username, password and the WSS-Type in the project level properties and
    assign it to all the test request.

    Thanks & Regards
    Saravanan Ramamoorthy