Is it recommended to do load testing under...

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

J

Jaswanth Reddy

Guest
Is it recommended to do load testing under production environment and what r the environments does performance testing supports?
 
It depends on your requirement. Generally all the testing activities are done in Test environment which should be almost similar to the production environment. Performance testing involves testing of your application
 
You should have a good scaled env compared to prod. Never ever use QA/Dev env for perf testing. Have a separate stage/perf env for Perf testing. It is not advisable to do perf on prod unless you have a risk/mitigation plan in place.
 
Production environment is the best environment to test performance, obviously as it is the only true environment. But then you have the practical issues. Are you interfering with real users or data, then probably not. If testdata in production is not an issue, you can consider testing at night when you might impact only a few users
 
It is advisable to have a separate perf environment, however due to certain reasons if it is not available then you might use the prod env without impacting the real users in off time. We have tested an application at 4AM when no users were active. The best is to use perf env.
 
Can u do a functional test in prod after ur code implementation?. Kind of updating some thing to dB? Similay way should hav a seperate environment