The big question here is will your users ALWAYS be doing all 3 actions and will they ALWAYS be doing them in the same order. If yes to both questions, then keep it all in one script.
If you want them to do some of the actions only some of the time, what I do is similar but different. I'll record what is one distict section in seperate scripts, although in your scenario I might do it all in one recording.
In any event once I have the entire thing working I'll break out the various distinct actions into function calls:
1) create report - always occurs so stays within TMain section.
2) create proposal - occurs sometimes, so goes into function.
3) create agreement - same as above.
The other thing I'll do is ensure that if a variable is only used within a particular function, I'll declare it within the function rather than globally. May be a small point, but I do everything I can to try to reduce the memory footprint of each VU.
The application is using the Struts and springs Framework and Technology are Hibernate,AJAX, Spring , GWT,JDK 1.5, JPA.
I have three Test scenario for Performance Testing
1 User go through all the three process(meeting -proposal-agreement) sequentially
2 User can create the proposal and then agreement on that
3 crating the agreement
now for 1st test case i have recorded the one script ,
My issue is that my try script is working fine for all the transaction but when i am putting load of 5 user only the meeting report are get created and not the proposal .
Silk Performer is not getting the crated meeting report.
because the URL of the company is not at the recorded location .