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
Sometimes there are some hooks that I would like to run for every request on the stream (for example, for include certain common header).
Currently there is no way to do this. At first instance I though that beforeMain was for that, but this is a mistake from my side ,probably because the total absence of a clear usage example of beforeMain. BeforeMain should be a list of REST request, probably for getting some cookie or something like that.
Would it be possible to impelemnt a beforeHooks configurable at flow level insted of just request?
Thanks and regards
The text was updated successfully, but these errors were encountered:
Sorry for the delay in getting back to you. Yes it would be possible, maybe we'd add a beforeEach and afterEach hooks that would run immediately before and after each request.
Hello,
Sometimes there are some hooks that I would like to run for every request on the stream (for example, for include certain common header).
Currently there is no way to do this. At first instance I though that
beforeMain
was for that, but this is a mistake from my side ,probably because the total absence of a clear usage example ofbeforeMain
. BeforeMain should be a list of REST request, probably for getting some cookie or something like that.Would it be possible to impelemnt a beforeHooks configurable at flow level insted of just request?
Thanks and regards
The text was updated successfully, but these errors were encountered: