Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top