Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6548361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:57:48+00:00 2026-05-25T11:57:48+00:00

Context: I am load testing a prototype enterprise web app that performs quick searches

  • 0

Context:
I am load testing a prototype enterprise web app that performs quick searches on a large dataset. It’s backed by a database and uses JQuery datables backed by a servlet to narrow the results upon each keystroke.

I want to find out how it will behave under load and measure response time, stability and usability under various loads and come up with a SLA. The load in this case would be a number of users logging in, typing various search string, simultaneously.

Tools:
I am using Apache Jmeter to do this.

Question:
To truly make my load tests random and eliminate the effect of caching at database level (or anywhere else), I want my HTTP requests for each search to be random. I want to do something like this: send a character, wait, send another character, send backspace, send one more character, send two backspaces, etc.

What is the most elegant/efficient way of doing something like that using JMeter?

Right now I am looking into using CSV dataset and read random characters from a large file, but I’m wondering if there is a better way.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:57:49+00:00Added an answer on May 25, 2026 at 11:57 am

    You can achieve the random search strings by using functions.

    Specifically, look at RANDOM and CHAR.

    basically, you’d have something like ${__CHAR(${__RANDOM(0,82)})} to generate a single character.

    I’d also recommend having a CSV file with the top 100 most popular search terms to test against.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While testing my web app for iOS, I noticed that CSS3 animations were hardware-accelerated
The context I have an Asp .Net web application with some pages that inherit
I'm working on an iOS flash-card style learning app that, on load, needs to
I already know how to: Load properties files into my Spring configuration using: <context:property-placeholder
I know that there are 3 different binding contexts or load contexts: Load LoadFrom
How can I achieve this? I am trying to load content from the database
According to http://jqueryui.com/demos/tabs , tabs that load content via AJAX will show Loading... while
So, I'm trying to learn the rspec BDD testing framework in the context of
I have just been testing a web site I have set up in Internet
To do some load testing, for my own curiosity, on my server I ran:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.