Configuring a load test for your application

Before we learn about the scaling options on Bluemix, let us go ahead and create a load-test scenario for the application we just created. This is required to simulate the conditions for the application where the application would need to scale.

Creating the BlazeMeter service instance

We will use the BlazeMeter service to configure the load-test scenario:

  1. From the Bluemix catalog, select BlazeMeter from the DevOps category of services, as shown in the following screenshot:

    Creating the BlazeMeter service instance

  2. Click BlazeMeter and review the details of the service and the service plan:

    Creating the BlazeMeter service instance

  3. Click Create. A BlazeMeter service instance is created:

    Creating the BlazeMeter service instance

Creating the load test

Using the next set of steps, we will create a load test using the BlazeMeter service:

  1. Click OPEN BLAZEMETER DASHBOARD to open the BlazeMeter dashboard. Click Skip wizard, as shown in the following screenshot:

    Creating the load test

  2. From the BlazeMeter dashboard, click Create Test:

    Creating the load test

  3. Click URL Test to create HTTP requests to your application simulating the user base and defining the time interval between requests:

    Creating the load test

  4. Click Save. The load test for your application is created. You can run this test to simulate a load for your application.

    Note

    To learn more about BlazeMeter, you can refer to http://bit.ly/29P9ugE .

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.42.116