[software test] software test notes
1. Basic concepts and related terms of software testing defects
1)Defect( Defect): It refers to the deviation existing in the software, which can be activated and exists in the software in a static form, which is equivalent to Bug.
2)Malfunction( Fault): When the defect is activated, the state in the software operation can cause accidents ...
Added by brainardp on Thu, 10 Mar 2022 09:07:14 +0200
[S01E02] iOS unit test
what: What is unit testing
how: How to conduct unit tests
why: Why unit testing
1, What is unit testing
1. Unit test
Unit can be simply understood as a method, so unit testing is testing for methods
2. The position of unit test in the test
Generally speaking, small tests are used to ensure code quality, and medium and large tests are us ...
Added by tmed on Fri, 14 Jan 2022 02:55:39 +0200
sentinel service fault tolerance
jmeter interface test
download
jmeter.bat startup file jmeter.properties configuration file
Modify the configuration file to Chinese
Interface test
Modify the maximum number of threads in tomcat
server:
port: 8091
tomcat:
max-threads: 10
Start test
Sentinel service
Dependency injection
<dependency>
< ...
Added by haaglin on Thu, 06 Jan 2022 14:12:18 +0200
python unit test - unittest
1, Unit test, integration test, function test
1.1 unit test
The particle size is the smallest. Generally, the development team uses the white box method to test whether the main test units comply with the "design"; It refers to the inspection and verification of the smallest testable unit in the software
1.2 integration test
...
Added by Andy17 on Wed, 05 Jan 2022 23:48:34 +0200
RabbitMQ general cluster, mirror cluster, cluster load balancing, stress test, election strategy and test, cluster fault recovery [full explanation of cluster size]
preface
Over the past few years, I have been struggling in the it industry. Along the way, many have summarized some high-frequency interviews in the python industry. I see most of the new blood in the industry, and I still have all kinds of difficult questions for the answers to all kinds of interview questions or collection
Therefore, I dev ...
Added by Gwayn on Wed, 05 Jan 2022 16:54:16 +0200
Container resource constraints for Kubernetes(k8s)
Implementation of resource constraints
Kubernetes' restriction on resources is actually controlled by cgroup, which is a set of related attributes of the container used to control how the kernel runs the process. There are corresponding cgroups for memory, CPU and various devices.
By default, Pod runs without CPU and memory limits. This m ...
Added by robin01 on Mon, 03 Jan 2022 10:48:46 +0200
JMeter usage problem: store interface return variables as csv files
When JMeter is used for interface testing, there are tests of multiple threads and interfaces in the whole jmx test plan. However, interfaces can be classified, such as business interface, query interface, update interface, etc.
Considering that the automatic interface test is generally one-time and has a complete closed-loop link, the genera ...
Added by CNibbana on Sun, 02 Jan 2022 20:44:14 +0200
ApacheBench (ab) is used for interface pressure test and parameter result analysis under Windows environment
1, Purpose and content of this paper
The main content of this paper is to build and use ab for interface pressure test and data analysis under windows environment for the first time
2, What is ab?
Apache bench is a web stress testing tool provided with Apache server, abbreviated as ab. AB itself is a command-line tool with low local req ...
Added by andyg2 on Fri, 03 Dec 2021 09:14:18 +0200
Automatic testing of interface based on python
This article comes from the author: Sun Yanhui Share on GitChat, "read the original" to see what questions you have communicated with the author
1, Introduction
Starting with a simple login interface test, this paper adjusts and optimizes the interface call posture step by step;
Then the main points of the interface testin ...
Added by JoeyT2007 on Thu, 25 Nov 2021 21:37:00 +0200