I have read that for testing the performance of the system manually we create virtual users through network.For that we write stub.Is it same stub which we use in J2EE RMI?I read about stub in testing field that it creates virtual users, number depending upon us ,how many users we want to use our application and then all virtual users start interacting with the application doing different possible transactions.This way we put pressure on the application by increasing transaction rate.I did not get much idea about it how to create stub.Can anybody give me more idea about this.Might be I am having half information about it.I want to learn how to write stubs.Give me urls where I could get more idea about stubs and it will help me out in doing performance testing in better way without using any tools like loadrunner.
Vivek I've used stubs before but not in the context of Virtual users.
The stubs I've used were emulating external interfaces or applications. When the timings or performance of the external were not required for the test or a 3rd party interface was costly to use, we would write a stub to pass back information to the performance test.
One major drawback of using a stub is that they are quite often unrealistic but that is usually a subsequnce of the time available to develop it.