April 8, 2020
Estimated Post Reading Time ~ 1 mins

Test Page Generator

Getting Started

Install the ACS AEM Tools package via the AEM Package Manager and then open Test Page Generator from the AEM Tools console, or directly at /etc/test-page-generator/test-page-generator.html

To get to the AEM Tools console from the Touch UI, from the left rail navigation, select Tools > ACS AEM Tools > Test Page Generator.
Overview

Test Page Generator is a utility to automatically generator large numbers of pages to test and validate behaviors at scale.

screenshot-initial

screenshot-filled-out

All Property values will be stored as String or String[]
Denote String[] properties by checking Multi and comma-delimitting the values
Server-side evaluated JavaScript can be used to create “dynamic values” in properties; If the property value begins with {{ and ends with }} the contents of the braces will be evaluated by the JS Script Engine.
All JS must evaluate to a String or Number; expressions evaluating to a JavaScript object will fail.
Buckets can be created as CQ Pages or Folders (Since v.0.0.18)

screenshot-running

Be patient while it runs; Large generators can take some time. Performance will differ based on TarPM vs TarMK vs MongoMK as well

screenshot-complete

When complete, some information will be provided and a link to the new content tree in CRXDE Lite

screenshot-crxdelite

Spot-check your generated pages to make sure everything looks good!
event-user-data (Since v0.0.30)

event-user-data of acs-aem-tools.test-page-generator is set for modifications invoked by this feature.


aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.