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 3398324
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:38:08+00:00 2026-05-18T04:38:08+00:00

This isn’t a question of what stress testing tools are out there. I’m afraid

  • 0

This isn’t a question of what stress testing tools are out there. I’m afraid it’s a lot harder than that. (At least for me)

Consider a restful architecture for a forum or blog that generates random IDs for each post.

Simulating creating those topics/articles would be simple, because you’d just be posting form data to an endpoint like: /article, or /topic

But how do you then stress test commenting on those articles/topics? This is different, because the comments need to belong to an article/topic, which means that you need the ids of those items. However, if all you can do is issue posts, and you have no way of pulling those ids, you’d be unable to create them.

I’m creating a site that is similar in this regard, and I have no idea how to stress test the creation of the comments.

I have two ideas, and they’re both pretty awful:

  1. Generate a massive system ahead of time with some kind of factory, and then freeze it. From there, I figure I’d have to use some kind of browser automation to create my ‘comments’ on all of this. The automation would I suppose go through a recording proxy, like what JMeter offers. Then, to run the test, I reload the database, and replay the massive log file.
  2. Use browser automation for the whole thing, taking advantage of the dynamic links delivered in the HTML page. The only option here would be Selenium, and really, we’re talking a massive selenium grid that would be extremely expensive. Probably very difficult to maintain also.

Option 2 is completely infeasible near as I can tell, but option 1 sounds excruciating. I’m really hoping someone can suggest something more clever.

  • 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-18T04:38:09+00:00Added an answer on May 18, 2026 at 4:38 am

    Option 1.

    I mean, implementation notes aside, you’re basically just asking for a testing environment. So, the answer is to make one. In whatever fashion:

    • Generate it
    • Make it once and reload it
    • Randomise it

    Whatever. It’s the approach to go with.

    How do you your testing is kind of a side issue (unit testing/browser/whatever, up to you).

    But you’ve reached a point where you need to test with real data. So make it happen.

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

Sidebar

Related Questions

This isn't really a programming question but more about programming and testing tools. Is
This isn't a holy war, this isn't a question of which is better. What
This isn't a question but I thought I'd start a thread where links to
This isn't my code; I am trying to figure out what exactly this does.
I know this isn't strictly a programming question but y'all must have experienced this.
I know this isn't strictly speaking a programming question but something I always hear
This isn't necessarily a programming question but i'm sure you folks know how to
Hopefully this isn't a dupe of another question, but I couldn't see it anywhere
This isn't a homework question, by the way. It got brought up in class
This isn't solved, but I found out why: MySQL View containing UNION does not

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.