what is 'negative testing'.

Peter Veentjer alarmnummer at gmail.com
Tue Sep 10 06:22:24 UTC 2019


What is negative testing in the context of performance testing?

I see negative testing being mentioned in the JMH output:





*REMEMBER: The numbers below are just data. To gain reusable insights, you
need to follow up onwhy the numbers are the way they are. Use profilers
(see -prof, -lprof), design factorialexperiments, perform baseline and
negative tests that provide experimental control, make surethe benchmarking
environment is safe on JVM/OS/HW level, ask for reviews from the domain
experts.Do not assume the numbers tell you what you want them to tell.*

I know about negative testing in case of normal testing (e.g. testing if
the system deals with bad input correctly), but I have no idea what it
means when doing performance testing.

regards

Peter


More information about the jmh-dev mailing list