This guide provides detailed instructions on how to use Requestly Interceptor for mocking API requests to ensure reliable development workflows.Mocking will be accomplished using the Modify Response rule, which allows overriding the response of an API.
This feature is available only on the Desktop App.
Recording traffic
Connect an App: Launch a new app or connect an existing app with Requestly Interceptor to start intercepting network traffic. Learn more here.
Capture Network Traffic: Perform actions in your app to generate network traffic. Monitor and review this traffic within Requestly Interceptor.
Save and Navigate to the Captured Session: Once all desired requests are captured, save this data as a session and proceed to the session details.
Creating Mocks
Create Mocks from the Session: Click on ‘Create Mocks from this Session’ button. Then, select the type of APIs you want to mock.
For REST APIs: Filter and select the requests you wish to mock.
For GraphQL APIs: Apply a Payload Filter to find specific requests containing the desired key. Then, filter and select the requests you wish to mock.
Specify Matching Conditions to Create Rules: Define the rules for mocking by choosing matching conditions such as matching the entire URL, only the path, or both path and query parameters. Review the created rules in the rules index.
Testing the Mocks
Navigate to the Traffic Interceptor: Use the sidebar to access the traffic interceptor section and reconnect your app.
Retrace your flow to Test Mocks: Retrace the actions in your app to test the behaviour of the mocked requests. Look for highlighted requests in the logs, which indicate modifications by the mocking rules.
Review and Edit Rules: Click on the applied rules icon on any modified request to view or edit the rule definitions directly.
This process ensures a consistent development environment, as the APIs always return the expected responses and thus you gain independence from the current status of the API/service.
The current system can’t handle the large volume of rules created in bulk, which in certain cases prevents users from creating multiple mocks when many mocks already exist. This is a technical debt, and we are working on a fix for upcoming releases. If you encounter this issue, you can use this workaround to continue testing.
We recommend backing up your rules in advance. To do this, select all your rules and click on the “Share Rules” button. Then, choose the option to download the rules to obtain a local copy.A simpler way could be to delete the rules that you no longer need. If you are still not able to create mocks, please turn off syncing in the Global Settings.Disabling syncing will allow you to create as many rules as you need. However, be aware that your rules will be local and not synced across your devices.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Requestly HTTP Interceptor","description":"Inspect, modify, mock \u0026 debug HTTP requests with Requestly's HTTP Interceptor — proxy-grade interception for browsers, desktop apps, mobile devices, and terminals.","colors":{"primary":"#2563eb","light":"#3b82f6","dark":"#1d4ed8"},"logo":{"light":"https://mintcdn.com/interceptor/fhZRboFseopn8ocm/images/logo-light.webp?fit=max\u0026auto=format\u0026n=fhZRboFseopn8ocm\u0026q=85\u0026s=f0fa5759c6065f7c53a6eb9829cf5004","dark":"https://mintcdn.com/interceptor/fhZRboFseopn8ocm/images/logo-dark.webp?fit=max\u0026auto=format\u0026n=fhZRboFseopn8ocm\u0026q=85\u0026s=91f987e18a77910069ee987bdbfc5d08","href":"https://interceptor-docs.requestly.com"},"favicon":"https://mintcdn.com/interceptor/XXK0nJZwW3sklrNQ/images/favicon.webp?fit=max\u0026auto=format\u0026n=XXK0nJZwW3sklrNQ\u0026q=85\u0026s=d9e4c6f14d3fcb63f7952f3134e40299","navbar":{"primary":{"type":"button","label":"Download","href":"https://requestly.com/downloads"}},"footer":{"socials":{"x":"https://x.com/requestlyio","linkedin":"https://linkedin.com/company/requestly","github":"https://github.com/requestly/requestly","youtube":"https://youtube.com/@requestly"},"links":[{"header":"Product","items":[{"label":"API Client Docs","href":"https://docs.requestly.com"},{"label":"Features","href":"https://requestly.com"},{"label":"Pricing","href":"https://app.requestly.io/pricing"},{"label":"Desktop App","href":"https://requestly.com/desktop"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://requestly.com/blog"},{"label":"Support","href":"https://requestly.com/contact-us"},{"label":"Changelog","href":"https://docs.requestly.com/changelogs"},{"label":"GitHub","href":"https://github.com/requestly/requestly"}]},{"header":"Company","items":[{"label":"About","href":"https://www.browserstack.com/company"},{"label":"Privacy Policy","href":"https://requestly.com/privacy"},{"label":"Terms of Service","href":"https://requestly.com/terms"}]}]},"search":{"prompt":"Search HTTP Interceptor docs..."},"seo":{"metatags":{"og:type":"documentation","og:site_name":"Requestly HTTP Interceptor Documentation","twitter:card":"summary_large_image","twitter:site":"@requestlyio"},"indexing":"navigable"},"integrations":{"amplitude":{"apiKey":"6d37003f0cdb1921422bc474c634c135"},"ga4":{"measurementId":"G-7FZEBFLWK0"},"telemetry":{"enabled":true}},"errors":{"404":{"redirect":true,"title":"Page Not Found","description":"The page you're looking for doesn't exist. Try searching or browse our documentation sections."}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"interceptor","hasAudioNarration":false,"actualSubdomain":"interceptor","customDomains":["interceptor-docs.requestly.com"],"gitSource":{"type":"github","owner":"requestly","repo":"requestly","deployBranch":"master","contentDirectory":"documentation","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae957a56532f6ede4ea8fd2:success","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"HTTP Interceptor","count":110},{"language":"default","tag":"HTTP Rules","count":34},{"language":"default","tag":"Debugging \u0026 Interception","count":26},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Modify Requests \u0026 Responses","count":13},{"language":"default","tag":"Troubleshoot","count":13},{"language":"default","tag":"Mock APIs \u0026 Responses","count":12},{"language":"default","tag":"Advanced Traffic Rules","count":12},{"language":"default","tag":"File Server","count":9},{"language":"default","tag":"Public APIs","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/record-and-mock-flaky-apis-in-bulk","slug":"/guides/record-and-mock-flaky-apis-in-bulk","pageMetadata":{"title":"Record and Mock Flaky APIs in bulk","label":"Record and Mock Flaky APIs in bulk","slug":"record-and-mock-flaky-apis-in-bulk","description":null,"visibility":"PUBLIC","href":"/guides/record-and-mock-flaky-apis-in-bulk"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This guide provides detailed instructions on how to use Requestly Interceptor for mocking API requests to ensure reliable development workflows.`}),`\n`,_jsxs(_components.p,{children:[`Mocking will be accomplished using the `,_jsx(_components.a,{href:`/http-rules/rule-types/modify-response-body`,children:`Modify Response rule`}),`, which allows overriding the response of an API.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This feature is available only on the `,_jsx(_components.a,{href:`https://requestly.com/desktop/`,children:`Desktop App`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`recording-traffic`,children:_jsx(_components.strong,{children:`Recording traffic`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Connect an App`}),`: Launch a new app or connect an existing app with Requestly Interceptor to start intercepting network traffic. Learn more `,_jsx(_components.a,{href:`/interceptor/overview`,children:`here`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Capture Network Traffic`}),`: Perform actions in your app to generate network traffic. Monitor and review this traffic within Requestly Interceptor.`]}),`\n`,_jsx(OptimizedImage,{src:`https://imagedelivery.net/IEMzXmjRvW0g933AN5ejrA/wwwnotionso-image-prod-files-secures3us-west-2amazonawscom-8e04dd23-74cd-4c44-8158-4238eac359d1-3f8ba3e4-3838-4b58-aecc-dda167111336-beadf9c4-20d3-44b2-94e2-a6bfe1b9d218png/public`,alt:``,align:`left`,fullwidth:`false`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Save and Navigate to the Captured Session`}),`: Once all desired requests are captured, save this data as a session and proceed to the session details.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`creating-mocks`,children:_jsx(_components.strong,{children:`Creating Mocks`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Create Mocks from the Session`}),`: Click on ‘Create Mocks from this Session’ button. Then, select the type of APIs you want to mock.`]}),`\n`,_jsx(OptimizedImage,{src:`https://imagedelivery.net/IEMzXmjRvW0g933AN5ejrA/wwwnotionso-image-prod-files-secures3us-west-2amazonawscom-8e04dd23-74cd-4c44-8158-4238eac359d1-44591711-c6ec-4bdc-bb75-9b4751858d7d-2bf801ab-9c0d-4e5d-b9c9-65700b9f449bpng/public`,alt:``,align:`left`,fullwidth:`false`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`For REST APIs: Filter and select the requests you wish to mock.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`For GraphQL APIs: Apply a Payload Filter to find specific requests containing the desired key. Then, filter and select the requests you wish to mock.`}),`\n`,_jsx(OptimizedImage,{src:`https://imagedelivery.net/IEMzXmjRvW0g933AN5ejrA/wwwnotionso-image-prod-files-secures3us-west-2amazonawscom-8e04dd23-74cd-4c44-8158-4238eac359d1-f8012549-eb39-4245-937c-88afd187420d-54efdd26-d977-4aef-a880-78b70055e4dapng/public`,alt:``,align:`left`,fullwidth:`false`}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Specify Matching Conditions to Create Rules`}),`: Define the rules for mocking by choosing matching conditions such as matching the entire URL, only the path, or both path and query parameters. Review the created rules in the rules index.`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://imagedelivery.net/IEMzXmjRvW0g933AN5ejrA/wwwnotionso-image-prod-files-secures3us-west-2amazonawscom-8e04dd23-74cd-4c44-8158-4238eac359d1-b54eebf4-0bbb-4d21-a785-bc1762bd2f3a-03e764b0-d62c-4bd1-a5b4-8d55be9572ccpng/public`,alt:``,align:`left`,fullwidth:`false`}),`\n`,_jsx(Heading,{level:`3`,id:`testing-the-mocks`,children:_jsx(_components.strong,{children:`Testing the Mocks`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Navigate to the Traffic Interceptor`}),`: Use the sidebar to access the traffic interceptor section and reconnect your app.`]}),`\n`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retrace your flow to Test Mocks`}),`: Retrace the actions in your app to test the behaviour of the mocked requests. Look for highlighted requests in the logs, which indicate modifications by the mocking rules.`]}),`\n`,_jsx(OptimizedImage,{src:`https://imagedelivery.net/IEMzXmjRvW0g933AN5ejrA/wwwnotionso-image-prod-files-secures3us-west-2amazonawscom-8e04dd23-74cd-4c44-8158-4238eac359d1-599bf9bd-4f5f-4cfd-9c43-973d6d6f70dd-6c39490e-fca4-4487-9ad2-afc91eb9c999png/public`,alt:``,align:`left`,fullwidth:`false`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Review and Edit Rules`}),`: Click on the applied rules icon on any modified request to view or edit the rule definitions directly.`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This process ensures a consistent development environment, as the APIs always return the expected responses and thus you gain independence from the current status of the API/service.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The current system can’t handle the large volume of rules created in bulk, which in certain cases prevents users from creating multiple mocks when many mocks already exist. This is a technical debt, and we are working on a fix for upcoming releases. If you encounter this issue, you can use this workaround to continue testing.`})}),`\n`,_jsx(_components.p,{children:`We recommend backing up your rules in advance. To do this, select all your rules and click on the “Share Rules” button. Then, choose the option to download the rules to obtain a local copy.`}),`\n`,_jsxs(_components.p,{children:[`A simpler way could be to delete the rules that you no longer need. If you are still not able to create mocks, please turn off syncing in the `,_jsx(_components.a,{href:`https://app.requestly.io/settings/global-settings`,children:`Global Settings`}),`.`]}),`\n`,_jsx(_components.p,{children:`Disabling syncing will allow you to create as many rules as you need. However, be aware that your rules will be local and not synced across your devices.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Record and Mock Flaky APIs in bulk","label":"Record and Mock Flaky APIs in bulk","slug":"record-and-mock-flaky-apis-in-bulk","description":null,"visibility":"PUBLIC","href":"/guides/record-and-mock-flaky-apis-in-bulk"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Recording traffic","slug":"recording-traffic","depth":3,"children":[]},{"title":"Creating Mocks","slug":"creating-mocks","depth":3,"children":[]},{"title":"Testing the Mocks","slug":"testing-the-mocks","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"interceptor","siteName":"Requestly HTTP Interceptor","title":"Record and Mock Flaky APIs in bulk - Requestly HTTP Interceptor","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-21T09:44:29.109Z","originalFileLocation":"guides/record-and-mock-flaky-apis-in-bulk.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Requestly HTTP Interceptor\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Record and Mock Flaky APIs in bulk - Requestly HTTP Interceptor\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Requestly HTTP Interceptor Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://interceptor.mintlify.site/_mintlify/api/og/v2?division=Traffic+Modification+%26+Mocking\u0026amp;title=Record+and+Mock+Flaky+APIs+in+bulk\u0026amp;theme=92108c0d21e80a3c6f9d590f\u0026amp;signature=a0b992ce611bff3d415649c85b8dd859d74fbe895cabbd927cf2be54a9db8f31\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Record and Mock Flaky APIs in bulk - Requestly HTTP Interceptor\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://interceptor.mintlify.site/_mintlify/api/og/v2?division=Traffic+Modification+%26+Mocking\u0026amp;title=Record+and+Mock+Flaky+APIs+in+bulk\u0026amp;theme=92108c0d21e80a3c6f9d590f\u0026amp;signature=a0b992ce611bff3d415649c85b8dd859d74fbe895cabbd927cf2be54a9db8f31\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/interceptor/p9dGTtMpZYhn8nu0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Requestly HTTP Interceptor\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563eb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/record-and-mock-flaky-apis-in-bulk.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://interceptor-docs.requestly.com/#organization\",\"name\":\"Requestly HTTP Interceptor\",\"url\":\"https://interceptor-docs.requestly.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/interceptor/fhZRboFseopn8ocm/images/logo-light.webp?fit=max\u0026auto=format\u0026n=fhZRboFseopn8ocm\u0026q=85\u0026s=f0fa5759c6065f7c53a6eb9829cf5004\"}},{\"@type\":\"WebSite\",\"@id\":\"https://interceptor-docs.requestly.com#website\",\"name\":\"Requestly HTTP Interceptor\",\"url\":\"https://interceptor-docs.requestly.com\",\"publisher\":{\"@id\":\"https://interceptor-docs.requestly.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk#webpage\",\"url\":\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk\",\"name\":\"Record and Mock Flaky APIs in bulk\",\"dateModified\":\"2026-05-21T09:44:29.109Z\",\"isPartOf\":{\"@id\":\"https://interceptor-docs.requestly.com#website\"},\"breadcrumb\":{\"@id\":\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://interceptor-docs.requestly.com/guides/community-content/using-collection-runner-in-requestly\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Record and Mock Flaky APIs in bulk\",\"item\":\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk#article\",\"headline\":\"Record and Mock Flaky APIs in bulk\",\"name\":\"Record and Mock Flaky APIs in bulk\",\"url\":\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk\",\"mainEntityOfPage\":{\"@id\":\"https://interceptor-docs.requestly.com/guides/record-and-mock-flaky-apis-in-bulk#webpage\"},\"dateModified\":\"2026-05-21T09:44:29.109Z\",\"publisher\":{\"@id\":\"https://interceptor-docs.requestly.com/#organization\"},\"isPartOf\":{\"@id\":\"https://interceptor-docs.requestly.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Requestly HTTP Interceptor\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Requestly HTTP Interceptor\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/record-and-mock-flaky-apis-in-bulk.md","siteName":"Requestly HTTP Interceptor","nav":{"global":null,"tabs":[{"tab":"HTTP Interceptor","icon":"globe","groups":[{"group":"Getting Started","pages":[{"title":"Overview","href":"/getting-started/overview"},{"title":"Download Requestly Interceptor","href":"/getting-started/downloads"},{"title":"Browser Extension Setup","href":"/getting-started/quick-start-guide/browser-extension-setup"},{"title":"Desktop App Setup","href":"/getting-started/quick-start-guide/desktop-app-setup"},{"title":"Desktop App vs Browser Extension","href":"/getting-started/difference-between-desktop-app-and-browser-extension"}]},{"group":"Debugging \u0026 Interception","pages":[{"title":"Overview","href":"/interceptor/overview"},{"group":"Capture Traffic","pages":[{"title":"Browser Extension ","href":"/interceptor/browser-extension"},{"title":"Browser Interception","href":"/interceptor/browser-extension/browser-interception"},{"title":"Desktop App","href":"/interceptor/desktop-app"},{"title":"Browser Interception","href":"/interceptor/desktop-app/browser-interception"},{"title":"System Wide Proxy","href":"/interceptor/desktop-app/desktop-app-interception"},{"title":"Network Table","href":"/interceptor/desktop-app/network-table"},{"title":"Saving Logs to local file ","href":"/interceptor/desktop-app/saving-logs-to-local-file"}]},{"group":"Intercept Different Devices \u0026 Runtimes","pages":[{"title":"Android Devices Interception","href":"/interceptor/desktop-app/android-devices"},{"title":"Android Simulator Interception","href":"/interceptor/desktop-app/android-simulator-interception"},{"title":"iOS Devices Interception","href":"/interceptor/desktop-app/ios-devices-interception"},{"title":"iOS Simulator Interception","href":"/interceptor/desktop-app/ios-simulator-interception"},{"title":"Node.js","href":"/interceptor/desktop-app/nodejs"},{"title":"Intercept Traffic from your terminal","href":"/interceptor/desktop-app/terminal"}]},{"group":"Record \u0026 Share Sessions","pages":[{"title":"Overview","href":"/sessions/overview"},{"title":"Record API Sessions","href":"/sessions/record-api-sessions"},{"title":"Record Bug Reports","href":"/sessions/record-bug-reports"},{"title":"Import \u0026 View HAR File","href":"/sessions/import-view-har-file"},{"title":"Access Control of Session","href":"/sessions/access-control-of-session"}]}]},{"group":"HTTP Rules","pages":[{"title":"Overview","href":"/http-rules/overview"},{"group":"Modify Requests \u0026 Responses","pages":[{"title":"HTTP Rules","href":"/http-rules/rule-types"},{"title":"Redirect Request","href":"/http-rules/rule-types/redirect-rule"},{"title":"Replace String Rule","href":"/http-rules/rule-types/replace-strings"},{"title":"Modify Headers","href":"/http-rules/rule-types/modify-headers"},{"title":"Modify Request Body","href":"/http-rules/rule-types/modify-request-body"},{"title":"Modify Query Params","href":"/http-rules/rule-types/modify-query-params"},{"title":"Modify User Agents","href":"/http-rules/rule-types/modify-user-agents"},{"title":"Delay Network Requests","href":"/http-rules/rule-types/delay-network-requests"},{"title":"Modify API Response","href":"/http-rules/rule-types/modify-response-body"},{"title":"Insert Scripts","href":"/http-rules/rule-types/insert-scripts"},{"title":"Cancel Request Rule","href":"/http-rules/rule-types/cancel-rule"},{"title":"Map Local","href":"/http-rules/rule-types/map-local"},{"title":"Map Remote","href":"/http-rules/rule-types/map-remote"}]},{"group":"Advanced Traffic Rules","pages":[{"title":"Advanced Usage","href":"/http-rules/advanced-usage"},{"title":"Grouping","href":"/http-rules/advanced-usage/grouping"},{"title":"Pinning Rules","href":"/http-rules/advanced-usage/pinning-rules"},{"title":"GraphQL Support","href":"/http-rules/advanced-usage/graphql-modify-request-response"},{"title":"Source Conditions","href":"/http-rules/advanced-usage/source-conditions"},{"title":"Test This Rule","href":"/http-rules/advanced-usage/test-rules"},{"title":"Shared State","href":"/http-rules/advanced-usage/shared-state"},{"title":"Pause/Resume Requestly Interceptor","href":"/http-rules/advanced-usage/pauseresume-requestly"},{"title":"Rules Status Syncing","href":"/http-rules/advanced-usage/rules-status-syncing"},{"title":"Advance Filters","href":"/http-rules/advanced-usage/advance-filters"},{"title":"Validate Rules Execution","href":"/http-rules/advanced-usage/validate-rules-execution"},{"title":"Multiple Conditions in a Single Rule in Requestly Interceptor","href":"/http-rules/advanced-usage/multiple-conditions-in-a-single-rule-in-requestly"}]},{"group":"Share \u0026 Import Rules","pages":[{"title":"Sharing","href":"/http-rules/sharing"},{"title":"Share in Workspace","href":"/http-rules/sharing/share-in-workspace"},{"title":"Shared List","href":"/http-rules/sharing/shared-list"},{"title":"Download Rules","href":"/http-rules/sharing/download-rules"},{"title":"Charles Proxy","href":"/imports/charles-proxy"},{"title":"Header Editor","href":"/imports/header-editor"},{"title":"Modheader","href":"/imports/modheader"},{"title":"Resource Override","href":"/imports/resource-override"}]}]},{"group":"Mock APIs \u0026 Responses","pages":[{"group":"Quick Mocking","pages":[{"title":"API Mocking","href":"/api-mocking/api-mocking"},{"title":"Create Cloud-based Mocks","href":"/api-mocking/create-cloud-based-mocks"},{"title":"Create Local API Mocks ","href":"/api-mocking/create-local-api-mocks"}]},{"group":"File Server","pages":[{"title":"Overview","href":"/mock-server/overview"},{"group":"Create Mocks","pages":[{"title":"Create","href":"/mock-server/create"},{"title":"Create JSON Files","href":"/mock-server/create/create-mock-api"},{"title":"Create JS/CSS Files","href":"/mock-server/create/create-new-mock-file"},{"title":"Use File Collection","href":"/mock-server/create/mock-collection"}]},{"title":"Test File Server","href":"/mock-server/test"},{"title":"Pre-Configured Files","href":"/mock-server/pre-configured-mocks"},{"title":"Templating in File server","href":"/mock-server/templating-in-mocks"},{"title":"Import and Export Files","href":"/mock-server/import-and-export-mocks"}]}]},{"group":"Guides","pages":[{"group":"API Testing \u0026 Automation","pages":[{"title":"Automating API Tests with Requestly Interceptor's Collection Runner","href":"/guides/community-content/using-collection-runner-in-requestly"},{"title":"Mastering Variables \u0026 Environments in Requestly Interceptor","description":"A comprehensive hands-on guide to using Variables and Environments in Requestly Interceptor's API Client for seamless multi-environment API testing and development.","href":"/guides/community-content/variables-and-environments-in-requestly"}]},{"group":"Traffic Modification \u0026 Mocking","pages":[{"title":"Record and Mock Flaky APIs in bulk","href":"/guides/record-and-mock-flaky-apis-in-bulk"},{"title":"How to Modify Cookies Using Requestly Interceptor","description":null,"href":"/guides/how-to-modify-cookies-using-requestly"},{"title":"Modify HTTP Headers in Web Automation Using Requestly Interceptor","href":"/guides/modify-http-headers-in-web-automation-using-requestly"},{"title":"How to Modify HTML Document using Modify API Response Rule","href":"/guides/modify-html-document-using-modify-api-response-rule"},{"title":"Use Shared State to Aggregate Data Across Rules","href":"/guides/how-to-use-shared-state-to-aggregate-data-and-use-across-requestly-rules"},{"title":"Modifying response asynchronously","href":"/guides/modifying-response-asynchronously"},{"title":"How to conditionally fail requests based on request counts","href":"/guides/how-to-conditionally-fail-requests-based-on-request-counts"},{"title":"Intercept \u0026 Modify Network Requests in Web Automation (Selenium, Playwright, etc.)","href":"/guides/intercepting-and-modifying-network-requests-in-web-automation-frameworks-like-selenium-and-playwright"}]},{"group":"Debugging \u0026 Interception","pages":[{"title":"How to avoid intercepting certain domains","href":"/guides/how-to-avoid-intercepting-certain-domains-on-the-desktop-app"},{"title":"How to Use Requestly Interceptor Extension in BrowserStack Live","href":"/guides/how-to-use-requestly-extension-in-browserstack-live"},{"title":"Requestly Interceptor Integration with BrowserStack App Live","href":"/guides/requestly-integration-browserstack-app-live"},{"title":"Disable Rule Application Status Widget","href":"/guides/disable-rule-application-status-widget"},{"title":"Disable Rules Syncing in Requestly Interceptor","href":"/guides/disable-rules-syncing"},{"title":"How to Log in to Requestly Interceptor with Your BrowserStack Account","href":"/guides/can-i-log-in-to-requestly-using-my-browserstack-account"},{"title":"Manually Update the Requestly Interceptor Chrome Extension","href":"/guides/how-to-update-requestly-extension-manually"}]},{"group":"Other","pages":[{"title":"Claim Your Requestly Interceptor GitHub Student Pack Benefit","href":"/guides/other/claim-your-requestly-github-student-pack-benefit"}]}]},{"group":"Public APIs","pages":[{"title":"Overview","href":"/public-apis/overview"},{"title":"Create A New Group","href":"/public-apis/create-group"},{"title":"Create Rule","href":"/public-apis/create-rule"},{"title":"Get Group","href":"/public-apis/get-group"},{"title":"Get Rule","href":"/public-apis/get-rule"},{"title":"Update A Specific Groups","href":"/public-apis/update-existing-groups"},{"title":"Update Rule","href":"/public-apis/update-rule"},{"title":"Delete Group","href":"/public-apis/delete-group"},{"title":"Delete Rule","href":"/public-apis/delete-rule"}]},{"group":"Troubleshoot","pages":[{"group":"Interception Setup","pages":[{"title":"Unable to intercept web traffic on browser, mobile, or emulator","href":"/troubleshoot/http-interceptor/unable-to-intercept-web-traffic-on-browser-mobile-or-emulator"},{"title":"Cannot Intercept Requests from Localhost","href":"/troubleshoot/http-interceptor/intercepting-requests-from-localhost"},{"title":"Troubleshooting: Untrusted SSL certificate","href":"/troubleshoot/http-interceptor/troubleshooting-untrusted-ssl-certificate"},{"title":"How to Install Requestly Interceptor CA Certificate in Windows Certificate Manager","href":"/troubleshoot/http-interceptor/install-certificate-windows"},{"title":"System Wide Proxy Not Working (macOS)","href":"/troubleshoot/http-interceptor/system-wide-proxy-not-working-macos"},{"title":"Troubleshooting Proxy Not Shown Issue (Windows)","href":"/troubleshoot/http-interceptor/troubleshooting-proxy-not-shown-windows"},{"title":"SSL Certificate Issues with Safari","href":"/troubleshoot/http-interceptor/troubleshooting-safari"},{"title":"Disable System Wide Proxy (MacOS)","href":"/troubleshoot/http-interceptor/disable-system-wide-proxy-macos"}]},{"group":"Rules \u0026 Traffic Modification","pages":[{"title":"Rules Not working","href":"/troubleshoot/http-rules/rules-not-working"},{"title":"Error on saving rule","href":"/troubleshoot/http-rules/error-on-saving-rule"},{"title":"Rule changes not reflecting in Chrome DevTools","href":"/troubleshoot/http-rules/rule-changes-not-reflecting-in-chrome-devtools"}]},{"group":"Account \u0026 Miscellaneous","pages":[{"title":"Troubleshooting login issues","href":"/troubleshoot/miscellaneous/troubleshooting-login-issues"},{"title":"How to Check Your Requestly Interceptor Version in the Browser","href":"/troubleshoot/miscellaneous/how-to-check-your-requestly-version-in-the-browser"}]}]}]},{"tab":"API Client","icon":"house","href":"https://docs.requestly.com"}]},"basePath":"","title":"Record and Mock Flaky APIs in bulk - Requestly HTTP Interceptor","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-B9O1U98p.js","lightbox-handle-r17bVUz3.js"]}