Amazon API Gateway Integration

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs. By connecting Amazon API Gateway with BlazeMeter API Monitoring you can automatically create API Tests by importing API specifications from your AWS account.

Create an IAM User and Policy with API Gateway Access

Follow these steps:

  1. Sign into your AWS Console and select Identity & Access Management (IAM), then Users.
  2. Select Create New Users, enter a username (e.g. bzm-api-monitoring) and leave Generate an access key for each user selected.

    Important: Once the user has been created, select Show User Security Credentials and copy the Access Key ID and Secret Access Key (you will not be able to view these again later) to provide to the BlazeMeter API Monitoring connection screen later on.

Once the user is created you need to attach a policy granting the user access to your API Gateway configuration. You can do this by creating a policy to be shared across users, or a user-specific inline policy. To create the inline policy, select the user, the Permissions tab, select Create User Policy, then Custom Policy. Paste the following into the policy editor and save your changes.

  "Version": "2012-10-17",
  "Statement": [
      "Effect": "Allow",
      "Action": [
      "Resource": [

Connect To BlazeMeter API Monitoring

Follow these steps:

  1. In your BlazeMeter API Monitoring account, click on your Profile & Account settings icon on the top-right and select Connected Services.
  2. Find, then click Connect Amazon Web Services from the list of integrations.
  3. Enter the username, AWS Access Key ID, and AWS Secret Access Key into the fields provided. Your credentials will be securely stored within BlazeMeter API Monitoring.

Create Tests from API Gateway Configuration

Follow these steps:

  1. Once connected, in your BlazeMeter API Monitoring account, go to a bucket's dashboard and select Import Test at the bottom.
  2. Select AWS API Gateway from the list and elect the API you would like to import from to complete the import.