I want to create a script in JMeter that simulates e.g. 100 users accessing our site over a period of 3-4 minutes.
We need to test whether our application can allow 25.0
1. I would advise to use better some custom samplers from jmeter-plugins instead:
2. In addition to the @Qwe comment above: test not the single HTTP request but user's transactions: each test-thread should simulate a kind of real-user browsing activity: login (if any), navigating through the site, search, accessing/editing personal settings, logout, etc.
To emulate real-user add also "think-time" timer between transaction steps.
3. Control responses, at least the following:
4. Look into corresponding JMeter documentation:
5. Some step-by-step guidelines about Jmeter setup and usage for load-testing you can find here:
UPD.
Please find, use and feel free to extend this Awesome JMeter collection continued on github.