We have a server that serves bunch of different sites. From our backend I receive an array of sites we want to load test. The meta data for each site looks like this:
{
domain: "https://site-a.com",
pages: [
"/page-1",
"/page-2",
],
}
The goal of testing is to recreate as close as possible the real-world scenario when different users visit different sites: N sites at the same time, but not all of them and not sequentially one after another.
The initial plan was to take first N sites from the received array of sites and run in parallel as group of M users visit each page from an array of pages for each site. When this chunk of tests finished, take next N sites and repeat until all sites are tested. I was looking into the docs and as a result I’m not sure if it’s possible to implement such tests with k6. I’d be happy to be proved wrong
Appreciate suggestions and thanks in advance!