Ask Your Question
4

How can I develop a load testing scenario consisting of twelve users in which only one is carrying out an action while the others observe?

asked 2021-11-10 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-21 22:00:00 +0000

qstack gravatar image

To develop a load testing scenario consisting of twelve users in which only one is carrying out an action while the others observe, you could follow these steps:

  1. Identify the action that the user will carry out. This action should be something that takes a significant amount of time to complete so that the load testing can accurately measure the impact on the system.

  2. Create 12 user accounts that are identical in every way except for one. Eleven of these user accounts will be set up to observe the action, while one user account will be designated to carry out the action.

  3. Configure the load testing tool to simulate the 12 users accessing the system simultaneously. You should set the ramp-up time (the time it takes for all users to start accessing the system) so that the system is not overwhelmed with too many requests too quickly.

  4. Run the load test and observe the system's performance. You should expect to see a spike in system resources (CPU, memory, etc.) during the time that the designated user account is carrying out the action.

  5. Once the load test is complete, analyze the results to determine if the system was able to handle the load. If it was, then you can gradually increase the load by adding more users. If the system was not able to handle the load, then you will need to optimize the system or add additional hardware to support the load.

  6. Repeat the load testing process until you have determined the optimal number of users that can access the system at once while maintaining acceptable performance.

  7. Document the load testing scenario and results so that they can be reviewed and repeated in the future if necessary.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-11-10 11:00:00 +0000

Seen: 15 times

Last updated: Sep 21 '21