views:

241

answers:

3

I'm building a web app against a database where a small number of records (about 5000) are active at the same time. Each active working record probably experiences 50-300 changes by 30 users over a 4 hour period ... which is thousands of changes per minute.

Because our testing environment is so static, testing is not realistic, and some issues do not arise until we hit the production database.

I had the idea to Run Profiler, collect the DML statements, then replay them on the test server while debugging the app ... Assuming I can replay them in the same time intervals as the original was run. But even this wouldn't be a valid test, since tester changes could corrupt future DML statements being replayed.

Does anybody know how to simulate real time database changes for realistic testing?

Thanks.

BTW-Our problems are not concurrency issues.

+1  A: 

Maybe this Selenium-based service is what you need: browsermob

Few people recommended it.

And yes, this is not an ad :)

Sergii
@Sergii-Thanks .. first of all. But when you say "Few people recommended it.", are you saying 'some people recommend it'? OR 'almost nobody recommends it'.
John MacIntyre
Dude ... this is an AJAX load testing tool! This doesn't "simulate real time database changes for realistic testing?" ... not cool Sergii ... not cool. ~:-|
John MacIntyre
Well, this is NOT JUST an AJAX load testing tool. You can test real-life usage of your web-app (asp.net-based is web app right?). And when I say "Few people recommended it." I mean that I haven't seen dozens many feedbacks. I've seen few and they all were positive.
Sergii
Ok, I follow you ... not exactly what I'm looking for, but thanks anyway.
John MacIntyre
A: 
Brent Ozar
A: 

Perhaps use something along the lines of a database stress-testing tool like the mysqlslap load-emulator. Here's a link explaining use-cases and specific examples.

luvieere

related questions