Skip to main content
The Log step lets you validate what happens behind the scenes during a test run. Instead of checking what the user sees on screen (that’s what Verify does), Log steps assert against network requests and browser console output — giving you visibility into API calls, error messages, and other under-the-hood behavior.
Log steps work in web tests and in native iOS and Android tests. On native tests, Spur captures console logs on iOS only. By default, Spur records only DNS lookups and connections for native runs, so a Log step can’t check a request’s path, method, status code, or body. To assert on request details in a native test, contact Spur to change how your app’s network traffic is captured.
You describe what you expect in plain language, and the Spur agent searches through the captured data to verify your assertion. It returns the matching evidence — the endpoint, a data snippet, and timestamp — so you can see exactly what it found.

How to add a log step

1

Type /log

In the step editor, type /log followed by a space to insert a Log step. You can also type / and select Log from the step type menu.

Select Log from the / menu to insert a Log step

2

Write your assertion

After the Log prefix, describe what you want to validate in plain language. The Spur agent reads the actual network and console data captured during the run and evaluates your assertion.

Write a natural-language assertion about network or console behavior

3

Run and view results

Execute the test. The Log step result shows whether your assertion passed or failed, along with the evidence the agent used to make its determination.

The Log step result shows pass/fail and supporting evidence

For use cases, available data, viewing logs in test results, best practices, limitations, and troubleshooting, see the full Network & Console Monitoring guide.