1. 系统测试:
在系统测试中,集成测试通过的组件被作为输入。集成测试的目标是检测集成在一起的单元之间的任何不规则性。系统测试检测集成单元和整个系统中的缺陷。系统测试的结果是对组件或系统进行测试时观察到的行为。
系统测试是在系统需求规范或功能需求规范的上下文中或在两者的上下文中对整个系统进行的。系统测试测试系统的设计和行为以及客户的期望。执行它是为了测试超出软件需求规范 (SRS) 中提到的范围的系统。
这些是在系统测试中完成的以下过程:
- 测试环境设置
- 创建测试用例
- 创建测试数据
- 执行测试用例
- 缺陷报告
- 回归测试
- 记录缺陷
- 复试
2. 压力测试:
压力测试是一种软件测试技术,通过测试超出正常操作的限制来确定软件的健壮性。压力测试对于关键软件尤其重要,但可用于所有类型的软件。压力测试强调重负载下的健壮性、可用性和错误处理,而不是正常情况下的正确行为。
压力测试被定义为一种验证系统稳定性和可靠性的软件测试。该测试特别确定了系统在极重负载条件下的鲁棒性和错误处理能力。它甚至会在正常工作点之外进行测试,并分析系统在极端条件下的工作方式。执行压力测试以确保系统不会在紧缩情况下崩溃。压力测试也称为耐力测试或酷刑测试。
这些是在压力测试中完成的以下过程:
- 计划压力测试
- 创建自动化脚本
- 脚本执行
- 结果分析
- 调整和优化
系统测试和压力测试的区别:
System Testing |
Stress Testing |
System Testing is performed to test functional as well as non-functional tests. | Stress Testing is performed to test the robustness of the system or software application under extreme load. |
System Testing is performed to understand the internal structure and programming language. | Stress testing is performed to find the behavior of the system under pressure. |
System testing covers functional as well as non-functional tests. | The factor tested during stress testing is robustness and stability. |
System Testing is of four types : Performance testing, load testing, stress testing, scalability testing. | Stress Testing is a type of System testing. |
In System Testing it is created to imitate real life scenarios. | In stress testing load limit is above the threshold of a break. |
System Testing is done in 8 processes. | Stress Testing is done in 5 processes. |
System Testing is also known as black-box testing. | Stress testing is also known as Endurance Testing or Torture Testing. |