Leanpub Header

Skip to main content

AI Performance Engineering

How Agentic AI is Transforming Load Testing

A builder's guide to AI-powered performance testing, from a multi-agent platform that turns 25 minutes of manual correlation into 75 seconds, written by the engineer who built it.

Minimum price

$19.00

$29.00

You pay

$29.00

Author earns

$23.20
$
You can also buy this book with 1 book credit. Get book credits with a Reader Membership or an Organization Membership for your team.
PDF
About

About

About the Book

AI Performance Engineering is a practical, honest account of what happens when you build AI agents to take on the hardest, most repetitive parts of load testing - correlation, script generation, QA validation, and self-healing.

It's written by someone who built the platform he's describing. That means the architecture is real, the tradeoffs are real, and the parts that still don't work are described as honestly as the parts that do.

Inside you'll find:

  • The three-layer correlation architecture (observe, decide, prove) and why combining them is the trap most systems fall into
  • A stopwatch time-motion study comparing manual and AI-assisted workflows
  • The story of five named agents — Carrie, Rupert, Suzy, Quinn, and George — and how they collaborate
  • The "God Mode" chapter: what happened when one agent got too autonomous
  • A build-vs-buy guide for teams who want to roll their own

Written for performance engineers by one, with 25 years of practice behind it and no illusions about how early we still are.

Share this book

Categories

Author

About the Author

David Campbell

David Campbell is one of the most experienced performance testing practitioners in the United Kingdom, with over 25 years of hands-on delivery across some of the country's most critical systems. What makes his profile unusual is its lineage. David began his career managing consultants from Mercury Interactive — the company that created LoadRunner, the tool that defined performance testing for two decades — and working alongside principal consultants from Starbase, the UK's leading specialist LoadRunner consultancy, who maintained the closest working relationship with Mercury of any firm in the country. He was trained and certified by Starbase, and later worked directly for Hewlett Packard during the period when HP owned LoadRunner. In an industry built on this tool, David learned his craft from the people who built it.

His path into performance testing was a deliberate choice. After graduating with a B.Sc. in Business Management from King's College London, David entered the industry as a certified Business Systems Analyst — a grounding in the link between technology and business that would shape his entire approach. He was being groomed for project management, and had the credentials for it. But when the opportunity arose to move into performance testing full time, he took it without hesitation. The tools were where his passion lay. He wanted to be inside the work — hand-crafting LoadRunner TCP/IP Winsock scripts, building client and server test harnesses from scratch — not managing it from a distance. He sharpened that craft through specialist consultancies including Mission Assurance and Testing and SQS, the largest specialist QA consultancy in Europe, whose rigorous methodology would inform everything he did thereafter.

Stand back and look at the client portfolio that followed. David founded and led the performance testing division at the Metropolitan Police Service for nearly seven years, delivering system improvements exceeding 200% and preventing multiple potential catastrophic service failures. He served as Head of Non-Functional Testing at HM Passport Office, leading a 16-person team through more than 50 engagements and establishing an NFT Centre of Excellence. He delivered as IBM's lead technical testing engineer at the DVLA, as Hewlett Packard's associate lead on the Ministry of Justice's UK Prison System, and as technical assurance lead on the FiReControl programme — the initiative to centralise and modernise England's entire fire rescue mobilisation capability. In the private sector, he tested Nationwide Building Society's Faster Payments platform, leading European merchant banks and insurers, Specsavers, and major retailers — in one case preventing hundreds of thousands of Euros in potential lost revenue by catching critical bottlenecks before peak trading. These are systems where failure makes the news.

Throughout this career, David built a reputation for taking on what others avoid — the “hot potato” roles, the complex challenges that nobody could fix, the failing programmes that needed rescuing. At Unisys, he resolved critical issues so quickly the client retained him for additional work. At Specsavers, he rescued a failing programme, with his SQS manager describing his offshore team leadership as “a lesson in how it should be done.” At FiReControl, the key supplier brought him back after his initial government engagement. His sixteen LinkedIn recommendations paint a consistent picture: technically exceptional, but with an unusual ability to communicate complexity clearly — someone with “the unique ability to think strategically balanced with the attention to detail to execute effectively.”

But David was never just a practitioner who used tools. He was always a builder who happened to work in testing. Even in his earliest roles, he was hand-crafting harnesses and custom scripts. At HMPO, that instinct became transformative: he designed a containerised testing framework that saved £100,000 per year and halved test preparation time, built an AI-driven ETL tool using NLP that automated weeks of manual work, and reduced AWS cloud resource usage by 90%. These were production-grade tools built under government security constraints, solving real problems for a live national service. That engineering capability, applied to 25 years of practitioner frustration, is what became LoadMagic. David is half French and bilingual in English and French.

Contents

Table of Contents

  • Foreword (free sample)
  • Chapter 1 — Performance Testing Fundamentals That AI Cannot Replace (free sample)
  • Chapter 2 — The Correlation Problem, Performance Testing's Oldest Enemy (free sample)
  • Chapter 3 — Why Correlation Needs Three Layers
  • Chapter 4 — From HAR Files to Performance Tests
  • Chapter 5 — Meet the Agents
  • Chapter 6 — The God Mode Story: From Advisor to Autonomous Agent
  • Chapter 7 — The Proof: Time, Motion, and Hard Numbers
  • Chapter 8 — Self-Healing Tests and the Quality Gate
  • Chapter 9 — AI Testing Options: Choosing the Right Approach
  • Chapter 10 — Building Your Own AI Testing Pipeline
  • Chapter 11 — The Future of AI Testing
  • Chapter 12 — Getting Started
  • Appendix A — Frequently Asked Questions
  • Appendix B — JMeter AI Options Quick Reference
  • Appendix C — Glossary
  • About the Author

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub