Using the cloud service to stress test a web application

I am doing a scalability research project. I created a web application on Windows Azure and now I need to test it with millions of users. I thought of doing the following:

  • Create a simple program that uses Selenium to send requests to a web application
  • Integrating this program as another Azure cloud service
  • Increase the number of instances to increase the number of simultaneous connections

The reason I want to use Selenium and not just send regular HTTP requests is because I also need to test the Javascript application. My questions:

  • Can Selenium be used as the working role of a Windows Azure / virtual machine?
  • Can Selenium send multiple requests at once? I will use several but each instance should be able to generate about 2000 or more requests per second, is this possible?

Can this be done with Selenium or are there any better ways to do this? I also saw JMeter, but since in Java I don’t think I can use it as a working Azure role

Requirements: Create 100 million views in 15 minutes to 30 minutes. I expect to use about 40-50 instances on Azure, which means that each instance should generate about 2000 requests per second

+5
source share
3 answers

Selenium is good for functional testing, but AFAIK simulates a single-user scenario.

JMeter is more suitable for load testing.

, , , Blitz.io

( )

+3

Selenium - Javascript . JMeter .

Amazon AWS. , AWS . , Amazon Azure, 50 000 200 1. $2/. - www.redline13.com.

+2

Since you noted C #, I assume that you are using Visual Studio.

You can achieve what you want using Visual Studio Online and Visual Studio Ultimate together. Read more here: Download the test in the cloud to find performance issues

+1
source

All Articles