When running the load-test service with the default options (-d 60 -r 200 -c 2), I get good results in the user-sim log itself with just a few sporadic errors.
However, I see quite a few HTTP 500 errors for logins in the front-end service's log looking like:
[stdout] Received login request
[stdout] 500
[stdout] Error with log in: true
[stdout] �[0mGET /login �[33m401 �[0m126.906 ms - -�[0m
Note that some logins do succeed. For instance:
[stdout] Received login request
[stdout] {"user":{"firstName":"","lastName":"","username":"barronkelly","id":"58e79f1b0d8eec0009da0e1d","_links":{"addresses":{"href":"http://user.apcera.local:8080/customers/58e79f1b0d8eec0009da0e1d/addresses"},"cards":{"href":"http://user.apcera.local:8080/customers/58e79f1b0d8eec0009da0e1d/cards"},"customer":{"href":"http://user.apcera.local:8080/customers/58e79f1b0d8eec0009da0e1d"},"self":{"href":"http://user.apcera.local:8080/customers/58e79f1b0d8eec0009da0e1d"}}}}
[stdout] 58e79f1b0d8eec0009da0e1d
[stdout] Merging carts for customer id: 58e79f1b0d8eec0009da0e1d and session id: Ygumay5VY1doTJS18T-l_Mwc0gwsfcW1
[stdout] Carts merged.
[stdout] Sent cookies.
[stdout] �[0mGET /login �[32m200 �[0m152.222 ms - 13�[0m
I'm wondering if the login errors I see in the front-end log are intentional and part of the test. If not, why are the errors not reflected in the user-sim log and statistics?
Thanks,
Roger Berlind