Performance & Load Testing AEM

Statement :Performance & Load Testing AEM

Solution :



Purpose of Testing:


  1. Longevity test 
  2. Identify maximum system capacity I
  3. KPI’s check under normal load 
  4. KPI’s check for drops in performance 

Requirements for Testing :

  1. Environments
  2. Testing Scripts
  3. Definition of Normal System Load
  4. Key Performance Indicators
  5. Agree on indicators
  6. Define a target value 
  7. Interpretation of results 
Use the below URL for details:

https://solutionpartners.adobe.com/content/dam/spp_assets/public/public_4/Performance_&_Load_Testing_AEM_-_Part_1.pdf

Continuous Integration for AEM in Linux OS

Statement : Continuous Integration for AEM
Solution :
  • Tools used for Continuous Integration for AEM
  1. Jenkins is a Continuous Integration system. It can be configured to work with any version control system, automatically pulling in your latest changes, compiling your source code, running your tests, and deploying your code. It is also commonly integrated with artifact repositories and static code analysis tools. 
  1. SonarQube is a free static code analysis tool that can be leveraged to measure and track code quality and technical debt. 
  1. Nexus OSS is a free repository manager, allowing for the mirroring and storage of your Maven dependencies
Follow the below URL for configuration of CI.

https://solutionpartners.adobe.com/content/dam/spp_assets/public/public_4/Continuous_Integration_for_AEM.pdf

 1 https://docs.sonarqube.org/display/SONAR/Requirements
 2 https://github.com/Adobe-Consulting-Services/lazybones-aem-templates
 3 https://github.com/Adobe-Marketing-Cloud/aem-project-archetype

Additional Resources:
 https://www.unixmen.com/install-oracle-java-jdk-8-centos-76-56-4/ https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-centos-7 https://docs.sonarqube.org/display/SONAR/Installing+the+Server https://github.com/Cognifide/AEM-Rules-for-SonarQube/releases https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner http://books.sonatype.com/nexus-book/reference3/index.html https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins https://maven.apache.org/guides/mini/guide-encryption.html

where Form posted Data stores in AEM

Statement : Where the data is stored when you have a custom component which accepts user inputs
Solution :
  • Where the data is stored when you have a custom component which accepts user inputs. Let’s use the following as an example:

  • Assume above the form is inside a paragraph system and the radio group is set like the following:

  • So once the user submits the form, the data is generated into CRX at the /content/usergenerated folder. For the example above, it is stored at:

this is how data looks like: