Extends
The dothttp extends is used in case of user wants to inherit request auth/headers from parent request. like oops, extendee can use base auth/headers(only auth and headers) and also override (if needed)
#
Extendable From Base- Auth defined in One request, and used everywhere else
- Headers defined in One request and used everywhere else
- Url join (contatinates base_url and target http url)
- Insecure (
@insecure
) - Clear (
@clear
) - Script (user always want to run default tests)
#
No hierarchyWe wanted dothttp to be simple and extendable. lets say, grandparent, parent, child with below relationships
child will not use grandparent's any features, it will use parent (better not go for this kind of hierarchy)