Best practices for specific use case

Hi K6 team,

I work for a company where the amount of users doing actions on the application is very minimal. So doing increasing users over time, does not replicate real world behaviour. The issues that cause performance related problems are more related to api calls that take x amount of time, if the databases of the clients are big. You see then that requests take longer in the metric overview that K6 provides.

We want to do both frontend and backend performance testing.
I checked this How to Load Test a Website: The k6 Guide and constant arrival rate

However, what kind of performance test scenario(s) would fit this use case and what best practices would your recommend?

Kind regards,

Hi @rodyb !

Apologies for such a delayed response!

I leave some room for the community answers and other k6-sers, but here are my thoughts.

I’d say, as usual, the answer is based on your needs. For example, what are you trying to figure out when performing testing?

Suppose it’s the point when your systems start experiencing problems. In that case, you probably need to have a workflow that produces the data for the test system and monitors how the system behaves, and when you start to see that the systems started to respond slowly, remember that number and start figuring out what to do with that.

As you mentioned, you already know that the issue is the extensive database, then you probably should think about how to resolve the issues. And k6 here will be more the tool that could validate whether actions taken are good, like whether we see improvements in the metrics and so on.

Hope that helps!