Chapter 4
Chapter 4
1. Test Automation
• Purpose: Automate repetitive tasks (e.g., regression testing) for faster feedback,
increased coverage, and accuracy.
• Key Tools:
o Unit Testing: JUnit (Java), PyUnit/Robot (Python).
o GUI Testing: Selenium (web), Cypress (E2E), TestComplete
(desktop/mobile).
o API Testing: Postman, REST Assured, SoapUI.
o Performance Testing: JMeter (open-source), LoadRunner (commercial),
K6.
• Components:
o Test Runner: Executes tests and generates reports.
o Test Libraries: Reusable functions for application interaction.
o Test Data Management: Separates data from scripts for flexibility.
• Key Features:
o Scalability, cross-platform testing, parallel execution, and integration with
CI/CD.
4. Performance Testing
5. Security Testing
• Tools: OWASP ZAP, Burp Suite, SQLMap.
• Penetration Testing Phases:
1. Reconnaissance → 2. Vulnerability Scanning → 3. Exploitation → 4.
Reporting.
• Types: Black Box (no prior knowledge), White Box (full knowledge), Gray Box.
• Tools:
o Generation: Mockaroo/Faker (synthetic data).
o Masking: Delphix (protects sensitive data).
o Validation: QuerySurge (ensures data accuracy).
7. Containerized Environments