AWS CodePipeline Integration
This is a quick guide for configuring Apica LoadTest as a Test-stage in AWS CodePipeline.
Setup Steps
This guide assumes that you have created a Pipeline and have basic knowledge of how AWS CodePipeline operates.
Step | Screenshot |
---|---|
Step 1 - Add StageThe 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. | |
Step 2 - Add ActionAdd a new action in your newly created stage. Set the Action category to Test. | |
Step 3 - Set Apica Loadtest as Test ProviderSelect 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 PortalThis will bring you to the login/account creation page on Apica LoadTest Portal. If you already have an account, log in 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 an Account and Create a ScenarioOn 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 users. | |
Step 6 - Choose a Preset and ScenarioHere you choose your preset and which scenario to use. The preset defines how many virtual users will be used for the test and for how long the test will run. |
|
Step 7 - Finalize the ActionAll 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 every time the CodePipeline executes. | |
Step 8 - View the Loadtest ResultsYou can now see your load test being executed if you click on Details in the Test-action Stage. | |
Viewing Job Executions on ALTYou will see all your jobs on the Jobs-page in Apica LoadTest Portal
| |
Real-Time UpdatesWhen the test is running you will see the result is updated in real-time |
|
Cannot find what you're looking for? Send an E-mail to support@apica.io.