Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Setup

This is a quick guide for configuring Apica LoadTest as a Test-stage in AWS CodePipeline. T

Setup Steps

This guide assumes that you have created a Pipeline and have basic knowledge of how AWS CodePipeline operates.

Step1 - 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.

Image Removed

Step2 - Add Action

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

Image Removed

Step3 - Set Apica Loadtest as Test Provider

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

Image Removed

Step4 - 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 ### Step6 of this guide. If you do not have an account, click the Click Here To Create a Free Account-button.

Image Removed

Step5 - 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 tested in order by a specified amount of user.

Image Removed

Step6 - 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.

Image Removed

Step7 - 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.

Image Removed

Step8 - View Loadtest Results

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

Image Removed

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

Image Removed

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

...

The Setup menu contains views for the account Plans & Subscriptions, Performance Agents and Integrations with Application Performance Monitoring tools.

Image Added