Skip to content
  • ZipCode Api
  • Blog
  • About RedLine13
RedLine13
RedLine13
Primary Navigation Menu
Menu
  • Start Testing
  • Demo
  • Pricing
  • JMeter
  • Partners
  • Docs
    • Documentation Home
    • AWS Set Up for load testing
    • AWS Approval for Large Tests
    • PHP, NodeJS, Python Load Tests
    • Scalability
    • Jenkins Plugin Setup
    • Premium Features
    • Knowledge Base

Load Testing Red Hat OpenShift

By: Rich Friedman

Red Hat OpenShift Load TestingWe have recently partnered with Red Hat to supply (almost) free load testing for applications built and deployed on the OpenShift PaaS.

In our tests, we were able to demonstrate the automated scalability of the OpenShift PaaS and the power of the RedLine load testing tool to help determine sizing requirements. This is a powerful and simple combination for application developers since they can quickly emulate 0 – 50,000+ users hitting their application over a period of 10 minutes and scale their OpenShift environment easily with a few option selections and for less than $2.00.

For our application, we chose one of the Quickstart applications – Cakestart, which is a Bootstrap based framework to get going quickly. Our test was simple – we just pinged the home page we put up for our application – http://cakestrap-redline.rhcloud.com/. We also deployed a sample WordPress application with just a few clicks, although that was not scalable so we did not spend a lot of time testing other than to see it handled 50 requests in 10 seconds with sub-second response times.

OpenShift provides 3 free “Gears”, which are virtual servers with a certain amount of CPU and memory capacity. We were upgraded to 16 gears for our testing purposes (thanks Red Hat!).

Our test run below shows our app starting out running on a single gear – you can see over a couple of minutes of time the response time goes down. OpenShift automatically recognized that we needed more power and upgrade us to 3 gears to process the ~5 requests per second on this app.

OpenShift Load Testing

 

Here is the OpenShift Console during the middle of that test showing how the gears were being increased:

RedLine OpenShift Load Testing

 

OpenShift also has the capability to set a minimal number of gears. This way you can deploy your application so it can handle your expected load with a fast response time.

OpenShift Scalability

 

The test setup is simple, yet powerful. RedLine gives you the options of:

  • emulating the any number of users
  • number of iterations per user
  • Random delays per user (between a min and max of miliseconds)
  • Where the test servers are deployed on AWS
  • Size of Servers
  • Number of users per server
  • Shows the Price per Spot Instance and allows you to set max price you are willing to pay

RedLine Load Testing Configuration

 

In our final test, we started with a higher number of gears (10) and tested at a higher transaction rate. We had 500 simulated users each hitting the website a total of 5 times.  We spread the 500 users over an average of 20 seconds of delay between clicks. So there were 2,500 requests over 100 seconds – about 25 requests per second randomized. You can see the response time was excellent – under a second on average since we were already scaled to 10 gears.

OpenSift PaaS Scalability Test

 

Here is a video overview of how to use RedLine to load test your OpenShift applications:

2013-08-13
Previous Post: Starting Up Load Agents
Next Post: August 2013 Newsletter

Recent Posts

  • Order of Elements in JMeter
  • The JMeter Synthesis Report
  • Using the JMeter Plugins Manager
  • JMeter Rotating JTL Listener
  • Using Test Fragments in JMeter Tests

Related

  • Order of Elements in JMeter
  • The JMeter Synthesis Report
  • Using the JMeter Plugins Manager
  • JMeter Rotating JTL Listener
  • Using Test Fragments in JMeter Tests
  • Step-by-Step Guide to Testing with JMeter
  • Functional Testing vs Performance Testing
  • A Gentle Introduction to Load Testing
  • Using the JMeter Counter Element
  • Getting a “Grounded” Test to Launch

© RedLine13, LLC | Privacy Policy | Contract
Contact Us: info@redline13.com

Designed using Responsive Brix. Powered by WordPress.