I have a conceptual question regarding the K6 parallel test. I want to run multiple test scripts in parallel. If I choose to run them using docker compose file like following, can we say that its a parallel in real sense? As I understand, each k6 container inside docker compose is a seperate unit with its own processor? Is that correct? Can this be called a parallel test then?
version: '3'
services:
k6_test:
image: loadimpact/k6
container_name: test_k6
volumes:
- ./:/specs
command: run /tests/test_spec.js
ports:
- "6565:6565"
k6_test2:
image: loadimpact/k6
container_name: test2_k6
volumes:
- ./:/specs
command: run /tests/test2_spec.js
ports:
- "6566:6566"