api-boltAPIBolt

Why expect()?

expect() is the most powerful API

It combines:

  • Status assertions
  • Body assertions
  • Headers assertions
  • Cookies assertions

You can test everything from a single interface.

Basic Usage

ts
// simple test
ab.expect("Status OK").toBe(200);

// get results
const results = ab.getResults();

Expect API Full Documentation

Select a category on the sidebar to view all supported matchers.