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.
Step2 - Add Action
Add a new action in your newly created stage. Set the Action category to Test.
Step3 - Set Apica Loadtest as Test Provider
Select Apica Loadtest for Test provider and give the action a name. Click Connect.
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.
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.
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.
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.
Step8 - View Loadtest Results
You can now see your load test being executed if you click on Details in the Test-action Stage.
...