You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow a minimal "echo" step without url, operation and assertions #800
A step with an empty url and operation makes no call. It returns its request as the response. Scenarios use it to hold values for later steps, e.g. ${$.signup.request.role}. Today the step only works if url, operation and assertions are all written out, even though they are empty:
Checked on master (with a throwaway scenario run by TestOnlyZeroCodeUnitRunner):
Something like this is the current behaviour:
Step written as
Result
url: "", operation: "", assertions: {}
OK
operation left out (url: "", assertions: {})
OK
url left out
Fails with NullPointerException
assertions left out
Fails the assertion
Proposal
1. A step without url is an echo step (same as "vars" step above)
operation can already be left out, so nothing changes there.
2. An echo step without assertions has no assertions
If an echo step has no assertions (and no validators/verify), it passes without comparing anything, as "assertions": {} does today.
3. Behaviour
Backwards compatible. Steps that already have "url": "", "operation": "" and "assertions": {} behave the same.
Steps that make a call are unchanged. Leaving out assertions on an HTTP, Java or Kafka step still fails as it does today. Whether that should change is a separate question (see "Open question").
Tests
Make sure backward compatibility is maintained.
Docs
Document the echo step (no url = no call, response = request) with the short form above.
Mention that operation and assertions can be left out for it.
Activity
authorjapps commentedon Oct 24, 2026
Thanks anyingiit