Looking at the official Magento 2 dev docs on the subject of generating data for performance testing, the example image suggests that product images are generated in the process.

I ran the exact command (magento setup:perf:generate-fixtures /var/www/html/magento2/setup/performance-toolkit/profiles/ce/small.xml), but no product images are to be found in the backend. The rest seems to be working, though.

  1. Did I forget something in the process, or is this feature not implemented (yet)?
  2. Is there another way to generate product images like displayed in the dev docs (using CLI)?

Check read permission in setup/performance-toolkit/profiles/ce/ directory of Magento. For large volumes of data, you can use

php bin/magento setup:perf:generate-fixtures \
  • 1
    This doesn't answer the original question about images at all.
    – MartyS
    Aug 7 '17 at 20:12
  • @taukil thanks for the reply, but this answer does not solve my initial question about the images not being generated Aug 15 '17 at 12:36

I don't know if the question is still valid, but the way I know to import products and from CLI is by running this command php bin/magento setup:static-content:deploy this Deploys static view files, which includes images. Then you can run your performance command and run your tests.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.