1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

By Clare Avieli Did you catch our webinar on combining back-end and front-end testing?

Nearly 1,500 people signed up for this webinar, which showed viewers how to understand what will happen to their front end when their web or mobile app is under heavy load.

Michael Sage from Sauce Labs teamed up with our own Ophir Prusak for this event. Together, they covered many valuable topics, including:

The fundamentals of approaching performance vs. front end testing
Step-by-step instructions on getting real-world results from your front end while applying load to the backend
Critical issues you need to know about performance testing

They also showed a real-world test in real time using JMeter and Selenium.


Michael and Ophir stayed online after the presentations to answer questions from the audience. Top questions included:

Q: Why do we need JMeter? Why can’t we do performance testing with Selenium browsers?

A – Ophir: Great question! The answer is really all to do with scalability. When you’re doing a test with Selenium, you’re usually using real browsers –and real browsers are very resource intensive. On the other hand, when you’re doing a test in JMeter by using virtual users, I can exponentially get a lot more users per machine. Just to give you an idea of ballpark numbers, on a single low-end Amazon EC2 machine, I can get 3,4 or 5 virtual users using browsers in parallel until I hit a bottleneck on the machine. If I’m doing it with a JMeter, I can get 1,000 people in parallel. So you’re looking at around 250X more users when I’m doing a JMeter test per machine than Selenium. So if you’re looking at ten or 100 users, you can do it with Selenium but when you’re looking at tens of thousands of users, it just won’t be able to support it.

Q: Can I test behind the firewall?
A – Michael: Yeah, absolutely We have a utility called ‘Sauce Connect’, which creates an encrypted tunnel between your environment inside your firewall or your DMZ and our grid and you get a dedicated virtual machine to act as the tunnel property. You run this utility and it appears as if the Sauce Labs grid is inside your network and it’s all done in an encrypted fashion.
Ophir: At BlazeMeter, we also have the ability to run behind the firewall. It’s a different type of solution. It does require having something we call a BlazeMeter agent, which is basically a load generator which sits behind the firewall, which you can still control through your browser but you have a local machine which is creating the requests for you.

You can also learn more about performance testing mobile apps and websites here.

Backend Testingfrontend testingJMeterseleniumperformance testing


Você também pode querer ler

Comments are off for this post.