Invalid cases on load test?

this is actually a non-technical question about api testing, so i hope i can ask it here

do you actually need to include invalid cases on load or performance tests? most tutorial i found only use simple requests and using only valid cases, so iā€™m actually not sure about this. any insight is appreciated, thanks! :smile:

Depends on what you are testing.

There are several different types of performance test, and load test is just one type.

One of the core performance tests is to test against an expected load.

This normally includes a wide range of work loads for your application.

If you are expecting to get a bunch of invalid cases in that load, then you would need to include those cases in the coverage.

You also need to test individual loads as separate tests.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.