Intranet penetration can also be used for web page testing? --- Publish web page test through cpolar intranet penetration

Publish web page test through cpolar intranet penetration

For website developers, it is very necessary to test the completed web pages. At the same time, they must fully adopt the opinions of the entrusting producer during the testing process, and make timely revisions according to Party A's opinions. However, in the traditional testing method, the production must be Only when good webpage content is uploaded to the server can an accessible webpage be generated, which makes the modification and improvement of the webpage very complicated. If you encounter a situation that requires multiple revisions, it is tantamount to a nightmare for developers, which not only wastes valuable time for developers, but also seriously affects work efficiency.

But if you use cpolar, you can avoid the trouble of repeated modification and upload. As an efficient and safe intranet penetration software, cpolar can generate a "tunnel" on the local computer that can only be used by the authorized person, and the web page publisher can use this tunnel to allow users (including Party A who previews the web page) to The local webpage is accessed and tested, and the problems existing in the webpage are modified and dealt with in a timely manner, avoiding the time and energy spent on testing and correcting errors after the webpage is uploaded.

Today, we will introduce to you how to use cpolar to create a website locally that can be accessed by public Internet users, so as to easily test web pages.

To use cpolar to generate a public Internet access connection, it only takes 3 simple steps to achieve:

1. Establish a local test environment

If you want to test the locally produced web pages, you need to build a test environment first. Here we use PHPstudy software. First download and install PHPstudy, and set WNMP startup on the home page of the panel. In order to ensure that PHPstudy works normally, it is necessary for us to conduct a small test. Just enter the "Website" tab on the left side of the software interface, select the localhost80 site, then click the "Management" button on the right side, and click "Open Website" in the pop-up menu ", the browser will be opened, and the local website pointed to is the default "http://localhost". As long as the webpage displaying this address can be opened, the installation is successful.

img

2. Import the content of the webpage to be tested

After confirming that PHPstudy is working properly, we can replace the default webpage content of PHPstudy with the content of the webpage we intend to test. The specific operation method is to find the root directory of the default webpage of PHPstudy, also on the right side of the "Website" tab, click the "Management" button, click "Open Root Directory" in the pop-up menu, and it will turn to the root directory of the default webpage . At this point, just delete the original file, and then copy the content of the webpage you intend to test into it. If you want to test whether the content of the new webpage is normal, you need to click "Open Website" under the "Management" menu. If it can be displayed normally, it means that the content of the new website is normal.

3. Use cpolar to generate random URLs

When the test webpage is ready, you can use cpolar to generate public network links for users and clients to test. First open cpolar, enter the command line "cpolar http -region=cn_vip 80, and cpolar will automatically generate a URL that can be clicked by public network users, that is, the URL displayed after "Forwarding" in the cpolar window, usually in the format of " http://XXXXXXX.vip.cpolar.cn", this URL can be sent to the testers or Party A, and what they see after clicking is the website they plan to test.

img

Compared with traditional website testing, using cpolar for testing does not need to deploy the test website to the server every time the test is performed, which saves a lot of time for developers. Even if the tester or the entrusting party proposes a modification to the website, the developer can quickly complete it locally, which saves time and greatly reduces the workload. This is just the most basic function of cpolar. For customers with higher needs, cpolar also provides a variety of package options. You are welcome to go to the official website of cpolar to purchase, learn more detailed function introduction, and expand higher-level application permissions. You are also welcome to contact and communicate with us, we will provide you with the help we can.

Reprinted from the cpolar pole cloud article: Publishing webpage test through cpolar intranet penetration

Guess you like

Origin blog.csdn.net/ljq_up/article/details/132164534