Request Ordering in Dothttp
Dothttp incorporates a variety of keywords, and using them in the wrong order can lead to errors. To ensure error-free execution, it's essential to maintain a structured approach.
The recommended order for composing a Dothttp request is as follows:
- Import (Optional)
- Name (Optional)
- Flags (@insecure/@clear) (Optional)
- URL (Required)
- Basicauth/Digestauth (Optional)
- Certificates (Optional)
- URL Parameters (Optional)
- Payload (Optional)
- Test Scripts (Optional)
Please note that the order may evolve in the future, but we will make efforts to maintain compatibility with older versions to support existing implementations.
This structured order ensures a clear and consistent approach to creating Dothttp requests, reducing the likelihood of errors and enhancing the readability of your scripts.