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
Is there a way to template requests in the bru file? I'm thinking of having a master request to a specific endpoint, then creating tests from that template so that I don't have to keep recreating the same request (with different parameters/body).
Runscope has something similar to this idea they call "subtests".
Maybe something like using the double curly brace notation in the bru file for each section?
For example:
meta: {
{{../example.bru.meta}}
}
put {
{{../example.bru.put}}
}
...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to template requests in the bru file? I'm thinking of having a master request to a specific endpoint, then creating tests from that template so that I don't have to keep recreating the same request (with different parameters/body).
Runscope has something similar to this idea they call "subtests".
Maybe something like using the double curly brace notation in the bru file for each section?
For example:
meta: {
{{../example.bru.meta}}
}
put {
{{../example.bru.put}}
}
...
Beta Was this translation helpful? Give feedback.
All reactions