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. |