Insert 1000 concurrent users in JMeter

1

I created a test with HTTP requests, and I need to insert and log in to the site with 1000 users simultaneously in JMeter. What is the best way to do this?

    
asked by anonymous 20.01.2017 / 19:41

1 answer

0

Mariana, without knowing your application is a little difficult to detail, but I can provide general guidelines. I think the most practical way is to record a complete test using JMeter and just edit this test for what you need.

1) Record a navigation on your site using JMeter. It allows you to create a proxy you can perform the activities you need to test on your site that JMeter writes to the test file automatically. Very good for avoiding more manual configuration work. You only need to edit what he has recorded. I recommend reading the JMeter Tutorial: Using JMeter for Web Performance Testing , great for help with settings

2) Create some listeners to record the test to be performed. They allow the conversion of data into charts and tables for easy visualization. The following are very useful:

  • Chart Added
  • View Results in Table
  • View Results Tree

3) Set up the test load you need. In the first test, I recommend creating only 1 thread to validate whether the test you created works. If you have the desired result, you can augment the threads as needed. I recommend the tutorial using JMeter to test your JSF application which basically does what you need, but with JSF.

Basically that's it. But JMeter has more advanced settings if needed. I recommend reading also:

Distilling JMeter I: Introduction and Concepts

Distilling JMeter II: Let's write tests!

    
20.01.2017 / 22:07