I have been assigned to do the load testing of a Banking application suite which is based on JSP. Banking transactions usually involve what is known as Maker Checker Scenario described briefly on this Wikipedia Page. For example In Online money transfer scenario, the maker begins the transaction (Bank teller) by entering the fields and submits this for verification which is then verified by corresponding Checker . I have recorded single script for the whole of maker checker once. I found that the transaction ID generated in maker goes in checker part for verification. I could have recorded the whole scenario separately, but this would lead additional overhead to what is called data creation (Transaction IDs) for checker script. So i want the whole scenario to be scripted in single script to save the time spent on data creation which is huge. The second thing is what we call - Single Login Logout . Since the recorded script would have Maker/checker Login logouts in Tmain , this would lead to huge amount of logins and logouts when such script is executed. In real world maker(Bank teller) does the login for once while beginning work and logs out few times, not many times. Now, i separated the logins like these: //----------------------------------------------- TInit : begin Tmain : 10; TShutdown : end; TInit 1... Measure : Maker Home Page 2...Measure : Maker Login 3...Measure : Checker Home Page 4...Measure : Checker Login TMain 5...Measure : Maker transactions... generate transaction ID 6...Measure : Checker transactions... verifies transaction ID TShutdown 7...Measure : Maker Logout 8...Measure : Checker Logout //----------------------------------------------- I have been succeeded to run the maker part but my checker fails on tryscript. I have been doing all parametrization correctly, but my script fails at Checker Login. Hence it fails. What am i missing? Do i need to add appropriate cookies? My application allows the maker checker login from same computer in two different browser tabs. So there must be some ways to do the same via script ! Thanks for the help in advance.
↧