posted 9 years ago
1.Get the data from the LDAP based on account id example account status 'active'
2. Compare it with the Account tree structure account status is active
if both the status is same are same then it is passed
Below is my script to fetch the account details
OUTPUT RESPONSE {shawtelephonenumber=[403803105, 4037490355], accountnumber=124, accounttype=Residential, accountstatus=Active, dn=accountNumber=124,o=accounts,o=shawEnterprise, objectclass=[shawEnterpriseAccount, top], deviceid=[device1240, device1241, device1242], emailid=test124@gmail.com}
2. account tree structure --> enclosed screen shot
groovy.png