Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
VGSOURCES
Get listed

Apache JMeterPATCH 2026.10.15

How to Record Test Scenarios With Apache JMeter

By VGSources Team 13 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use Apache JMeter’s built-in HTTP(S) Test Script Recorder as a local proxy: create a Recording plan, point your browser at JMeter’s proxy (Apache’s example uses localhost:8888), trust JMeter’s temporary certificate for HTTPS, perform one clean user journey, then stop and save the plan. The result is a draft of HTTP requests, not a finished load test. Filtering noise, adding cookie handling, replacing hard-coded data, extracting dynamic values, validating failures, and finally running outside the GUI are what turn that draft into a reusable scenario.

What JMeter recording captures—and what it does not

The HTTP(S) Test Script Recorder intercepts traffic from a normal browser and creates sampler objects in your JMeter test plan. Apache describes it as allowing JMeter to “intercept and record your actions while you browse your web application with your normal browser.” For a browser-based game, that can include opening the site, signing in, selecting a mode, changing a loadout, or completing another HTTP-driven journey.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The recorder sees requests that actually pass through its proxy. It does not infer business intent, choose assertions, discover which values are unique per player, or design a safe concurrency model. A recorded plan commonly contains static assets, analytics calls, repeated requests, cookies from one browser session, and values that will expire when another virtual user runs the test. Treat the first recording as raw material.

  • Recording is useful for: quickly obtaining the request order, methods, paths, headers, and payload shapes produced by a real browser.
  • Recording is not enough for: a production-ready load script, realistic test data, dynamic-session handling, or a decision about how many users to generate.
  • Protocol boundary: this workflow is designed around browser HTTP and HTTPS traffic. If the behavior you need to test is not represented by browser requests, construct the plan with appropriate samplers instead of expecting the proxy recording to create it automatically.

Prepare the browser journey before starting JMeter

A disciplined capture is easier to repair than a long, exploratory session. Decide exactly which scenario the recording should represent and start with a fresh browser state when the application’s cookies or cached authentication could alter the flow.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses | Anti UV Ray, For Computers & Gaming, Square Frame, Eyewear for Men and Women
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Define one scenario

Write the journey as a short sequence before opening the recorder. For example, a browser game scenario might be “open the login page, authenticate a test account, enter the lobby, open a profile, and start one match.” Keep that capture to one business flow. Separate login, matchmaking, store, and other journeys into their own Recording Controllers or plans unless they genuinely belong to one transaction.

Use a controlled account and data set

  • Use a test account whose state can be reset or understood by the team running the test.
  • Know which fields are fixed for the scenario and which should vary for each virtual user.
  • Decide whether a private browsing session is appropriate. A private session is useful when you need a clean cookie state and do not want an existing login to bypass the steps you intend to capture.
  • Close unrelated tabs and applications that could send traffic through the same proxy.

Check the proxy route

JMeter can only record traffic that the browser sends to it. Note the host name or IP address of the machine running JMeter and the recorder port you will use. Apache’s example uses localhost and port 8888, with the browser proxy enabled for all protocols. If the browser is configured to bypass localhost, plan to use the machine’s host name or IP address instead.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Create and configure the recording plan

  1. Start JMeter. Open the JMeter application and choose Templates….
  2. Choose the Recording template. Create the plan so JMeter adds the components needed for proxy recording.
  3. Set the target in HTTP Request Defaults. Enter the target server name or IP address used by the application. Keeping the host in one defaults element makes later review and parameterization easier than repeating it in every sampler.
  4. Locate the HTTP(S) Test Script Recorder. Review its listening host and port before starting it. The port must be free and must match the browser’s manual proxy settings.
  5. Choose a destination controller. Configure the recorder to place captured samplers under a Recording Controller. This gives the scenario a clear boundary and lets you keep separate journeys organized in the test plan.
  6. Start the recorder. JMeter will listen for browser traffic on the configured proxy endpoint. Do not begin the business journey until the recorder is running.

If the template or your existing plan does not include a Recording Controller, add one under the relevant Thread Group and select it as the recorder’s target. The controller is an organizational container; it does not, by itself, make requests realistic or add pacing.

Configure the browser proxy and HTTPS trust

Set a manual proxy

In the browser’s network or proxy settings, select a manual proxy and enter the same host and port that JMeter is listening on. Apache’s example is host localhost, port 8888, with the proxy enabled for all protocols. Save the setting, then open the application in that browser. A request that does not appear in JMeter usually means the browser is not using this proxy, is using a different port, or is exempting the target host.

Install JMeter’s temporary CA for HTTPS

HTTPS encrypts the browser-to-server connection, so the recorder needs the browser to trust its interception certificate. When JMeter starts HTTPS recording, it generates a certificate named ApacheJMeterTemporaryRootCA.crt. Install or accept that certificate in the browser’s trust store used for the recording session. Without this trust, HTTPS requests commonly fail with an unknown_ca error and no usable encrypted traffic is captured.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Use this temporary certificate only for controlled testing. After recording, remove the temporary trust if your organization’s browser policy requires it, and never treat it as a permanent certificate for normal browsing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prove that traffic is going through JMeter

Open a page in the target application and watch the recorder or its captured samplers. Then stop the recorder briefly and try another page. If the browser continues to work exactly as before, it is probably bypassing the proxy; correct the browser’s proxy host, port, protocol coverage, or bypass list before recording the real scenario.

Record one clean browser journey

  1. Start from the intended initial state. Use the fresh or private session prepared earlier. Do not leave an old authenticated session active if login is part of the scenario.
  2. Perform only the planned actions. Follow the scenario once, at normal speed. Avoid opening developer tools, unrelated pages, or additional tabs during the capture.
  3. Let required responses finish. Moving on before a page or game action completes can produce an order that does not represent a valid user flow.
  4. Stop the recorder immediately after the final action. This prevents post-scenario navigation and background activity from being mixed into the controller.
  5. Save the JMeter plan. Keep the original capture as a reference before making extensive edits. A separate cleaned copy makes it easier to compare later changes with the browser’s actual traffic.
  6. Reset the browser proxy. Return the browser to its normal network configuration so ordinary browsing does not continue through JMeter.

One clean pass is preferable to repeatedly recording the same journey into one controller. Re-recording after every exploratory click creates duplicate samplers and makes it difficult to tell which request belongs to the intended scenario.

Filter noise before it overwhelms the plan

Browsers request much more than the business action a tester cares about. Images, CSS, JavaScript bundles, analytics beacons, advertising, telemetry, and calls to unrelated hosts can multiply the number of samplers. Configure include and exclude patterns in the recorder before the capture whenever possible.

Use include patterns for the application under test

An include pattern limits capture to hosts or paths that belong to the scenario. This is useful when the page loads several domains but the test should represent only the game service or API that your team owns. Keep the pattern specific enough to avoid collecting unrelated origins, while retaining every endpoint required for the user journey.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men | Office Gifts for Women, iPhone Stand, Gadgets for Men, Office Decor, Gaming Desk Accessories for Samsung Fold 8, Switch, iPad
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Use exclude patterns for predictable static noise

Exclude patterns can remove images, stylesheets, JavaScript files, analytics, and other resources that do not belong in the business transaction. Apply exclusions before recording rather than deleting hundreds of samplers afterward. Review the first filtered capture to ensure that a JavaScript request carrying an essential API call was not removed merely because it came from a script-related path.

Review what remains

  • Group the retained samplers beneath the correct Recording Controller.
  • Delete duplicate navigations and accidental clicks that are outside the defined scenario.
  • Check that the host, path, method, query string, headers, and request body match the action you performed.
  • Keep a request only when the application needs it to progress or when it is an intentional part of the transaction you want to measure.

Turn the raw recording into a reusable scenario

Cleaning is where most of the test-design work happens. The browser session that produced the recording contains state that must be recreated, varied, or extracted when JMeter runs with other threads.

Add an HTTP Cookie Manager

Browsers send cookies during recording, but those cookies are not saved in the plan as reusable runtime state for future virtual users. Add an HTTP Cookie Manager to the relevant scope so JMeter can receive, store, and resend cookies during execution. This is essential for applications that use cookies to maintain login, session, preferences, or other state.

Replace repeated hosts and fixed inputs

Recorded samplers often repeat the same server name or contain values that should be changed between environments. Add User Defined Variables for repeated host names, paths, or scenario settings, then reference those variables from the requests. A variable for the target host lets you move the plan between environments without editing every sampler individually.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Feed user data with CSV Data Set Config

When each virtual user needs a different account, character, item, or other input, place the values in a file and add CSV Data Set Config. Map the columns to JMeter variables and replace the recorded literals in request parameters or bodies. Decide how rows are shared among threads according to the behavior you need; the important point is to avoid every thread submitting the same captured identity when the application expects unique users.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Generate values with JMeter functions

For values that can be generated rather than stored in a file, JMeter functions such as __counter and __time can supply changing numbers or timestamps. Use them only where the application accepts generated values. A timestamp inserted into a field that requires a server-issued identifier will not make the request valid; generation and correlation solve different problems.

Correlate dynamic responses

Many applications return a token, identifier, or one-time value that later requests must send back. Capture that value from the response with a JSON Extractor when the response is JSON, or a Regular Expression Extractor when a regular expression is appropriate. Replace the later hard-coded value with the extractor variable. This correlation step is what allows a new session or newly created object to flow through subsequent requests instead of replaying an identifier from the original browser run.

Check request order and state transitions

Read the plan from top to bottom as if you were a new virtual user. Login or session-establishing calls must precede requests that require that state. A response extractor must run before the sampler that references its variable. If a request is optional in the browser, decide whether it belongs in the measured scenario or should be removed so that every iteration follows a known path.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Validate the plan before adding load

Use Thread Group → Validate while debugging. Validation gives you a controlled way to inspect whether the cleaned plan can execute and whether failures appear before you increase users, ramp-up, or loop count.

  1. Run the validation with a small, controlled execution rather than a large load profile.
  2. Inspect failed samplers and their response data, not just the aggregate error count.
  3. For authentication failures, check cookie handling, credentials supplied by the CSV file, and any token extractor that feeds later requests.
  4. For a missing-variable failure, confirm that the extractor ran on the response you expect and that the variable name is spelled consistently in later samplers.
  5. For an unexpected redirect or authorization response, compare the request order and headers with the successful browser journey.
  6. Repeat validation after each major cleanup or parameterization change so that one edit does not hide another error.

GUI execution is appropriate for debugging and inspection because you can see the plan and response details. Do not use an interactive GUI run as the way to generate substantial load; the interface adds overhead and is intended for working on the test rather than acting as the load engine.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Run serious load tests in non-GUI mode

After the scenario validates, save the plan and execute it from the command line for substantial load generation. Apache’s example command is:

jmeter -n -t test.jmx -l results.jtl -e -o report

Here, -n selects non-GUI mode, -t test.jmx supplies the saved test plan, -l results.jtl writes result data, and -e -o report creates an HTML report in the specified output directory. Choose a new or empty report directory as required by your JMeter setup.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Start with a modest user count, ramp-up, and loop count. Review failures and response data before increasing any of them. A script that fails for one user will only produce more failures at scale; increasing concurrency before resolving functional errors can obscure the original cause.

Manual construction versus proxy recording

Recording and manual plan construction solve different problems. Use the following trade-offs when deciding how to build a scenario or how much of a recorded plan to keep.

Aspect Proxy recording Manual plan construction
Setup speed Fast way to capture the request sequence produced by a normal browser. Slower initially because each request and relationship must be designed.
Control over request structure Starts with the browser’s actual methods, paths, headers, and payloads, then requires editing to simplify them. Provides direct control over which samplers, parameters, headers, and controllers exist.
Cleanup effort Usually substantial because static assets, analytics, duplicates, and unrelated hosts may be captured. Less capture noise, but the author must know the required request sequence.
Dynamic values Captured literals must be identified and replaced with variables, CSV data, functions, or extractors. Dynamic handling can be designed from the start, although the same correlation work may still be required.
Non-browser protocols Best suited to browser HTTP/HTTPS traffic that passes through the proxy. More suitable when the behavior is not represented by browser proxy traffic or needs a protocol-specific sampler.

A practical workflow is often hybrid: record a short, representative journey to learn the application’s request sequence, then manually remove noise and construct the control, data, and correlation elements that the recorder cannot infer.

GUI debugging versus non-GUI execution

Use case GUI mode Non-GUI mode
Primary purpose Inspect the plan, edit samplers, and debug responses. Generate substantial load with lower interface overhead.
Observability while working Convenient for watching controllers, samplers, and response data during development. Results are written to files and reports for later analysis.
When to use During recording cleanup and small validation runs. After the plan is validated and you are ready to vary users, ramp-up, or loops.

Troubleshoot common recording failures

Symptom Likely cause Correction
No samples appear in the Recording Controller. The browser is not using JMeter’s proxy, the host or port differs, or a bypass rule excludes the target. Match the browser’s manual proxy host and port to the recorder, enable the proxy for all required protocols, and test a page while watching JMeter.
The browser still works after the recorder is stopped. Traffic is bypassing JMeter. Recheck the proxy settings and bypass list. If localhost is exempted, use the machine hostname or IP address for the recorder endpoint.
HTTPS requests fail with unknown_ca. The browser does not trust JMeter’s generated certificate. Install or accept ApacheJMeterTemporaryRootCA.crt in the browser used for the capture, then retry the HTTPS journey.
The plan contains hundreds of irrelevant requests. Images, CSS, JavaScript, analytics, telemetry, or unrelated hosts were recorded. Set include and exclude patterns before recording, then remove accidental samplers while keeping required application calls.
A second run loses authentication or session state. Cookies from the browser capture were not configured as runtime state. Add an HTTP Cookie Manager and validate the login or session-establishing sequence with a fresh run.
Later requests return authorization or object-not-found errors. A token or identifier was hard-coded from the original session. Extract the value with JSON Extractor or Regular Expression Extractor and reference the resulting variable in subsequent requests.
Different virtual users overwrite one another’s data. Every thread is replaying the same captured inputs. Move user-specific values into CSV Data Set Config or generate suitable values with functions such as __counter and __time.

Final pre-load checklist

  • The browser proxy has been reset after recording, and the temporary HTTPS trust is handled according to your test-environment policy.
  • The plan has a Recording Controller or other clear structure for the scenario.
  • Include and exclude filters removed noise without deleting required application requests.
  • An HTTP Cookie Manager is present where the application uses cookies.
  • Repeated hosts and environment-specific values use User Defined Variables.
  • Per-user data comes from CSV Data Set Config or an appropriate JMeter function.
  • Dynamic tokens and identifiers are extracted from responses and referenced later.
  • Thread Group → Validate succeeds for a controlled run, and response data has been reviewed.
  • The saved plan runs in non-GUI mode with result and report files before any substantial increase in users, ramp-up, or loops.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Apache JMeterHTTP testingHTTPS recordingload testingPerformance testingtest automation

Leave a reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.