Skip to content

Load Testing Blog

How to burn 50k dollars trying to save a few hundreds

You are a brand new startup. No cash flows in at the moment. What are you trying to do? Survive. You are saving every single penny to last as long as possible. You stick with free tools, or stay with freemium plans. Are you really saving money by doing this?

How it happens

Once your startup launch is successful, you're growing fast and are rapidly acquiring new customers. As it grows, the tools you used at the beginning are less and less adapted to your changing needs.

You begin to look for alternative tools to complete the job. The open-source load testing tools hardly scales as the number of simulated users explode.

MkDocs sitemap.xml file generation

Here at OctoPerf we love static website generators. Even if our load testing tool is made completely dynamic by AngularJS, our website and blog are generated using Jekyll.

The OctoPerf documentation is created with MkDocs. This wonderful tool allowed us to concentrate on the documentation content as the markdown syntax is really easy to comprehend.

Moreover, the responsive themes let us integrate the documentation directly into our performance testing tool:

OctoPerf integrated documentation

When we first wrote it, MkDocs version was 0.12.0. It did not support sitemap.xml file generation. This guide helps migrating to the latest version (0.14.0).

Response time is critical for E-Commerce

Online E-commerce business is growing very quickly. From 2007 to 2015, the US Online retail sales have grown by 38%. And the market is still growing rapidly year over year.

Online E-commerce Growth

In this context, being able to follow the business growth is critical. The goal of any online retailer is to increase the number of visitors, and thus increase the number of orders. But, bringing more people on an online shop can quickly become a pain if the shop is not prepared for it.

Imagine you have an e-commerce. The local TV makes an interview of you, a successful entrepreneur. Many people will see you, and want to visit your shop to see what you are selling. This is where the nightmare begins. The opportunity to make more sales is compromised by the absolute slowness of the website. The servers are overloaded.

Recording HTTP traffic with Fiddler

Fiddler is an HTTP proxy primarly designed to debug HTTP requests. It allows to capture HTTP traffic and export it in different format. OctoPerf supports importing HAR (Http Archive v1.2), which is precisely what Fiddler can do. In this post, you will learn how to record your web or mobile app with Fiddler, and then run a load test from the Cloud with OctoPerf.

We are going to use FiddlerCap, which is a very simple and powerful.

Why recording

Recording an HTTP app is the best way to run realistic load tests. You are guaranteed to capture the real HTTP traffic between a customer and your web app. It's also quicker to record the traffic instead of creating it manually from scratch.

Recording HTTP traffic with JMeter

JMeter is an open-source load testing tool. See related posts if you want more information about JMeter. JMeter allows to record HTTP traffic with its built-in HTTP(S) Test Script Recorder. OctoPerf natively supports importing JMeter recordings.

Installation

First, you need to install JMeter on your computer:

  • Get JMeter from JMeter Download Page,
  • Decompress the archive,
  • Run JMETER_HOME/bin/jmeter executable (extension depends on your OS).

JMeter GUI should appear. JMeter is a Java program, it requires a Java JRE. Install one if you don't have any.