Method and system for automatically testing webapi interfaces with same domain name
An automatic testing and domain name technology, applied in the field of computer networks, can solve problems such as testing difficulties and increase resource consumption, and achieve the effects of testing automation, improving usability, and improving efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] Please refer to figure 1 as well as figure 2 , Embodiment 1 of the present invention is:
[0055] A method to automatically test the webapi interface of the same domain name, including:
[0056] S1. Numbering the IP addresses of all servers with the same domain name;
[0057] S2, configure the domain name to the configuration file of the reverse proxy server, and number the domain name; S21, modify and rewrite the numbered domain name as an unnumbered domain name; preferably, the reverse proxy server;
[0058] S3, resolve the numbered server ip and the domain name to the test client; specifically: import the numbered server ip and the domain name into the hosts file of the test client operating system;
[0059] S4. Test the webapi interfaces corresponding to all domain names with different numbers;
[0060] S5. After the preset time period, continue to test the webapi interfaces corresponding to all domain names with different numbers; preferably, the preset time per...
Embodiment 2
[0063] Please refer to image 3 , the second embodiment of the present invention is:
[0064] A system for automatically testing webapi interfaces of the same domain name, including:
[0065] ip numbering module 1, used to number all server ips with the same domain name;
[0066] The domain name numbering module 2 is used to configure the domain name to the configuration file of the reverse proxy server, and the domain name is numbered; the rewriting module 7 is used to modify and rewrite the numbered domain name as an unnumbered domain name; preferably, the The reverse proxy server is an ngnix server;
[0067] Parsing module 3, for parsing the numbered server ip and domain name to the test client;
[0068] Test module 4, used to test the webapi interfaces corresponding to all domain names with different numbers;
[0069] The loop module 5 is used to continue to test the webapi interfaces corresponding to all domain names with different numbers after a preset period of tim...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com