Synthetic Transactions

A new feature in Lync Server 2013 is the introduction of synthetic transactions, which are a set of PowerShell cmdlets used to simulate actions taken by servers or users in the environment. These synthetic transactions enable an administrator to conduct realistic tests against a service. In the case of a Director, the most useful synthetic transaction is the Test-CSRegistration cmdlet, which simulates a user signing into the specified server.

The Test-CSRegistration cmdlet requires providing a target server, user credential, and SIP address. A registrar port can optionally be included. The user credential parameter’s username and password must be collected by an authentication dialog and saved to a variable as in the following command:

$Credential = Get-Credential "COMPANYABC om"

After the credentials are collected, the cmdlet can be run with the user credential variable previously saved:

Test-CSRegistration -TargetFQDN lyncpool1.companyabc.com -UserCredential $Credential -UserSipAddress "sip:[email protected]" -RegistrarPort 5061 –Verbose

also

TargetFQDN   : lyncpool1.companyabc.com
Result       : Success
Latency        : 00:00:10.9506726
Error         :
Diagnosis     :

As seen in the output, the registration test was successful.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset