Overview

This document serves as a reference to the existing Pre-request Scripts file, which provides comprehensive information on pre-request scripts used in API Suite Execution.

Relevance to ISO Requests

Pre-request scripts are essential for ISO requests as they allow the retrieval of data from previously executed requests and update the current request's body accordingly.

For detailed methods and examples, please refer to the original Pre-request Scripts for Suite Execution document.

Key Points for ISO Requests

  • Use fieldId instead of path within the getBody() and setBody() functions to update the request body for ISO requests.
  • Ensure that the requests do not have the same label within a collection.

By utilizing the information in the referenced document, you can effectively implement pre-request scripts for ISO requests, enhancing your API testing and development processes.