Tests
Expected results
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.
Add one
Section titled “Add one”- Open a test, click the pencil and then a step.
- Under Step Expected Results, choose a message and save it.
- Click the message and turn on Request Payload or Response Payload. Fill in only the values you want to check; everything else is ignored.
- Save the message, the step and the test.

Remote: steps already expect their own command, so you only add the details.
When more than one answer is right
Section titled “When more than one answer is right”- Several values are fine. List all of them for the field, for example
AcceptedandNotImplemented. - 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.

Check everything
Section titled “Check everything”Turn on Use Strict Mode on a step when no other message is allowed while it runs.
Read the result
Section titled “Read the result”Open the run and click the step. You see what you expected next to what arrived, with the difference marked.
