What tools can be used for multi-user testing

When developing a website, I often need to test scenarios such as this:

When user A logs in, she should see X button while user B can not 

And to conduct such testing, I need to register a lot and log out using different test accounts, which is by no means convenient.

I wonder if there is any tool that can help me?

+4
source share
3 answers

My suggestion was to use two (or more, if necessary) different browsers. They have their own sessions, so you can log in simultaneously with both users.

As an example, you can use Internet Explorer for one and Mozilla Firefox for another user.

Pretty simple!

December 16, 2016 update:
Currently, when browsers have entered private sessions (e.g. Incognito for Chrome), you can simply open this closed session and log in with it. He will not use storage mechanisms associated with the main browser window.
Although, in Chrome, at least - opening two windows incognito will not force you to get a total of 3 sessions. Incognito, they all live with a "solitary" session, so to speak. I do not know about Firefox and others.

+3
source

Apache JMeter is very good at this: -

+1
source

I believe that using a light-weighted service like eggPlant would be great.

Due to the fact that multi-user testing cannot be performed completely using sequential testing (it checks the network by one user in a short period of time), we need to do this simultaneously (several users accessing the database in a short period of time). This type of testing may indicate some potential defects, such as a bad database lock algorithm.

Another advantage: the service can save you a lot of time that you spent on testing the Internet yourself.

0
source

All Articles