When I generate data to use for performance testing by running following command

php bin/magento setup:perf:generate-fixtures

It gives the following error in Tax rates step

enter image description here

Any help, experience and knowledge sharing would be appreciated.

有帮助吗?

解决方案

I hope the error was due to duplication of tax rates as you have installed Magento along with sample data. So you can proceed either by try removing sample data or truncating the tax_calculation table. Once done this error will be gone. You might also face similar errors when you continue to create data with sample data installed. I have tried this command in Magento without sample data and I got the data created without any errors enter image description here

许可以下: CC-BY-SA归因
scroll top