Domino Performance Testing using OpenSTA

Hi

Can someone who has used OpenSTA against a domino web app, show me an example code on how we simulate a user login and submission of a form?

Thanks i advance. I am new to this but I am very keen to learn.