• Use Cases
    • Team
      • Technical
      • Digital
    • Industry
      • eCommerce
      • Travel
      • Gambling
      • Public Sector
    • Website Type
      • EnterpriseHigh traffic websites with advanced functionality, such as booking, browsing or paying.
      • Small/MediumWebsites with low-mid traffic that have one or more key functionalities including checkout, sign-ups or account login.
      • AgenciesWeb agencies that help clients build, maintain and improve their websites.
  • Platform
    • Performance
    • Security
    • Reliability
    • How It Works
  • Customers
  • Learn
    • About Us
    • Knowledge Base
    • From The Blog
      • How Travel Disruptions Have Affected Website Performance
      • The Cloudflare Incident; How it affected us
      • New Feature: Sitemap Monitoring
  • Pricing
  • Log In
  • Get Started
  • Use Cases
    • Team
      • Technical
      • Digital
    • Industry
      • eCommerce
      • Travel
      • Gambling
      • Public Sector
    • Website Type
      • EnterpriseHigh traffic websites with advanced functionality, such as booking, browsing or paying.
      • Small/MediumWebsites with low-mid traffic that have one or more key functionalities including checkout, sign-ups or account login.
      • AgenciesWeb agencies that help clients build, maintain and improve their websites.
  • Platform
    • Performance
    • Security
    • Reliability
    • How It Works
  • Customers
  • Learn
    • About Us
    • Knowledge Base
    • From The Blog
      • How Travel Disruptions Have Affected Website Performance
      • The Cloudflare Incident; How it affected us
      • New Feature: Sitemap Monitoring
  • Pricing
  • Log In
  • Get Started

Back to Knowledgebase

Categories

Account & Billing

Getting Started

Performance Monitoring

Alerts & Notifications

Uptime Monitoring

Security Monitoring

Synthetic User Journey Monitoring

Interpreting Data

Assurance and Search

Sitemap Monitoring

Other Articles

Action: ApiCall

Action: CheckCookie

Action: Alert

Action: Dropdown

Action: ClickCoordinates

Action: PageSource

Action: GenerateItem – Email

The ‘GenerateItem’ action is designed to create dynamic ‘items’ to use elsewhere in a script. Unlike the PickItem action which selects from a predefined list, this action used for creating things dynamically such as randomised email addresses, passwords or dates.

Often in user registration journeys we need to create unique email addresses so as not to always use the same one and therefore be rejected by the target website’s validation. We recommend using a ‘consistently unique’ email format for this so you can easily search for and delete accounts registered using the defined format. The idea is that part of the email addresses used is consistent (i.e always start with “rapidtest”) and part is randomised so every address is unique.

To achieve this you would enter this in the Format attribute; “rapidtest+%s@example.com”, and this in the Parts attribute; “%random_string%”. The “%s” in the Format will be replaced by the “%random_string%” Part, which in turn generates a random set of characters. The final email addresses could look something like these:

  • rapidtest+1Bstt8Ay@example.com
  • rapidtest+gaS47F10@example.com
  • rapidtest+Ru4S4gM3@example.com

In order to generate an email address, select the ‘Email’ item type when adding the GenerateItem action.

Similarly to the PickItem action, all GenerateItem actions must be given a ‘Name’ attribute – this is where the generated item will be placed in the $RapidStore namespace.

Next, define your ‘Format’ and ‘Parts’ attributes (multiple parts must be separated by commas). You may use as many “%s” as you wish – they will be replaced in sequence by the Parts list.

Start your free 30-day trial today

Start monitoring today, no credit card required. Or chat to our friendly team about your requirements.

GET STARTEDLet’s Talk

RapidSpike - Global eCommerce Winner 2021
RapidSpike - Northern Digital Awards Winners
RapidSpike - Insider Yorkshires Most Exciting Companies
RapidSpike - UK Dev Awards 2021 Winner
RapidSpike - Prolific North Top Tech 30 To Watch
RapidSpike - Cyber Accelerator Alumni

Copyright © 2022 — All Rights Reserved.

RapidSpike - AWS Well Architected
RapidSpike - AWS Partner Network
  • Solutions
    • Technical
    • Digital
    • eCommerce
    • Travel
    • Gambling
    • Public Sector
    • Enterprise
    • Small/Medium
    • Agencies
    • New Relic
    • Customers
    • Pricing
  • Platform
    • Performance
    • Security
    • Reliability
    • How It Works
    • Insights
    • Alerting & Integrations
    • All Features
    • Synthetic User Journeys
    • Google Lighthouse
    • Core Web Vitals & Performance
    • Webpage Test
    • Real User Monitoring
    • Vulnerability Scanning
    • Magecart Attack Detection
    • Uptime
    • Assurance & SEO
  • Learn
    • Blog
    • Knowledge Base
    • API Documentation
    • System Status
    • RapidSpike Roadmap
    • Log In
  • Company
    • About Us
    • Contact
    • Careers
    • Press
    • Privacy Policy
    • Terms & Conditions
    • Vulnerability Disclosure