Firefox ๋ธŒ๋ผ์šฐ์ € ๋ถ€๊ฐ€ ๊ธฐ๋Šฅ
  • ํ™•์žฅ ๊ธฐ๋Šฅ
  • ํ…Œ๋งˆ
    • Firefox์šฉ
    • ์‚ฌ์ „ ๋ฐ ์–ธ์–ด ํŒฉ
    • ๋‹ค๋ฅธ ๋ธŒ๋ผ์šฐ์ € ์‚ฌ์ดํŠธ
    • Android ๋ถ€๊ฐ€ ๊ธฐ๋Šฅ
๋กœ๊ทธ์ธ
Moq - Mock API Requests ๋ฏธ๋ฆฌ๋ณด๊ธฐ

Moq - Mock API Requests ์ œ์ž‘์ž: Pavel Shpakovich

Mock HTTP requests with custom responses, status codes, delays, and headers. Perfect for development, testing, and debugging.

0 (๋ฆฌ๋ทฐ 0๊ฐœ)0 (๋ฆฌ๋ทฐ 0๊ฐœ)
Firefox๋ฅผ ๋‹ค์šด๋กœ๋“œํ•˜๊ณ  ํ™•์žฅ ๊ธฐ๋Šฅ์„ ๋ฐ›์œผ์„ธ์š”
ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ

ํ™•์žฅ ๋ฉ”ํƒ€ ๋ฐ์ดํ„ฐ

์Šคํฌ๋ฆฐ์ƒท
์ •๋ณด
Moq - Powerful API Mocking for Chrome DevTools

Moq is a developer tool that intercepts and mocks HTTP requests directly in your browser, eliminating the need to modify backend code or wait for API changes during frontend development.

WHY INSTALL MOQ?

โœ“ Speed Up Development - Test different API responses instantly without backend changes or server restarts
โœ“ Isolated Testing - Work offline or test edge cases (errors, timeouts, specific data) that are hard to reproduce
โœ“ No Code Changes - Mock requests at the browser level without touching your application code
โœ“ Real Time Control - Enable/disable mocks on-the-fly, perfect for comparing real vs mocked responses

KEY FEATURES

โ†’ Client-Side Interception
Captures fetch() and XMLHttpRequest before they reach the network

โ†’ Full Response Control
Set custom status codes (200, 404, 500), response bodies, headers, and delays

โ†’ Response Hooks with JavaScript
Write code to transform responses dynamically (both mock and real)
โ€ข Toggle hooks on/off without deleting code
โ€ข Comprehensive validation catches undefined variables and syntax errors
โ€ข Available globals: response, request, helpers (uuid, timestamp, random data)

โ†’ Two Response Modes
โ€ข Mock Mode - Return configured mock response with your custom data
โ€ข Passthrough Mode - Forward request to real server and transform response with JavaScript hook

โ†’ Dynamic Variables
Generate unique data with {{timestamp}}, {{uuid}}, {{random_number}}, {{random_string}} in responses

โ†’ Request Recording & Logging
Record and inspect actual network traffic, create mocks from real responses with one click

โ†’ Smart Organization
Group rules into folders, search and filter, bulk enable/disable, hit counters show usage

โ†’ Rule Validation & Warnings
Automatic detection of invalid regex, JSON errors, overlapping rules, and unused rules

โ†’ Import/Export with Preview
Share rule configurations with merge or replace modes, validate before importing

โ†’ Multi-Monitor Support
Open in standalone window or DevTools panel, full state synchronization

โ†’ Dark/Light Theme
System preference detection with manual override

โ†’ CORS Auto-Fix
Automatically inject CORS headers to bypass cross-origin restrictions

โ†’ Multi-Language
Full English and Russian translations

USE CASES & BENEFITS

FOR FRONTEND DEVELOPERS:
โ€ข Test different API responses without backend changes
โ€ข Work offline or before backend APIs are ready
โ€ข Validate error handling with custom error responses
โ€ข Test loading states with configurable delays

FOR QA ENGINEERS:
โ€ข Simulate edge cases that are hard to reproduce
โ€ข Test timeout scenarios and network failures
โ€ข Validate UI with specific data combinations
โ€ข Automate testing with exported rule configurations

FOR DEBUGGING:
โ€ข Modify production API responses locally for troubleshooting
โ€ข Compare real vs mocked responses side-by-side
โ€ข Track request/response patterns with hit counters
โ€ข Organize test scenarios into folders for different features

PRIVACY & SECURITY

โœ“ No data collection
โœ“ No external servers
โœ“ All data stored locally in your browser
โœ“ Open source and transparent

GETTING STARTED
  1. Open Chrome DevTools (F12)
  2. Click the "Moq" tab
  3. Create your first mock rule with URL pattern matching
  4. Enable recording to capture real requests
  5. Click "Mock This" on any logged request to create a rule instantly

Perfect for frontend developers, QA engineers, and anyone who needs to test API integrations without modifying backend code or waiting for server changes. All data stays local - no external servers, no data collection, complete privacy.
0๋ช…์ด 0์ ์œผ๋กœ ํ‰๊ฐ€ํ•จ
๋กœ๊ทธ์ธํ•˜์—ฌ ์ด ํ™•์žฅ ๊ธฐ๋Šฅ์˜ ํ‰์ ์„ ๋‚จ๊ฒจ์ฃผ์„ธ์š”
์•„์ง ํ‰์ ์ด ์—†์Šต๋‹ˆ๋‹ค

๋ณ„์  ์ €์žฅ๋จ

5
0
4
0
3
0
2
0
1
0
์•„์ง ๋ฆฌ๋ทฐ ์—†์Œ
๊ถŒํ•œ ๋ฐ ๋ฐ์ดํ„ฐ

ํ•„์ˆ˜ ๊ถŒํ•œ:

  • ๋ชจ๋“  ํŽ˜์ด์ง€์˜ ์ฝ˜ํ…์ธ  ์ฐจ๋‹จ
  • ์—ด๋ ค์žˆ๋Š” ํƒญ์˜ ๋ฐ์ดํ„ฐ์— ์ ‘๊ทผํ•˜๋„๋ก ๊ฐœ๋ฐœ์ž ๋„๊ตฌ ํ™•์žฅ
  • ๋ธŒ๋ผ์šฐ์ € ํƒญ์— ์ ‘๊ทผ
  • ๋ชจ๋“  ์›น์‚ฌ์ดํŠธ์—์„œ ์‚ฌ์šฉ์ž์˜ ๋ฐ์ดํ„ฐ์— ์ ‘๊ทผ

์„ ํƒ์  ๊ถŒํ•œ:

  • ๋ชจ๋“  ์›น์‚ฌ์ดํŠธ์—์„œ ์‚ฌ์šฉ์ž์˜ ๋ฐ์ดํ„ฐ์— ์ ‘๊ทผ

๋ฐ์ดํ„ฐ ์ˆ˜์ง‘:

  • ๊ฐœ๋ฐœ์ž๊ฐ€ ์ด ํ™•์žฅ ๊ธฐ๋Šฅ์€ ๋ฐ์ดํ„ฐ ์ˆ˜์ง‘์ด ํ•„์š”ํ•˜์ง€ ์•Š๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.
๋” ์•Œ์•„๋ณด๊ธฐ
์ถ”๊ฐ€ ์ •๋ณด
๋ถ€๊ฐ€ ๊ธฐ๋Šฅ ๋งํฌ
  • ์ง€์› ์‚ฌ์ดํŠธ
  • ์ง€์› ์ด๋ฉ”์ผ
๋ฒ„์ „
2.14.0
ํฌ๊ธฐ
386.03 KB
๋งˆ์ง€๋ง‰ ์—…๋ฐ์ดํŠธ
4์ผ ์ „ (2026๋…„ 2์›” 28์ผ)
๊ด€๋ จ ์นดํ…Œ๊ณ ๋ฆฌ
  • ์›น ๊ฐœ๋ฐœ ๋„๊ตฌ
๋ผ์ด์„ ์Šค
Mozilla Public License 2.0
๊ฐœ์ธ์ •๋ณด์ฒ˜๋ฆฌ๋ฐฉ์นจ
์ด ๋ถ€๊ฐ€ ๊ธฐ๋Šฅ์— ๋Œ€ํ•œ ๊ฐœ์ธ์ •๋ณด์ฒ˜๋ฆฌ๋ฐฉ์นจ ์ฝ๊ธฐ
๋ฒ„์ „ ๋ชฉ๋ก
  • ๋ชจ๋“  ๋ฒ„์ „ ๋ณด๊ธฐ
๋ชจ์Œ์ง‘์— ์ถ”๊ฐ€
์ด ๋ถ€๊ฐ€ ๊ธฐ๋Šฅ ์‹ ๊ณ 
Mozilla ํ™ˆํŽ˜์ด์ง€๋กœ ์ด๋™

๋ถ€๊ฐ€ ๊ธฐ๋Šฅ

  • ์†Œ๊ฐœ
  • Firefox ๋ถ€๊ฐ€ ๊ธฐ๋Šฅ ๋ธ”๋กœ๊ทธ
  • ํ™•์žฅ ๊ธฐ๋Šฅ ์›Œํฌ์ƒต
  • ๊ฐœ๋ฐœ์ž ํ—ˆ๋ธŒ
  • ๊ฐœ๋ฐœ์ž ์ •์ฑ…
  • ์ปค๋ฎค๋‹ˆํ‹ฐ ๋ธ”๋กœ๊ทธ
  • ํฌ๋Ÿผ
  • ๋ฒ„๊ทธ ์‹ ๊ณ 
  • ๋ฆฌ๋ทฐ ์ง€์นจ

๋ธŒ๋ผ์šฐ์ €

  • Desktop
  • Mobile
  • Enterprise

์ œํ’ˆ

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • ๊ฐœ์ธ ์ •๋ณด
  • ์ฟ ํ‚ค
  • ๋ฒ•๋ฅ 

ํŠน๋ณ„ํ•œ ๊ณ ์ง€๊ฐ€ ์—†๋Š” ํ•œ, ๋ณธ ์‚ฌ์ดํŠธ์˜ ์ฝ˜ํ…์ธ ๋Š” Commons Attribution Share-Alike License v3.0 ๋˜๋Š” ๊ทธ ์ดํ›„ ๋ฒ„์ „์— ๋”ฐ๋ผ ์‚ฌ์šฉ์ด ํ—ˆ๊ฐ€๋ฉ๋‹ˆ๋‹ค.