stress-testing

how to create simulator for web application for load test and stress test

冷暖自知 提交于 2019-12-01 12:31:02
问题 how can i record the web server log files and replay the the recorded server logs so that i can latter run the logs and check the load on sql server. ex. number of request on and the number of resposes on sql server 回答1: Build a tool that can parse the log files from the web server and replay the requests again. Then you generate test cases by accessing your site using a normal web browser and record the log files. You can then replay the same sequence over and over again and your tool could

Stress testing of node.js services [closed]

最后都变了- 提交于 2019-12-01 05:54:04
I'm building a stress testing framework for node.js services using node.js. Do you know relevant projects which I can use / look at? node.js projects that you've used and worked good? (latency, throughput etc..) Any best practices on that matter? Thanks! 来源: https://stackoverflow.com/questions/8702560/stress-testing-of-node-js-services

How can i stress my phone's CPU programatically?

若如初见. 提交于 2019-11-30 20:41:01
So i overclocked my phone to 1.664ghz and I know there are apps that test your phone's CPU performance and stressers but I would like to make my own someway. What is the best way to really make your CPU work? I was thinking just making a for loop do 1 million iterations of doing some time-consuming math...but that did not work becuase my phone did it in a few milliseconds i think...i tried trillions of iterations...the app froze but my task manager did not show the cpu even being used by the app. Usually stress test apps show up as red and say cpu:85% ram: 10mb ...So how can i really make my

How can i stress my phone's CPU programatically?

a 夏天 提交于 2019-11-30 04:51:01
问题 So i overclocked my phone to 1.664ghz and I know there are apps that test your phone's CPU performance and stressers but I would like to make my own someway. What is the best way to really make your CPU work? I was thinking just making a for loop do 1 million iterations of doing some time-consuming math...but that did not work becuase my phone did it in a few milliseconds i think...i tried trillions of iterations...the app froze but my task manager did not show the cpu even being used by the

Load vs. Stress testing [closed]

谁说我不能喝 提交于 2019-11-29 20:14:10
What is the difference between load and stress testing? Wikipedia on load testing (bold is mine): [...]A load test is usually conducted to understand the behaviour of the system under a specific expected load . This load can be the expected concurrent number of users on the application performing a specific number of transactions within the set duration. This test will give out the response times of all the important business critical transactions.[...] and on stress testing : understand the upper limits of capacity within the system. This kind of test is done to determine the system's

Testing with JMeter: how to run N requests per second

随声附和 提交于 2019-11-29 19:59:09
I need to test if our system can perform N requests per second. Technically, it's 2 requests to one API, 2 requests to another, and 6 requests to third one. But the important thing that they should happen simultaneously - so 10 requests per second. So, in JMeter I've created three Thread Groups, first defines number of threads 1, and ramp-up time 0. Second thread group is the same, and third thread group defines number of threads 6 and ramp-up time 0. But that doesn't really guarantee it's going to run them per second How do I emulate that? And how do I see the results -- if it was able to

How do you stress load dev database (server) locally?

北战南征 提交于 2019-11-29 14:49:06
Wow, this title gave me immediately "The question you're asking appears subjective and is likely to be closed." Anyway, after some searching and reading, I decided to ask it. Coming from my question: What are the first issues to check while optimizing an existing database? , which boiled down to necessity to stress load a local SQL Server dev database received as backup .bak file. Did I understand correctly the answer by paxdiablo to question: "DB (SQL) automated stress/load tools?" that there is no general purpose stress loading testing SQL tools independent on RDBMS? What are the stress test

How To Simulate Lower CPU Processor Machines For Browser Testing

早过忘川 提交于 2019-11-29 01:46:27
We have some users which are using lower-CPU powered machines and they're encountering slow response times using our web application. Is there any way for me to do testing so that I can simulate lower CPU rates? For example, I have 2.3 Ghz computing power, can I lower it to 1.6 Ghz or lower so that I may be able to test it? BTW, our customers are using Windows. I have to simulate low computing power on Internet Explorer as browser. Most new CPUs multiplier can easily be lowered (Intel: Speedstep, AMD: PowerNow!). This is used to save power. With RMclock you can manually adjust your multiplier

Running multiple Thread Groups sequentially in JMeter

非 Y 不嫁゛ 提交于 2019-11-29 00:57:47
I have a Test plan in which there are multiple Thread Groups. I want to run all of the Thread Groups sequentially. Thread Groups are as below: Thread Group1 Thread Group2 Thread Group3 . . . Thread GroupN I've read in different blogs and articles on the internet, people claiming that the thread groups will run in the order they are defined but apparently they are not in my case. Thread Group4 runs before Thread Group1. Thread Group4 is generating a report which is wrong because it runs before Thread Group1. How do I ensure the ordering of my Thread Groups? Also, I need to implement the

Load vs. Stress testing [closed]

元气小坏坏 提交于 2019-11-28 16:09:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . What is the difference between load and stress testing? 回答1: Wikipedia on load testing (bold is mine): [...]A load test is usually conducted to understand the behaviour of the system under a specific expected load . This load can be the expected concurrent number of users on the application performing a specific