Hi can anybody give me explanation in detail how to create setup for any application for executing stress test and how to write test cases for stress test.How do you create environment for stress test.
What type of application are you testing? Without knowing what you're testing, it's hard to tell you how to stress it.
For the test cases, you need to first start with requirements. Do you have good performance requirements for your application? If so, you need to write test cases that verify those requirements. If you don't have requirements, about all you can do is stress the application until something breaks and provide those observations to the project team.
For the environment, it needs to be as production-like as you can get it. If not, you will not be able to accurately predict the performance of the system in production.
Based on this and the other questions you've been asking, I'd suggest that you read the forum's FAQ as well as several of the articles on Scott Barber's site (www.perftestplus.com). If you still have questions after that, ask away, but I suspect that a majority of your questions will be answered by this reading.