Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Unable to create pages using Tough Day test.

newbieCQ
Level 1
Level 1

1. I have installed AEM 6.1 author instance on RHEL 6 (64 bit).

2. Now trying to create pages using "Tough Day" test but unable to do it. I am running below command to create the pages .

java -Xmx1024m -Dhostname=localhost -Dport=4502 -DcreatePages.toplevels=2 -DcreatePages.sublevels=2 -DcreatePages.subsublevels=2 -DcreatePages.concurrentUsers=3 -DcreatePages.rampup=1 -DcreatePages.thinkt=5 -DcreatePages.activate=true -DcreatePages.delete=true -jar toughday-6.0.jar createPages

The output of the above command is like below

 

Buildfile: /export/home/cq61/toughday/toughday/build.xml

tests:

createPages.replace.hostnameandport:
     [echo] Update hostname and port in the createPages files
     [copy] Copying 1 file to /export/home/cq61/toughday/toughday/work/createPages

createPages:
   [jmeter] Executing test plan: /export/home/cq61/toughday/toughday/work/createPages/createPages-1.2.jmx ==> /export/home/cq61/toughday/toughday/results/createPages/createPages.jtl
   [jmeter] Created the tree successfully using /export/home/cq61/toughday/toughday/work/createPages/createPages-1.2.jmx
   [jmeter] Starting the test @ Thu Oct 15 18:29:45 UTC 2015 (1444933785533)
   [jmeter] Waiting for possible shutdown message on port 4445
   [jmeter] Tidying up ...    @ Thu Oct 15 18:29:53 UTC 2015 (1444933793058)
   [jmeter] ... end of run

BUILD SUCCESSFUL
Total time: 13 seconds

I am unable to see any pages getting created in the Sites. Do I have to provide any additional information to create pages using tough day test?

 

Thank you,

1 Accepted Solution
kautuk_sahni
Correct answer by
Community Manager
Community Manager

Hi newbieCQ

Please go through the Opar Prkar Gill's reply and check if that the case.

Apart from that please find below some good references for the same :-

Link 1:- https://docs.adobe.com/docs/en/aem/6-1/develop/test/tough-day.html (step by step process mentioned)

Link 2:- http://cq-ops.tumblr.com/post/63389941512/how-to-benchmark-web-content-authoring-performance

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni

View solution in original post

3 Replies
Peter_Puzanovs
Community Advisor
Community Advisor

Simply install default content (out of the box Geometrixx) and prepare your own JMeter tests for those paths. Will work out even better as you would be in total control of your Tough day 😉

 

Thanks,

Peter

Opkar_Gill
Employee
Employee

Hi Peter,

can you check your error.log, access.log and request.log files. You might be getting an exception which is preventing toughday from working.

In AEM6.1 CSRF functionality was added which may be causing this issue.

Regards,

Opkar

kautuk_sahni
Correct answer by
Community Manager
Community Manager

Hi newbieCQ

Please go through the Opar Prkar Gill's reply and check if that the case.

Apart from that please find below some good references for the same :-

Link 1:- https://docs.adobe.com/docs/en/aem/6-1/develop/test/tough-day.html (step by step process mentioned)

Link 2:- http://cq-ops.tumblr.com/post/63389941512/how-to-benchmark-web-content-authoring-performance

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni

View solution in original post