Expand my Community achievements bar.

SOLVED

Load testing for Author instance

Avatar

Level 4

Hi

Did anyone performed a\the load testing on AEM author instance? Our scenario is that we want to perform the load testing during the bulk upload of assets in to DAM.

Which tool is better and it would be great help if anyone can provide the steps to perform it.

Thanks

~S

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Please refer to the documentation link:-

// Link:- https://docs.adobe.com/docs/en/aem/6-1/deploy/best-practices/best-practices-for-performance-testing....

Testing Tools

  • Adobes Tough Day tool can be used to generate load on AEM instances and collect performance data.  Adobes AEM engineering team actually uses the tool to do load testing of the AEM product itself. The scripts executed in Tough Day are configured via property files and JMX XML files. For more information, see the Tough Day documentation.
  • AEM provides out of the box tools to quickly see problematic queries, requests and error messages. For more information, see the Diagnosis Tools section of the Operations Dashboard documentation.
  • Apache provides a product called JMeter that can be used for performance and load testing as well as functional behavior. It is open source software and free to use, but has a smaller feature set than enterprise products and a steeper learning curve. JMeter can be found on Apaches website at http://jmeter.apache.org/
  • Load Runner is an enterprise grade load testing product produced by HP. A free evaluation version is provided. More information can be found on HPs website at http://www8.hp.com/us/en/software-solutions/loadrunner-load-testing/
  • Cloud based load testing tools like Neustar can also be used.
  • When it comes to testing mobile or responsive websites, a separate set of tools need to be used. They work by throttling network bandwidth, simulating slower mobile connections like 3G or EDGE. Among the more widely used tools are:
    • Network Link Conditioner - it provides an easy to use UI and works at a fairly low level on the networking stack. It includes versions for OS X and iOS;
    • Charles - a web debugging proxy application that in addition to several other uses, provides network throttling. Versions are provided for Windows, OS X and Linux.

Some more reference links that would help you:-

Link:-http://www.citytechinc.com/us/en/blog/2010/10/predicting_cq5_perfo.html

// How JMeter can be setup and used for a real life load test and stress testing.

Link:- https://helpx.adobe.com/experience-manager/kb/performance-tuning-tips.html

// Performance tuning tips | 6.x

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

6 Replies

Avatar

Level 9

Here is the doc which mentioned all the tools & their purpose. 

https://docs.adobe.com/docs/en/cq/5-6-1/deploying/monitoring_and_maintaining.html#Monitoring%20Perfo...

JProfiler could be a good option for your use case. It is totally depends on your need. What do you want to monitor.. Memory/CPU etc.

Jitendra

samery56615784 wrote...

 

Hi

Did anyone performed a\the load testing on AEM author instance? Our scenario is that we want to perform the load testing during the bulk upload of assets in to DAM.

Which tool is better and it would be great help if anyone can provide the steps to perform it.

Thanks

~S

 

Avatar

Correct answer by
Administrator

Hi 

Please refer to the documentation link:-

// Link:- https://docs.adobe.com/docs/en/aem/6-1/deploy/best-practices/best-practices-for-performance-testing....

Testing Tools

  • Adobes Tough Day tool can be used to generate load on AEM instances and collect performance data.  Adobes AEM engineering team actually uses the tool to do load testing of the AEM product itself. The scripts executed in Tough Day are configured via property files and JMX XML files. For more information, see the Tough Day documentation.
  • AEM provides out of the box tools to quickly see problematic queries, requests and error messages. For more information, see the Diagnosis Tools section of the Operations Dashboard documentation.
  • Apache provides a product called JMeter that can be used for performance and load testing as well as functional behavior. It is open source software and free to use, but has a smaller feature set than enterprise products and a steeper learning curve. JMeter can be found on Apaches website at http://jmeter.apache.org/
  • Load Runner is an enterprise grade load testing product produced by HP. A free evaluation version is provided. More information can be found on HPs website at http://www8.hp.com/us/en/software-solutions/loadrunner-load-testing/
  • Cloud based load testing tools like Neustar can also be used.
  • When it comes to testing mobile or responsive websites, a separate set of tools need to be used. They work by throttling network bandwidth, simulating slower mobile connections like 3G or EDGE. Among the more widely used tools are:
    • Network Link Conditioner - it provides an easy to use UI and works at a fairly low level on the networking stack. It includes versions for OS X and iOS;
    • Charles - a web debugging proxy application that in addition to several other uses, provides network throttling. Versions are provided for Windows, OS X and Linux.

Some more reference links that would help you:-

Link:-http://www.citytechinc.com/us/en/blog/2010/10/predicting_cq5_perfo.html

// How JMeter can be setup and used for a real life load test and stress testing.

Link:- https://helpx.adobe.com/experience-manager/kb/performance-tuning-tips.html

// Performance tuning tips | 6.x

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Level 4

Hi All,

Thank you this will help .

One thing we were using Tough Day tool to generate load on AEM author instances to upload the 1000 assets in to the DAM. We executed the below ommand to do this "java -Xmx1024m -Dhostname=localhost -Dport=4502 -DuploadImage.count=1000 -jar toughday-5.6.1.jar uploadImage"

As soon as excuted this command its started uploading the assets and extracted the jar file as well. But When we checked the result folder it was empty.

Does this tool creating the report also we were checking in result folder but all folders were empty any idea?

We want to capture the below scenario:

1. During loading, navigation screen response time per request

2. While upload is running, Perform search for different text strings in the product descriptions and response time need to be noted

3. While upload is running, screen navigation is performed for the items and response time need to be noted

4. Images uploaded  rate

5. Search responses return valid matching assets.

Thanks

~S

Avatar

Level 4

Hi Experts,

Does the Tough day tool generating the report also we were checking in result folder but all folders were empty any idea?

We want to capture the below scenario:

1. During loading, navigation screen response time per request

2. While upload is running, Perform search for different text strings in the product descriptions and response time need to be noted

3. While upload is running, screen navigation is performed for the items and response time need to be noted

4. Images uploaded  rate

5. Search responses return valid matching assets.

Thanks

~S

Avatar

Level 9

Hi,

I would like to suggest that you should write Jmeter script for each use case. That's how you can get track responses of each activity.

Jitendra

Avatar

Administrator

Hi 

Yes, Jmeter would act as an help to you.

Reference Link:- http://www.gastongonzalez.com/tech-blog/2013/11/17/aem-adobe-cq-load-testing

//Poor Man's Guide to Load Testing AEM / Adobe CQ

Thanks and Regards

Kautuk Sahni



Kautuk Sahni