Testing

Testing modes differ based on the processing mode being utilized.

Testing for Pass-through and Active Processing

Testing Pass-through and Active modes can be performed locally by updating your localhosts file to point to a Spec staging IP. The process for this is as follows:

  • If you don't have it already get your Spec staging hostname from the Spec platform team.

  • Open your localhosts file in a text editor and add an entry that includes IP address of the staging version of the Spec staging hostname and your property's domain. For example: 1.2.3.4 www.mysite.com

  • Open a browser and request that domain.

  • Check that your site is functioning as expected, then remove the hosts file entry and save the file.

  • Once you're happy with the functionality of your Spec configuration, you can go live.

Testing for CDN Mirror

Testing for CDN Mirror is dependent on the external service being used to send mirrored HTTPS requests to Spec, but the approach is to use debug headers to dynamically enable invoking the CDN configuration or edge worker that mirrors traffic to your Spec region.

Last updated