Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Tough Day tool doesn't work on AEM 6.1

Avatar

Level 4

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

JAR url: https://docs.adobe.com/content/docs/en/aem/6-1/develop/test/tough-day/_jcr_content/par/download_0/fi...

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?

3 Replies

Avatar

Employee Advisor

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

Avatar

Level 4

That didn't help. I don't succeed in disabling them. Changes aren't saved. Are the health checks re-enabling this?

Avatar

Employee Advisor

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 ?