Hello,
The support of K6 was
merged to master, however it is not possible to use k6 with the current version of Taurus (1.15.2) because the merge happened in February 2020 and Taurus was tagged as 1.15.2 in January 2020:
https://github.com/Blazemeter/taurus/tags.
The latest version of Taurus (as of today) is 1.15.2, it comes with `pip install bzt` command as the
documented way of installation.
I tried the most recent
docker images tagged as `latest` (does not work), `1.15.2` (does not work), `master-391e69f7-2021-02-22` (worked).
Could you please fix this in the near future?
Details are listed below.
$ bzt tests/taurus_k6.yaml. # directly from host
08:27:25 INFO: Taurus CLI Tool v1.15.2
08:27:25 INFO: Starting with configs: ['tests/taurus_k6.yaml']
08:27:25 INFO: Configuring...
08:27:25 INFO: Artifacts dir: /Users/n.savelyeva/notes/k6/explore/2021-02-26_08-27-25.738043
08:27:25 INFO: Preparing...
08:27:25 ERROR: Config Error: Module 'k6' not found in list of available aliases ['ab', 'android-emulator', 'apiritif', 'appium', 'blazemeter', 'capturehar', 'cloud', 'console', 'consolidator', 'external-results-loader', 'final-stats', 'final_stats', 'functional-consolidator', 'gatling', 'grinder', 'install-checker', 'jmeter', 'junit', 'junit-xml', 'local', 'locust', 'mocha', 'molotov', 'monitoring', 'newman', 'nunit', 'passfail', 'pip-install', 'proxy2jmx', 'pytest', 'robot', 'rspec', 'screenshoter', 'selenium', 'shellexec', 'siege', 'testng', 'tsung', 'unpacker', 'virtual-display', 'wdio', 'xunit']
08:27:25 INFO: Post-processing...
08:27:25 INFO: Artifacts dir: /Users/n.savelyeva/notes/k6/explore/2021-02-26_08-27-25.738043
08:27:25 WARNING: Done performing with code: 1
$ docker run --rm --mount type=bind,source=${PWD}/tests,target=/bzt-configs/tests --mount type=bind,source=${PWD}/results,target=/bzt-configs/results blazemeter/taurus /bzt-configs/tests/taurus_k6.yaml -o settings.artifacts-dir=results
07:28:45 INFO: Taurus CLI Tool v1.15.2
07:28:45 INFO: Starting with configs: ['/bzt-configs/tests/taurus_k6.yaml']
07:28:45 INFO: Configuring...
07:28:45 INFO: Artifacts dir: /bzt-configs/results
07:28:45 INFO: Preparing...
07:28:45 ERROR: Config Error: Module 'k6' not found in list of available aliases ['ab', 'android-emulator', 'apiritif', 'appium', 'blazemeter', 'capturehar', 'cloud', 'console', 'consolidator', 'external-results-loader', 'final-stats', 'final_stats', 'functional-consolidator', 'gatling', 'grinder', 'install-checker', 'jmeter', 'junit', 'junit-xml', 'local', 'locust', 'mocha', 'molotov', 'monitoring', 'newman', 'nunit', 'passfail', 'pip-install', 'proxy2jmx', 'pytest', 'robot', 'rspec', 'screenshoter', 'selenium', 'shellexec', 'siege', 'testng', 'tsung', 'unpacker', 'virtual-display', 'wdio', 'xunit']
07:28:45 INFO: Post-processing...
07:28:45 INFO: Artifacts dir: /bzt-configs/results
07:28:45 WARNING: Done performing with code: 1
$ pip3 freeze | grep bzt
bzt==1.15.2
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
blazemeter/taurus master-391e69f7-2021-02-22 c39bdcf945e7 3 days ago 2.59GB
blazemeter/taurus 1.15.2 a6fa99c1c227 5 weeks ago 2.54GB
blazemeter/taurus latest a6fa99c1c227 5 weeks ago 2.54GB