📖 2413MJET306B • Unit IV • 7 Hrs

Unit IV - System and Acceptance testing

Comprehensive University Exam Preparation Notes, Model Question Answers & Comparison Matrices

🔍
📑 Quick Jump Navigation

📌 Syllabus Topics Covered

7 Hrs Weightage

📖 Comprehensive Theoretical Notes

Exam-Oriented Theory

4.1 & 4.2 System Testing & Acceptance Testing (Alpha / Beta)

System Testing: Black-box testing of the complete, fully integrated software system to evaluate compliance with specified end-to-end requirements. Includes Functional System Testing (business features, workflows) and Non-Functional System Testing (performance, security, usability).

Acceptance Testing Levels:

  • Alpha Testing: Conducted at the developer's site by internal staff or trusted clients in a controlled lab environment before general release.
  • Beta Testing (Field Testing): Conducted at real end-user locations in un-controlled real-world operational environments across diverse hardware configurations.
  • User Acceptance Testing (UAT): Business clients test against business contracts before final payment sign-off.
  • Operational Acceptance Testing (OAT): Evaluates backup/restore, disaster recovery, and maintenance procedures.

4.3 Performance Testing & 4.4 Regression Testing

Performance Testing Dimensions:

  • Load Testing: Tests system behavior under expected normal and peak user loads (e.g., 5,000 concurrent users).
  • Stress Testing: Pushes system beyond extreme limits to evaluate graceful degradation and crash recovery.
  • Endurance / Soak Testing: Runs sustained load for long durations (24–72 hours) to detect memory leaks and resource exhaustion.
  • Spike Testing: Evaluates sudden dramatic traffic surges (e.g., Black Friday flash sales).

Regression Testing: Re-executing existing test suites after bug fixes or feature additions to ensure old working functionality has not broken. Types: Corrective, Progressive, Retest-All, and Selective Regression.

4.5 - 4.7 Ad-Hoc, Internationalization, Usability, and Accessibility Testing

Ad-Hoc & Exploratory Testing: Informal testing without formal test cases, using tester intuition and Monkey Testing (random inputs).

Internationalization (i18n) & Localization (l10n): Tests multi-language translation, Unicode UTF-8 character encoding, currency symbols ($ / ₹ / €), date/time formats (MM/DD vs DD/MM), and Right-to-Left (RTL) Arabic/Hebrew script rendering.

Usability & Accessibility (a11y) Testing: Evaluates user interface intuitiveness, learnability, and compliance with WCAG 2.1 guidelines (screen reader support, color contrast ratios, keyboard navigation for differently-abled users).

🔑 Key Concepts & Examination Keywords

Quick Terminology
System Testing
Testing the completely integrated application to verify compliance with specified system requirements.
Alpha vs Beta Testing
Alpha is performed at developer's site in controlled environment; Beta is performed by real users at their own sites.
Regression Testing
Re-testing unchanged software components to verify that code modifications have not introduced new unintended bugs.
WCAG 2.1
Web Content Accessibility Guidelines establishing global standards for making web systems accessible to users with disabilities.

🎯 High-Yield Important Examination Questions

8–10 Descriptive Points Each

Q1. Explain System Testing in detail, distinguishing between Functional and Non-Functional System Testing and comparing Alpha and Beta Acceptance Testing.

10 MarksSystem & Acceptance TestingCore
📝 Detailed Examination Answer (10-Point Model):
  1. Definition of System Testing: The highest level of black-box testing where the complete, fully integrated software product is validated against end-to-end business and technical requirements.
  2. Functional System Testing Scope: Validates business workflows, user journeys, data calculations, boundary conditions, and cross-module transactions specified in the SRS.
  3. Non-Functional System Testing Scope: Evaluates operational quality attributes including Performance, Load capacity, Security vulnerabilities, Stress resilience, and Disaster Recovery.
  4. User Acceptance Testing (UAT) Goal: The final formal gate where business stakeholders verify that the software delivers the contractual business value before commercial rollout.
  5. Alpha Testing Environment & Conduct: Performed at the developer's site in a controlled laboratory environment by internal testers, product managers, or selected clients.
  6. Beta Testing Environment & Conduct: Performed by a wide audience of external end-users in their own real-world uncontrolled hardware and network environments.
  7. Defect Capture in Alpha vs Beta: Alpha testing allows immediate real-time debugging by on-site developers; Beta testing relies on automated telemetry logs and user feedback forms.
  8. Operational Acceptance Testing (OAT): Validates system administration procedures: automated failover, database backup/restore, security patching, and disaster recovery.
  9. Contract and Regulatory Acceptance: Ensures the system complies with government regulations (HIPAA, GDPR, PCI-DSS) and legal contractual agreements.
  10. Sign-off Milestone: Successful completion of Acceptance Testing leads to formal customer sign-off and commercial deployment into production.

Q2. Explain Performance Testing types: Load, Stress, Endurance (Soak), and Spike testing with performance metrics and tuning strategies.

10 MarksPerformance Testing
📝 Detailed Examination Answer (10-Point Model):
  1. Objective of Performance Testing: Determines system responsiveness, throughput, resource efficiency, and stability under specified workload conditions rather than finding functional bugs.
  2. Load Testing Mechanism: Simulates expected normal and peak user traffic (e.g., ramping up to 10,000 concurrent virtual users) to verify system satisfies SLA latency benchmarks.
  3. Stress Testing Mechanism: Applies extreme workloads beyond system breaking capacity to observe failure behavior and verify graceful degradation without data corruption.
  4. Endurance / Soak Testing Mechanism: Sustains a continuous moderate load over extended time periods (24 to 72 hours) to expose memory leaks, buffer overflows, and disk exhaustion.
  5. Spike Testing Mechanism: Introduces sudden, dramatic spikes in concurrent traffic (e.g., instant surge from 1,000 to 50,000 users) and measures stabilization time.
  6. Core Metric: Response Time / Latency: The round-trip duration from client request dispatch to complete response receipt (measured in milliseconds at 95th/99th percentiles).
  7. Core Metric: Throughput (TPS): The number of successful transactions processed per second by the server cluster under test.
  8. Core Metric: Resource Utilization: Monitors CPU usage percentage, RAM consumption, disk I/O wait times, and network bandwidth saturation.
  9. Testing Tools (JMeter / LoadRunner): Automated tools simulate thousands of headless virtual user threads generating distributed HTTP/REST traffic.
  10. Performance Bottleneck Tuning: Identifies slow SQL queries (requiring indexing), thread pool starvation, unoptimized database connection pools, and lack of Redis caching.

Q3. Describe Regression Testing strategies, Ad-Hoc testing, Internationalization (i18n) testing, and Web Accessibility (WCAG) testing.

10 MarksSpecialized Testing Types
📝 Detailed Examination Answer (10-Point Model):
  1. Need for Regression Testing: Code modifications, bug patches, and new feature additions can inadvertently break previously functioning software modules (regression defects).
  2. Retest-All vs Selective Regression: 'Retest-All' executes the entire test repository (expensive, time-consuming); 'Selective Regression' selects test cases impacted by modified code dependencies.
  3. Automated Regression Test Suites: Regression suites are automated using tools (Selenium, Playwright) and executed automatically in continuous integration (CI/CD) pipelines on every code commit.
  4. Ad-Hoc and Exploratory Testing: Unscripted, creative testing without formal test cases where skilled testers explore edge scenarios based on system understanding and intuition.
  5. Monkey Testing Concept: A subset of ad-hoc testing providing random, chaotic user inputs and touches to test system crash resilience and exception handling.
  6. Internationalization (i18n) Testing: Verifies that the software architecture supports global localization without engineering redesign (UTF-8 encoding, multi-byte Unicode strings).
  7. Localization (l10n) Testing: Validates region-specific translations, currency conversions ($ / ₹), date/time formats (DD/MM/YYYY vs MM/DD/YYYY), and cultural graphics.
  8. Right-to-Left (RTL) Layout Testing: Verifies that UI layouts mirror properly for RTL languages (Arabic, Hebrew, Persian) including menu orientations and text alignment.
  9. Accessibility Testing (a11y) & WCAG: Ensures applications are usable by persons with visual, auditory, cognitive, and motor disabilities per WCAG 2.1 standards.
  10. WCAG Testing Criteria: Validates screen reader accessibility (ARIA labels), keyboard-only navigation without mouse, minimum color contrast ratio (4.5:1), and resizable text fonts.

⚖️ Comprehensive Comparison & Difference Tables

8+ Comparison Criteria

📊 Alpha Testing vs Beta Testing

Comparison ParameterAlpha TestingBeta Testing (Field Testing)
Testing LocationConducted at the Developer's Organization site.Conducted at Real End-User external client locations.
Target TestersInternal QA testers, developers, and invited key stakeholders.Real end-users, public beta testers, and customer groups.
Environment ControlStrictly controlled virtual test laboratory environment.Uncontrolled, diverse real-world hardware, OS, and network setups.
Timing in LifecyclePerformed BEFORE Beta testing (first acceptance gate).Performed AFTER Alpha testing before final commercial release.
Security & PrivacyHigh confidentiality; internal proprietary pre-release build.Lower confidentiality; public or semi-public software build.
Defect ResolutionDevelopers are on-site to immediately reproduce and debug bugs.Defects collected via telemetry crash logs and feedback portals.
Testing FocusValidates core functionality, stability, and system integration.Validates usability, real-world compatibility, and customer satisfaction.
DurationTypically longer, structured execution cycles.Timeboxed public testing period (typically 2 to 6 weeks).

📊 Load Testing vs Stress Testing

Comparison ParameterLoad TestingStress Testing
Workload RangeTested within normal expected workloads up to peak designed capacity.Tested BEYOND peak design capacity up to system breaking point.
Primary GoalVerify system meets SLA response times and throughput under normal load.Evaluate system stability, failure behavior, and crash recovery mechanisms.
Breakdown ExpectationThe system is NOT expected to break or throw errors.The system IS expected to break; evaluates graceful degradation.
Resource UtilizationMonitors resource consumption within safe operating thresholds.Pushes CPU, Memory, and Disk to 100% saturation.
Key MetricAverage response latency and throughput (TPS) at peak capacity.Maximum breaking concurrency limit and recovery time (MTTR).
Data Integrity FocusValidates that transactions complete successfully under heavy usage.Ensures database is not corrupted when server process crashes.
Example ScenarioTesting e-commerce portal with 5,000 concurrent shopping users.Flooding portal with 50,000 users until web server threads exhaust.
Post-Test BehaviorSystem continues running smoothly.Tests whether system auto-recovers (self-healing) once stress load ceases.

⚡ Quick Pre-Exam Revision Summary

5-Minute Recap
💡 Core Takeaways & High-Yield Summary
  • System testing verifies the complete integrated application against functional and non-functional requirements.
  • Alpha testing is at developer's site (controlled); Beta testing is at user's site (real-world environment).
  • Performance testing types: Load (expected peak), Stress (breaking point), Endurance (memory leaks over time), Spike (sudden surge).
  • Regression testing verifies that bug fixes have not broken existing functionality.
  • Ad-hoc testing is unscripted intuitive testing; Monkey testing provides random chaotic inputs.
  • i18n handles multi-language/UTF-8/dates; WCAG 2.1 governs accessible UI for differently-abled users.