When interviewing testers, This is a good question: How do you define performance/load/stress testing? In many cases, people use them as the same terminologies that can be replaced by each other. However, the differences between them are quite large. This post is based on some of my own experiences. I wrote a simple comment on these three concepts. Of course, I also referred to some definitions in the test
Performance Testing(Or multi-user concurrent performance testing ),
Load Testing,
Strength Test,
Capacity TestIt is a few aspects of performance testing, but the concept is easy to confuse. The following describes several concepts.
Performance
The three concepts of load testing, stress test, and performance test are often confusing and difficult to distinguish, this leads to incorrect understanding and incorrect use. There have been a lot of discussions before. The famous ones should be classified as two blogs of grig Gheorghiu's:
Performance vs. load vs. Stress
This is a creation in
Article, where the information may have evolved or changed.
Golang unit testing, performance testing, performance monitoring technology
The go language provides powerful testing tools, with an example of a brief introduction
Go Test Unit Testing
This is a creation in
Article, where the information may have evolved or changed.
Golang unit testing, performance testing, performance monitoring technology
The go language provides powerful testing tools, with an example of a brief introduction
Go Test Unit Testing
Golang Unit Testing, performance testing, performance monitoring technology
The go language provides powerful testing tools, and the following example briefly describes the Go Test unit testing Go test-bench=. Performance test Go tool pprof Performance Monitor go Test unit
This is a creation in
Article, where the information may have evolved or changed.
This article is from the Golang core Development group Andrew Gerrand in the Google I/O 2014 theme Sharing "Testing techniques", that is, the use of Golang development will use the test technology (mainly for Unit test ), including the basic technology, advanced technology (concurr
This article is from the Golang core Development group Andrew Gerrand in the Google I/O 2014 theme Sharing "Testing techniques", that is, the use of Golang development will use the test technology (mainly for Unit test ), including the basic technology, advanced technology (concurrency test, mock/fake, competitive conditions test, concurrency test, internal/exte
This is a creation in
Article, where the information may have evolved or changed.
This article is from the Golang core Development group Andrew Gerrand in the Google I/O 2014 theme Sharing "Testing techniques", that is, the use of Golang development will use the test technology (mainly for Unit test ), including the basic technology, advanced technology (concurr
This is a creation in
Article, where the information may have evolved or changed.
This article is from the Golang core Development group Andrew Gerrand in the Google I/O 2014 theme Sharing "Testing techniques", that is, the use of Golang development using the test technology (mainly for unit testing), Including basic t
This is a creation in
Article, where the information may have evolved or changed.
Reprint Address: http://studygolang.com/articles/1889This article is from the Golang core Development group Andrew Gerrand in the Google I/O 2014 theme Sharing "Testing techniques", that is, the use of
This is a creation in
Article, where the information may have evolved or changed.
Golang Testing Technology
First, the basic testing technology
1. Test Go Code
Go language built-in test framework.
The built-in test framework provides test functionality through the testing package and go test commands.
The following is
coverage testing in the Golang
Golang provides a number of tool chains that can be used to facilitate unit testing, analyze performance bottlenecks, provide runtime information, and so on, all of which are useful.
Go test This tool people should use more, I used to do mostly for unit
Two confusing concepts:Load Testing: by gradually increasing the complexity of the system and testing its changes, we can see how much load the system can accept when the performance is met.
Stress Testing: by gradually increasing the complexity of the system and testing it
This is a creation in
Article, where the information may have evolved or changed.
Golang Home Unit test done well, since the need for "file name _test.go" can write unit test, and Go Test command is also very powerful, can only run a single test function, in Goland can click on the front of the Unit test function icon, But switching to Vscode requires you to do it yourself. Go Test main reference https://godoc.org/testinginput The output is consistent
would not change once it was loaded. However, in Golang such a multithreaded concurrency model, to support the hot load configuration, you can not let the configuration itself become a singleton, otherwise the module is accessing the singleton configuration content loaded into a new, the module will crash.
Therefore, the normal design idea for configuring hot loading is that the old module uses the old con
pageshttps://golang.google.cn/doc/articles/wiki/Format JSON to Web page:Https://github.com/tidwall/pretty the " " " nbsp;nbsp;nbsp;nbsp; " false string(pretty. Prettyoptions ([]byte(result), opt)Prevent HTML escapehttp://blog.xiayf.cn/2013/11/01/unescape-html-in-golang-html_template/Use template. HTML class encapsulation. To do load balance with Nginx:First configure/etc/nginx/nginx.conf:Worker_processe
Let's imagine the following scenarios. You are about to end six months of development for a complex Internet application or web service and are ready to deploy it. The development team carefully designed loosely coupled N-Layer Web applications. Starting from the first day of work, all elements necessary for scalable, stable, and high-performance applications have been fully built into the system architecture. The Quality Assurance team has thoroughly tested the system, solved most serious error
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.