Reputation: 31
I have to perform load and performance testing of my new site which requires login functionality. I am using JMeter to test performance and load. Can you please send me the details of how I can create multiple users to the database by using JMeter, so that I can use them to login multiple users at a time?
Thanks.
Upvotes: 2
Views: 6796
Reputation: 8571
JMeter is a Load testing tool and not a data creation tool.
It should be used for load testing and not functional aspects. Though it can be used for data creation because of its record and replay feature. (of course with parametrization)
To create data,
This will create users with data from csv. After that you can load test your website.
Upvotes: 2
Reputation: 168042
If you need to create users directly in database the correct JMeter Test Element is JDBC Request sampler which allows to execute arbitrary SQL queries against any database which supports JDBC protocol.
File -> Templates -> JDBC Load Test
to get idea on how your Test Plan should look like. Upvotes: 0
Reputation: 5396
First of all you need to set following things to your Jmeter test plan :
1 - Thread group - Here you can set parallel users[Ex: 450 users] , ramp up period[Ex: 300 seconds] and loop count[Ex : 5]
2 - Login page with get and post method
3 - Listener like summary report , table , tree or other which is suitable for you.
Reference detailed link for login process : How to do login using Jmeter
Please let me know if you have any confusion during your load testing.
Upvotes: 0