LAGUREN.NET
  • HOME
  • About Me

Building a Continuous Performance Pipeline - Part 1

9/14/2016

 
Picture
Quick Introduction
​
​
Although JMeter introduced me to the world of performance testing, it's always great to take a step back and try out other solutions.  Last year at FutureStack, I was introduced to Nouvola.  Of all the great features, I found the ability to use Postman one of my favorite.

What Are We Load Testing?
So, I've started to build a service that will simply add user information to a database.  However, I want to iterate through the process of development and actually have performance testing included in my CI pipeline from the very beginning.  

To get started, I wrote a simple service that takes the payload request and returns back a message based on the payload.  For a quick test to make sure the service was deployed I used Postman.
Picture
Picture
Picture
Enter Nouvola

Nouvola is the latest entry in a field of companies that help developers, like myself, to improve the performance of their application.  Over the next few weeks, I know the service I'm developing will get slower than it will right now (the addition of complexity).  Nouvola's range of features should help me make the best decision as I continue building my application.

After signing up for an account, I can begin testing my application.  In postman, I export my test and receive a JSON file that I can upload to Nouvola.

Picture
After logging in, select SESSIONS from the menu and choose Sessions.  This is where we will define our test case for load testing.

The Multi sessions option will be used later as the application is being built.

Picture
There are many options that Nouvola offers to build a session.  For now, select the import button at the bottom to import our Postman file.

Note:  If you do not see this screen, simply create a simple session and save it.  Most users don't usually have a postman file to build a performance test from.

Picture
Once the upload is complete, Nouvola will show the Postman session that we uploaded.  In this case, the POST call to the service I'm developing.

Picture
Clicking on the URL, will display the details of the request.  In this case, the url that Nouvola will visit and the contents of the data being sent.
Picture

Select TESTS to create your first test plan.

Similar to other tools, a test plan will be where define the parameters of the test.
Picture

For now, let's leave the default values and scroll down the portion of the page that has a map of the world.
Picture

This is probably one of my favorite user interfaces for planning out where to run my load tests from.  I'll talk more about this in the future, but for now I'll select a single region and set the value to 100%.  Scroll further down to save the plan.
Picture

Simply select your test plan and choose RUN TEST.
Picture

Now your simple POSTMAN call has been transformed into a load test.  In the next post, we will look at the test results and begin comparing performance under various conditions.
Picture

Comments are closed.

    RSS Feed

    Categories

    All
    Advice
    Agile
    Android
    Automation
    BDD
    C9D9
    Capybara
    Career
    Continuous Delivery
    Continuous Integration
    Cucumber
    Database
    Ebates
    Firefox
    Fiverr
    GIT
    Groupon
    Interview
    Investing
    Jenkins
    JIRA
    Jmeter
    Jobs
    Meetup
    Melvinisms
    Metaprogramming
    Mobile
    Ruby
    Stockpile
    Training

© COPYRIGHT 2018. ALL RIGHTS RESERVED.
  • HOME
  • About Me