What is the test environment _ What principles should be followed to build a test environment?

What is the test environment?

Before testing the software, you need to set up a test environment. So what is the test environment?

Simply put, the platform on which the software runs, that is, the collection of three environments of software, hardware and network, that is: test environment = software + hardware + network

Hardware: including PCs, notebooks, servers, various terminals, etc. For example, to test photoshop software, is it to be measured on a PC, or on a notebook? Is it measured on the CPU of the CPU for Core, or is it measured on the CPU of the Dragon? The processing speed of photoshop in different hardware environments is different.

Software: This mainly refers to the operating system running the software. For example, testing photoshop refers to testing under windows xp or testing under vista? There may be compatibility issues. The software environment also includes compatibility issues when coexisting with the same system as other types of software.

Network: The software is mainly for C/S structure and B/S structure. For example, the software I am testing now, the customer's network environment is Gigabit Ethernet, and our network environment is still 100 megabit Ethernet, and it is still idle to reach 100 megabits. Such an environment is very nerve-wracking if it is a very accurate test response time.

What is the test environment _ What principles should be followed to build a test environment?

The above describes what a test environment is. So how do you set up a test environment? In general, configuring the test environment can follow these guidelines:

1. Reality: Try to simulate the user's real use environment. Need to mention here, the project software and product software need to be treated differently. Because the project software is only for a certain group of users, the test environment is relatively simple. However, the product software is aimed at the masses, so the test environment is more complicated and needs to be considered in many aspects.

2. Clean: Try not to install software that is not related to the software under test in the test environment. The author encountered this kind of thing, two machines, for one function, one test OK, another test NG, and finally according to the investigation, the test OK machine installed a VC++ development environment that the customer would not install at all, test The NG machine tested this bug because it didn't have VC installed: the necessary dynamic link library support was missing from the software. But this clean is not a must, and sometimes it is deliberate to test the compatibility of a certain software to other software.

3, non-toxic, this should not have to say more, the test work should be ensured in a non-toxic environment.

4. Independence: The test environment and the development environment are independent of each other. That is to say, the development environment and the test environment are best separated, that is, testers and developers use different servers (databases, background servers, etc.) to avoid mutual interference.

Test environment classification

Functional test environment;

Performance test environment.

Test environment steps

The developer writes an installation and maintenance manual;

Manually and automatically set up and maintain according to the installation and maintenance manual (operation and maintenance, development, test personnel can operate);

Installation and maintenance manuals should be detailed and often maintained with updated documentation.

What is the test environment _ What principles should be followed to build a test environment?

Test environment construction principle

As close as possible to the formal environment of the online line;

You can also use the same scale reduction method: one for the application server, the cache server, and one database server, or two for each layer to simulate the distributed situation;

The formal environment should be tested for smoking and tracking.

Personal supplement: In summary, our environment is divided into three sets.

1 test environment, mainly used for daily testing, etc.

2 development environment for developers debugging, bug fixes

3 demonstration environment, used for market department demonstration, data guarantee is real and, tagged to ensure that this version is basically no problem, the first we built our demo environment in the virtual machine, easy to carry, and then directly deployed to the cloud AWS This way, access directly through the external network can alleviate a lot of trouble.

4Based on the need to deploy to the customer site, there is no performance test environment. At the site, we have prepared five sets of environment for the on-line, ST, SIT, E2E, replica, production.

The performance test mainly adopts two modes, one is to close the interface relationship with the external, directly test the data transmission capability of each module between the products, and ensure that the internal performance is passed, and the interface is opened and the other interfaces are opened. Perform a joint test and check the reaction value through TPS to see if the slowness comes from that end.

What is the test environment _ What principles should be followed to build a test environment?

The environment configuration is mainly divided into the following parts:

1. Install oracle database on Linux

2. Webserver installation, the container with multi-port multi-instance processing after tomcat encapsulation, the main function is to provide environment information browsing service.

3.openfire server installation for information transfer between two screens

4. HTTPS is established, a CA certificate is generated, and when the web terminal is accessed or the app is accessed, the generated CA certificate needs to be copied into it.

5. The server is started for the last time. Log in to the browser and enter the ip address to check if the service is running.

The above is the working environment configuration, which will also involve nginx, loadbalancer, etc.

Finally, it is recommended to use Jenkins for version release integration.

AC Power Cord

Since AC power cord is output of high voltage electric power, there is a risk of electric shock injury, therefore, All the AC power cord must comply with safety standard to produce. AC (Alternating Current) Power cord is to transmit high voltage. It is used to drive machinery or home appliances.

AC Power cord,power cable, batter cable, power cord

ETOP WIREHARNESS LIMITED , https://www.oemmoldedcables.com

Posted on