Stress testing sources (public network and VPC)

Updated at:

Performance Testing Service (PTS) supports two types of stress testing sources: public network and VPC.

Public network (default mode)

The nodes that initiate stress tests are located in different regions. Node resources, such as IP addresses, are allocated based on the scale of the stress test.

Alibaba Cloud VPC network

When you perform stress testing in an Alibaba Cloud VPC, the stress testing machines and the target servers are in the same region. The stress test is conducted over the Alibaba Cloud internal network.

To perform a stress test in an Alibaba Cloud VPC, you must select a region (Area ①), a VPC (Area ②), a security group (Area ③), and a virtual switch (Area ④). For more information, see Alibaba Cloud VPC stress testing.

fhjkl

Note

The supported regions for stress testing nodes within an Alibaba Cloud internal network are displayed on the UI.

Limitations

The following limits apply to performance tests within an Alibaba Cloud VPC:

  • Resource limits: The supported throughput varies by region, ranging from 20,000 to 100,000 TPS.

  • IP address limits:

    • You must select the VPC where your target service is located.

    • The test endpoints must be private IP addresses within the Alibaba Cloud VPC. You can use IP addresses directly or domain names that resolve to private IP addresses. For more information about how to bind domain names, see Domain name binding.

    • A test scenario can only target a single region. All API endpoints must be for internal services within that region, as cross-region testing is not supported.

    • To test services in another cloud or an on-premises data center connected by a leased line, your VPC and the connected networks must share the same address range (for example, 10.0.0.0/8).

  • Whitelist limits:

    • You must manually grant internal network access, which requires familiarity with Alibaba Cloud ECS security groups and SLB.

    • The security groups must not restrict outbound traffic. Security groups managed by other cloud services are not supported.

    • You must add the vSwitch CIDR block to the target service's internal network whitelist.

Before you start a test, check that your configuration meets these conditions, especially the IP address and whitelist limits. Otherwise, network connectivity issues may occur.