We're trying to load test our AEM 6.1 instance using Tough Day as described in the documentation, but we fail to do so because we keep getting HTTP 403 (Unauthorized) errors in the access logs.
Documentation page: https://docs.adobe.com/docs/en/aem/6-1/develop/test/tough-day.html
Used installation: AEM 6.1 author instance with sample content and default admin password (no dispatcher)
Command used:
java -Xmx1024m -Dhostname=localhost -Dport=4502 -jar toughday-6.0.jar -Dauthoring.loop=2 -Dauthoring.thread=2 authoring
Output:
Buildfile: ~/Downloads/toughday/build.xml tests: authoring.replace.hostnameandport: [echo] Update hostname and port in the authoring files [copy] Copying 1 file to ~/Downloads/toughday/work/authoring authoring: [jmeter] Executing test plan: ~/Downloads/toughday/work/authoring/authoring.jmx ==> ~/Downloads/toughday/results/authoring/authoring.jtl [jmeter] Created the tree successfully using ~/Downloads/toughday/work/authoring/authoring.jmx [jmeter] Starting the test @ Mon Sep 21 16:36:19 CEST 2015 (1442846179843) [jmeter] Waiting for possible shutdown message on port 4445 [jmeter] Tidying up ... @ Mon Sep 21 16:36:46 CEST 2015 (1442846206939) [jmeter] ... end of run BUILD SUCCESSFUL Total time: 30 seconds
Access logs and JTL file are available in a zip file at https://dl.dropboxusercontent.com/u/1326340/toughday-logs.zip (could not attach them?)
Does any else have this problem? How can we fix it?
Is there a target/release date for Tough Day 6.1?
Views
Replies
Total Likes
I think you might be seeing 403 errors because of the security filters added in AEM 6. You can disable them for your load tests and re-enable them once completed.
Disable the Referrer filter by checking allow empty checkbox - http://localhost:4502/system/console/configMgr/org.apache.sling.security.impl.ReferrerFilter
Disable CSRF filter by removing the relevant HTTP methods(POST, PUT, DELETE) from filter.methods property-
-http://localhost:4502/system/console/configMgr/com.adobe.granite.csrf.impl.CSRFFilter
Views
Replies
Total Likes
That didn't help. I don't succeed in disabling them. Changes aren't saved. Are the health checks re-enabling this?
Views
Replies
Total Likes
Something is not right if you are not able to save the changes. Did you click on "Save" button and see any exceptions in the logs when you did that ?
Views
Replies
Total Likes