HTTP assertion editor

An HTTP assertion verifies basic HTTP-URL request specific information. HTTP Assertions are available for both HTTP Teststep and SOAP Teststep.

HTTP assertion editor

Assertion value

Currently, there are three different data, that can be assessed:

  • Status (HTTP Status)
  • Data length (Binary data length)
  • Response time (measured in ms)

Assertion test type

The assertion test type depends on the value type being assessed. For HTTP assertions these are integer values, so the assertion test type provides a set of options that make sense for integers.

  • is equal to (single expected value)
  • is smaller than (single expected value)
  • is greater than (single expected value)
  • is between ... and ...
  • is not between ... and ...
  • is in List

Expected value

The expected value depends on the assertion test type and is either:

  • single expected value
  • a lower range limit and an upper range limit
  • a list of values

Run assertion

Run assesses the current response data against the assertion test type, the expected value and the actual value. The actual HTTP values are kept in memory, so you can rerun a test as often as you want and change it.