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

Tough-day testing for custom sites

Avatar

Level 2

I am referring https://docs.adobe.com/docs/en/aem/6-1/develop/test/tough-day.html to check the performance of creating pages. It creates pages well for geometrixx site. 

However, I was trying if we can point it to create pages specific to our site and not default geometrixx one. If this is possible, what do I need to do to point it to my site. Also, If there are 5 different templates and I want to create 500 pages for  each of the template, do I need to give any sample page  for each template so that script can create it OR does it required writing altogether a new script for this ?

Any direction would really be helpful. 

3 Replies

Avatar

Level 10

The tool is there to test your own sites - not just to test Geometrixx sample sites. Follow the procedure listed here: 

AUTHORING SCENARIO

From 5.5 onwards there are new author scenario tests which simulate all GET and POST requests (97% GET, 3% POST).

To achieve this we have defined a scenario that simulates a regular use case for authors. This includes steps including creating a page, adding some components, rating some content, activating some pages and deleting pages.

The Authoring Scenario uses the Geometrixx Demo Site:

Login into CQ (http://<hostname>:<port>)
Open WebSites
Navigate to Geometrixx Demo Site --> English

*****************

Replace use of Geometrixx Demo Site with your own site. 

Hope this helps. 

Avatar

Employee Advisor

The toughday is basically a running a number of scripts against your site using jmeter. To understand the inner working of it, you can unpack the JAR file and have a look there.

But I would suggest to build a proper jmeter test script yourself instead of customizing the toughday scripts.

kind regards,
Jörg

Avatar

Administrator

Hi 

Adding a reference to what Jörg said:

Link:-  http://labs.6dglobal.com/blog/2013-04-27/jmeter-cq-smoketesting-and-much-much-more/ 

Link:- https://guide.blazemeter.com/hc/en-us/articles/207421705-How-to-use-JMeter-for-Login-Authentication

Link:- http://cq-ops.tumblr.com/post/96737865079/protocol-for-a-total-system-test-to-simulate-a

Link:- https://docs.adobe.com/content/docs/en/cq/5-6-1/testing/tough-day.html#Download

//

CREATE PAGES

Create a bunch of geometrixx pages in the repository.

 

Example Usage
     
1
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-5.6.1.jar createPages

Code samples are intended for illustration purposes only.

CREATE PAGES CLUSTER

Create a bunch of geometrixx pages in a clustered repository.

 

Example Usage
     
1
java -Xmx1024m -Dhostname=localhost -Dport=4502 -Dhostname.slave=localhost -Dport.slave=8080 -DcreatePagesCluster.concurrentUsers=10 -DcreatePagesCluster.rampup=1 -DcreatePagesCluster.loop=10 -jar toughday-5.6.1.jar createPagesCluster

Code samples are intended for illustration purposes only.

MSM

Test the MultiSiteManager (MSM) using geometrixx.

 

Example Usage
     
1
java -Xmx1024m -Dhostname=localhost -Dport=4502 -DCQ5MSMNewSite.count=10 -DCQ5MSMNewSite.testplan=CQ5MSMNewSite-1.0.jmx -jar toughday-5.6.1.jar CQ5MSMNewSite

Code samples are intended for illustration purposes only.

 

DAM

Create a number of different images in the repository. This also triggers some DAM workflows
(metadata extraction, renditions etc.).

 

Example Usage
     
1
java -Xmx1024m -Dhostname=localhost -Dport=4502 -DuploadImage.count=10 -jar toughday-5.6.1.jar uploadImage

Code samples are intended for illustration purposes only.

 

I hope this would be of some help to you.

Thanks and Regards

Kautuk Sahni