I am doing a performance benchmark of ZCS on Sun CMT Server using Tsung performance benchmark tool to generate load and hit the ZCS server. In short about the process, we record a user session in the ZCS with common use-case (login,sending mail, adding contact, etc.) and then add this recorded session to Tsung configuration file (tsung.xml). Now, when a user logs in, a corresponding sessionId is generated and is supposed to be used in tsung.xml. However, I am unable to extract the sessionId from the response at runtime. Can someone point out how it works and how to extract the sessionId everytime I send a new login request to ZCS server?

Thanks in advance for the help.

Regards,
Manisha