Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento Performance Toolkit Customer Checkout Error #3513

Closed
ljrweb opened this issue Feb 23, 2016 · 3 comments
Closed

Magento Performance Toolkit Customer Checkout Error #3513

ljrweb opened this issue Feb 23, 2016 · 3 comments
Assignees
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: needs update

Comments

@ljrweb
Copy link

ljrweb commented Feb 23, 2016

Steps:

  1. Magento CE v2.0.2, PHP 7.0.3

  2. php bin/magento setup:perf:generate-fixtures /var/www/magento/html/setup/performance-toolkit/profiles/ce/large.xml

  3. enable flat catalog / category, reindex

  4. deploy static content, run multi-tenant compiler

  5. separate jmeter server (or local computer gui) ./jmeter -n -t benchmark.jmx -Jhost={url/ip} -Jbase_path=/ -Jusers=100 -Jramp_period=360 -Jreport_save_path=./ -Jloops=1

I'm expecting 8 orders, (4% customer, 4% guest). Seems like 1 out of 4 customer orders go through. Errors are reported in the CLI output and in the GUI, but no errors in logs. The HTTP response codes on the error'd actions are 200.

Errors start on the Login(CustomerChkt) action.
- Add to cart / browsing is fine.
Next error on the Checkout start(CustomerChkt) action.
Next error on the Checkout Billing/Shipping Information(CustomerChkt) action:
- {"message":"Consumer is not authorized to access %resources","parameters":{"resources":"self"}}
Same error on Checkout Payment Info/Place Order(CustomerChkt)
Checkout Success(CustomerChkt) action shows the cart page.

Is this a permissions issue that the MPT is having trouble traversing different accounts?

@ishakhsuvarov
Copy link
Contributor

@ljrweb Thank you for reporting this issue, we have created an internal ticket MAGETWO-50290 to investigate the scenario with the parameters you provided.

Problems of this kind usually happen when fixture generator fails and generates insufficient fixtures, please check that profile generation was successful and you have enough registered customers for every thread started, otherwise scenario will attempt to perform checkout with the same customer multiple times, causing permission issue.

@ishakhsuvarov ishakhsuvarov added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Mar 10, 2016
@vkorotun vkorotun removed the CS label Aug 4, 2016
@veloraven
Copy link
Contributor

@ljrweb is this issue still actual?
We were not able to reproduce it and internal ticket was closed.
I'm going to close this ticket as well.

@veloraven
Copy link
Contributor

According to contributor guide, tickets without response for two weeks should be closed.
If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: needs update
Projects
None yet
Development

No branches or pull requests

4 participants