Salesgroup AI — Test Design, E2E & Load Testing
Formal test design, Playwright E2E automation, and JMeter load testing covering auth, checkout, and AI feature flows on the Salesgroup AI platform.

Formal test design, Playwright E2E automation, and JMeter load testing covering auth, checkout, and AI feature flows on the Salesgroup AI platform.

Problem
Salesgroup AI was preparing for a marketing push that would 5x daily traffic with no documented test coverage, no load ceiling, and active bot traffic hitting the staging environment. The platform needed a test design spec, automated functional coverage, and load validation before launch.
Approach
Wrote a formal test design document: scope, test types (functional, E2E, load, security), entry/exit criteria, and risk areas.
Built Playwright scripts covering the auth flow, onboarding wizard, AI feature interactions, and checkout path.
Designed JMeter test plan with stepped ramp from 100 to 500+ concurrent users across the auth and checkout endpoints.
Implemented reCAPTCHA v3 integration and WAF rule tuning to neutralise bot traffic.
Added Response Assertions for HTTP status and JSON Path assertions for business invariants.
Integrated JMeter and Playwright into Jenkins and GitHub Actions for continuous testing feedback.
Results
Code
Playwright E2E test covering auth flow and AI feature interaction.
import { test, expect } from '@playwright/test';
test('auth and AI feature flow', async ({ page }) => {
await page.goto('/login');
await page.fill('[name=email]', process.env.TEST_EMAIL!);
await page.fill('[name=password]', process.env.TEST_PASSWORD!);
await page.click('[type=submit]');
await expect(page).toHaveURL('/dashboard');
await page.click('[data-testid=ai-feature]');
await expect(page.locator('[data-testid=ai-response]')).toBeVisible();
});Stack
Why it matters