Back ||
  • Product
  • |Oct 30, 2025

Hoppscotch v2025.10.0: API Mock Servers, Chai.js-based Assertions in Scripts and more

Liyas Thomas
Liyas Thomas
v2025.10.0

We're excited to announce Hoppscotch v2025.10.0, featuring API Mock Servers for simulating API responses, Chai.js-based assertions with Postman compatibility layer in scripts, redirect control in Agent, enhanced authentication flows, and numerous improvements to make your API development workflow even more efficient.


API Mock Servers

Introducing API Mock Servers - a powerful new feature that allows you to simulate API responses without needing a backend. Create mock endpoints with custom responses, status codes, and headers to test your applications independently. Perfect for frontend development, testing edge cases, and developing against APIs that are still in progress.

API Mock Servers

Mock servers support dynamic responses with unique names and duplicate prevention, allowing you to create realistic scenarios and simulate various API behaviors. They work seamlessly with both modern and legacy collections, with private access hints to help you understand visibility settings. Whether you're working on a new feature or need to test error handling, mock servers give you complete control over API responses.


Chai.js-based Assertions with Postman Compatibility

We've integrated the Chai.js assertion library into our scripting environment with a Postman compatibility layer, making it easier than ever to migrate your existing test scripts. Use familiar Chai syntax to validate responses, check data structures, and ensure your APIs behave as expected - all while maintaining compatibility with Postman script patterns.

Chai.js-based Assertions

With support for BDD-style assertions (expect/should) and TDD-style assertions (assert), you can write more readable and maintainable test scripts. Chain assertions together for comprehensive validation of API responses, including deep equality checks, type validation, and more. The enhanced scripting sandbox now preserves file uploads and provides improved value handling and serialization for more reliable test execution.


Agent: Control Redirect Follow

The Hoppscotch Agent now supports redirect control, giving you fine-grained control over how HTTP redirects are handled during request execution. This feature is essential for testing redirect flows, debugging authentication sequences, and understanding how your APIs handle various redirect scenarios.


Enhanced Authentication and Security

This release brings significant improvements to authentication handling. We've implemented automatic token refresh flows that detect when your authentication tokens expire and seamlessly refresh them, ensuring uninterrupted API testing sessions. Additionally, we've added missing token checks to the request save workflow for better security validation.

Enhanced Authentication

OAuth improvements include better preservation of PKCE and client secrets during Postman collection imports, and you can now configure custom session cookie names for enhanced flexibility in enterprise environments. We've also implemented important security patches across the dependency chain and prevented log injection vulnerabilities.


Improved Developer Experience

We've enhanced the overall developer experience with several quality-of-life improvements. The environment variable system now includes improved fallback behavior, and we've added the $randomCompanyName predefined variable for generating test data. Team selector polling has been optimized to avoid rapid requests, resulting in better performance and reduced server load.


Infrastructure and Stability Improvements

Behind the scenes, we've made significant infrastructure improvements to enhance reliability and performance. The application now handles graceful shutdown and container stops properly, and we've resolved issues with infrastructure config resets by correctly resetting the onboarding state. Code quality improvements across the backend ensure better maintainability and fewer edge-case bugs.

We've also streamlined our CI/CD pipeline with platform jobs and improved Node.js version management, ensuring consistent builds and deployments across all environments.


What do you want us to build next? Write to us at hello@hoppscotch.io, join the conversation on our Discord server, or head over to our GitHub repository.