This test is designed to show the use of a cookie and url param (querystring) to validate a user against a shortened URL that is sent via SMS/email

  • For the purposes of this test the url param is generated, but not tested for validity or uniqueness
  • The test verifies a matching cookie on the 'Target URL'


  1. Acquire value for cookie
  2. Set cookie value
    *In a production scenario the cookie would be acquired and set when the user authenticates against a website
  3. Verify cookie value
    *If cookies are disabled this test will fail : negative case will occur-see below
  4. Acquire value for url param
    *In a production scenario the url param would be determined at the time of sending the SMS/email message and may or may not be specific to the targeted user
  5. Build full URL
  6. Shorten URL with