A/B test bundles on production to evaluate their performance.

Introduction

Deploying new code in production can slow down your site if not properly tested, making performance unpredictable. A/B test bundles is challenging when traffic is unevenly split, leading to skewed results.

Requestly helps by allowing you to test different bundles in production seamlessly, ensuring you can compare performance without impacting user experience.

A/B test on production

The Query Param Rule in Requestly allows you to adjust query parameters to route traffic to different versions for A/B testing. This helps you evaluate the performance of each bundle in a controlled environment, keeping your live production data unaffected.

A/B test
  • Options: You can add, remove, or modify a query parameter in a network request. The dropdown lets you pick whether you want to add a new parameter, modify an existing one,  remove one, or remove all.
  • Param Name: This is the name of the query parameter . In the example, the parameter is calledversion.
  • Source Condition: This is where you decide which requests to modify. In the example, any request that contains example.com in the URL will be affected.
  • Param Value: This is the new value you want to give the parameter. In the example,  Version is set to A , which means France.
  • Test URL Condition: You can check if the rules you’ve set up work correctly by testing them on specific URLs.
  • Filter Out Condition: You can apply filters to limit which requests are affected, making sure only the ones you want are modified.

Or create your own Rule by following the steps below

Here’s how to set up a Query Param Rule to A/B test bundles on production:

  1. Open Requestly:Open  Requestly app.
  2. Create a New Rule: Click on New Rule and select Query Param Rule.
  3. Enter the URL Pattern: Specify the URL pattern.
  4. Set Query Parameters for Testing: Add or modify query parameters to direct traffic to the different bundle versions. 
  5. Save the Rule: Click Save to create the rule.

Interactive Guide

Check this interactive and easy explanation of how to create Query param.

Conclusion

Try this query param rule to A/B test and evaluate the performance, ensuring accurate results without impacting live data. Requestly is trusted by over 200k developers and 1000+ companies for its effective management of network requests.

Explore More:

Share this article:

Subscribe to our weekly newsletter !

Join 10k developers and QAs to get weekly updates with Requestly's newsletter.​

This article was written by:

Picture of Kanishk Rawat

Kanishk Rawat

Kanishk Rawat, a tech enthusiast since childhood, has mastered programming through dedication. Whether solo or in a team, he thrives on challenges, crafting innovative solutions .

Join 10k developers and get weekly updates with Requestly's newsletter.

Contents