Skip to content

Conversation

@mustafa-sayyed
Copy link

  • I have added a detailed guide on Pre Script and Post Script and How to use scripts to automate API Testing

Copilot AI review requested due to automatic review settings December 28, 2025 10:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a comprehensive guide on automating API testing using Requestly's Pre-request and Post-response scripting features. The guide is aimed at developers who want to streamline repetitive API testing tasks through JavaScript-based automation.

Key changes:

  • Introduces scripting concepts and core API objects (rq, rq.request, rq.response, rq.test, rq.expect, rq.environment)
  • Provides practical examples for authentication token management, pagination, response validation, and NPM package integration
  • Includes code samples demonstrating real-world use cases

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 10 comments.

File Description
guides/community-content/automate-testing-via-scripts-in-requestly.mdx New documentation guide with examples and explanations of Pre-request and Post-response scripts
images/guide-pre-and-post-scripts/scripts.png Screenshot image showing the Requestly scripts interface

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant