Specify stress testing IPs
You can specify the number of source IPs for your performance test to reduce the risk of traffic throttling triggered by high throughput from a single IP address.
Background
A source IP is the IP address that originates the performance test traffic. You can increase the number of stress testing IP addresses based on the number of concurrent users or RPS within the range shown on the console. This feature helps prevent performance test failures caused by the following common issues:
SLB rate limiting: First, check the specifications and bandwidth limits of your SLB instance according to its billing type to see if you have reached the upper limit. You might also be experiencing rate limiting by SLB for a single IP address. This can happen if SLB is the outermost layer of your service, the endpoint uses HTTPS or has Layer-7 session persistence enabled, and your performance test returns 503 errors without corresponding traffic or logs on your backend. For more information, see SLB product billing.
Anti-DDoS or WAF issues: Leaving Anti-DDoS or WAF enabled during a test can cause your traffic to be blocked. Consider temporarily disabling Anti-DDoS or WAF. If you prefer not to disable these services, you can add a whitelisting rule based on User-Agent in PTS to prevent performance test traffic from being intercepted.
Procedure
You can configure the number of stress testing IPs on the Stress Test Configurations page.
If the number of IPs specified on the Stress Test Configurations tab is insufficient, you can also dynamically increase the number of stress testing agent IPs on the In Stress Test page by extending stress testing agents or increasing the maximum stress. For details, see Extend stress testing agents and Increase maximum stress.
Increasing the number of IP addresses adds to your costs. The number of billable concurrent users is calculated as follows: Number of IPs × 500. You can view the estimated VUM consumption in the stress estimation chart on the right.
Different resource plan versions have different upper limits on the number of IP addresses. For more details, see Pay-as-you-go (Subscription).