Performance Testing Service (PTS) allows you to configure domain name and IP address bindings. After you configure a domain name and IP address binding, the testing traffic directly goes to the specified IP address during performance testing.
Scenarios
Domain name and IP address binding is suitable for scenarios in which you need to quickly switch tested addresses. For example, you may need to use the test environment IP address in the testing environment and use the production environment IP address in the production environment.
Performance testing on the Internet
To test a service on the Internet, you can bind the public domain name of the service to the IP address of the testing environment to isolate the testing traffic from online traffic.
Performance testing in an Alibaba Cloud VPC
To test services in an Alibaba Cloud VPC, you can bind the domain names of APIs to the internal addresses of the VPC. For more information, see Performance testing in an Alibaba Cloud VPC.
Procedure
After you configure Scenario Settings, you can expand the Advanced Settings section and configure domain name and IP address bindings in the Domain name binding section.
Click Save.
After you bind a domain name to an IP address, the testing traffic directly goes to the specified IP during performance testing.