Skip to end of metadata
Go to start of metadata

Content

Intro

This is a quick guide for configuring Apica LoadTest as a Test-stage in AWS CodePipeline. This guide assumes that you have created a Pipeline and have basic knowledge of how AWS CodePipeline operates.

 

Setup Video Guide

Setup Step-by-Step Guide

Step 1 - Add Stage

The natural flow for the pipeline is to load test your build before it is deployed. To achieve this add a new stage after the Build stage.

Figure 1

 

Step 2 - Add Action

Add a new action in your newly created stage. Set the Action category to Test.

 

Step 3 - Set Apica Loadtest as Test Provider

Select Apica Loadtest for Test provider and give the action a name. Click Connect.

 

Step 4 - Create a new account or log in to Apica LoadTest Portal

This will bring you to login/account creation page on Apica LoadTest Portal. If you already have an account, login and skip to step 6 of this guide. If you do not have an account, click the Click Here To Create a Free Account-button.

 

Step 5 - Create account and create a scenario

On this page you will create your account and your first scenario. You will be able to use this scenario in AWS CodePipeline. Every URL in the scenario

will be load testet in order by a specified amount of user. You can also create much more advanced scenarios with Apica ZebraTester. Read more about Apica ZebraTester here.

When you are done please continue to the next step.

 

Step 6 - Choose preset and scenario

Here you choose your preset and which scenario to use. The preset defines how many virtual users that will be used for the test and for how long the test will run.

 

Step 7 - Finalize the Action

All fields except for Input artifacts should be filled out at this step and you are ready to add your action. Now the load test will run everytime the CodePipeline executes.

 

Step 8 - View Loadtest Results

You can now see your load test being executed if you click on Details in the Test-action Stage.

You will see all your jobs on the Jobs-page in Apica LoadTest Portal:

When the test is running you will see the result being updated in real time:

 

 

  • No labels