23

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.000 users/day - that is 1.100 per hour.

For that i have made this Jmeter test:

enter image description here enter image description here

and here is the result

enter image description here

and here is the graph

enter image description here

I want to know what this result is exactly telling us, if my test pass or fails, if yahoo.com (for which we have run this test for our example) can allow 25.000 users/day and if i am inputting my criteria / requirements correctly?

Thanks

Aliaksandr Belik
  • 12,725
  • 6
  • 64
  • 90
junaidp
  • 10,801
  • 29
  • 89
  • 137
  • 1
    do you realize that accessing a site involves numerous HTTP requests and you're just testing the initial one? you will need to record an HTTP request sequence (with JMeter - google how to) and test against it – Oleg Mikheev Feb 16 '12 at 20:58
  • [Got the answer?](http://stackoverflow.com/faq#howtoask) – Aliaksandr Belik Mar 18 '13 at 14:18

1 Answers1

45

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.

Aliaksandr Belik
  • 12,725
  • 6
  • 64
  • 90
  • [Load Testing your Applications with Apache JMeter](http://web.archive.org/web/20120302160128/http://javaboutique.internet.com/tutorials/JMeter/) via archive.org – Felix Alcala Feb 01 '14 at 22:27
  • Great answer, thanks, it was quite useful also for me. – Rafa Aug 27 '14 at 09:14
  • @AliaksandrBelik, How long have you been doing loadrunner? – Pacerier Oct 06 '15 at 09:15
  • @Pacerier, if you mean HP LoadRunner tool so I'm not a big fan of it. If you mean something different - please clarify your question. – Aliaksandr Belik Oct 06 '15 at 13:29
  • @AliaksandrBelik, Ops the edit didn't get through. I meant: How long have you been using JMeter / Loadrunner / Selenium (/ etc)? – Pacerier Oct 08 '15 at 03:41