Ayodele AjimatiContact ↗
01 · QA & Testing← All projects

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.

GitHub repository ↗7 tools · 4 measured outcomes
Salesgroup AI — Test Design, E2E & Load Testing

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

  1. 01

    Wrote a formal test design document: scope, test types (functional, E2E, load, security), entry/exit criteria, and risk areas.

  2. 02

    Built Playwright scripts covering the auth flow, onboarding wizard, AI feature interactions, and checkout path.

  3. 03

    Designed JMeter test plan with stepped ramp from 100 to 500+ concurrent users across the auth and checkout endpoints.

  4. 04

    Implemented reCAPTCHA v3 integration and WAF rule tuning to neutralise bot traffic.

  5. 05

    Added Response Assertions for HTTP status and JSON Path assertions for business invariants.

  6. 06

    Integrated JMeter and Playwright into Jenkins and GitHub Actions for continuous testing feedback.

Results

Concurrent users sustained
500+
Bot attacks reduced
85%
p95 at peak load
742 ms
Bottlenecks caught pre-launch
2 (DB pool, webhook lag)

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

  • Playwright
  • Apache JMeter
  • Postman
  • Jenkins
  • GitHub Actions
  • WAF
  • reCAPTCHA v3

Why it matters

  • Test design spec written before a single test was automated — established scope and risk register.
  • 85% reduction in bot attacks through reCAPTCHA v3 and WAF tuning.
  • Platform currently in development — salesgroup.ai