Insert 1000 concurrent users into Jmeter

Asked

Viewed 365 times

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’s the best way to do that?

1 answer

0


Mariana, without knowing your application is a little difficult to detail, but I can provide general lines. 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 website that Jmeter automatically writes to the test file. Very good to avoid a more manual configuration work. You will only need to edit what it recorded. I recommend reading the Jmeter Tutorial: Using Jmeter for Web Performance Testing, excellent for helping with settings

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

  • Aggregate Graph
  • View Results in Table
  • View Tree of Results

3) Configure 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 increase the threads as needed. I recommend the tutorial Using Jmeter to test your JSF application that basically does what you need, but with JSF.

That’s basically it. But Jmeter has more advanced settings if necessary. I also recommend reading:

Distilling Jmeter I: Introduction and Concepts

Distilling Jmeter II: Let’s write tests!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.