Skip to content

Tell TimeTick which message you want to see during a step, and the values that matter. It compares them with the real messages and passes or fails the step.

For example: after Use RFID Card, expect Authorize with the status Accepted in the answer.

  1. Open a test, click the pencil and then a step.
  2. Under Step Expected Results, choose a message and save it.
  3. Click the message and turn on Request Payload or Response Payload. Fill in only the values you want to check; everything else is ignored.
  4. Save the message, the step and the test.

Authorize may be answered with one of several values.

Remote: steps already expect their own command, so you only add the details.

  • Several values are fine. List all of them for the field, for example Accepted and NotImplemented.
  • A field may be missing. Add absent to its values, or choose May be absent in the menu next to it.
  • Messages may come in any order. Drag one onto another to put them in one group.
  • An error is the right answer. Choose CallError, or Response or CallError if both are fine.

Two messages that may arrive in any order.

Turn on Use Strict Mode on a step when no other message is allowed while it runs.

Open the run and click the step. You see what you expected next to what arrived, with the difference marked.

The expected and the actual message side by side.