Just a second...

Setting up your test environment

Ensure that the environment you set up to test your solution is as close as possible to the production environment you intend to deploy.

There are many benefits to creating a test environment that is the same as your production environment:
  • It enables you to do regression testing when you change the version or configuration of any of the components in your solution.
  • It enables you to test your solution's performance under different levels of stress and load.
  • It provides a controlled environment where you can reproduce any issues that you encounter in your production system.
  • It provides an environment where you can capture runtime data that cannot easily be captured in production without affecting the behavior or performance of the production system.

To create a test environment that closely reflects your production environment, consider taking the following steps:

  1. Use the same hardware as you intend to deploy your production solution on.
    Consider the following aspects:
    • Hardware specifications
    • Operating system version and patch version

    For more information, see Requirements.

  2. Use the same network specifications as you intend to use in your production solution.
    Consider the following aspects:
    • Speed
    • Connection reliability
      Note: This is especially important when testing mobile applications. The behavior of your mobile client can be different depending on whether the client connects through WiFi or 3G, for example.
  3. Use the same JDK version as you intend to use to run your Diffusion server.
    Consider the following aspects:
    • The JVM version
    • Any tuning parameters you intend to use

    For more information, see Requirements.

  4. Include third-party components that will be used in your production solution.
    Consider your use of the following components:

    There are special considerations for using these third-party components with Diffusion. Ensure that you have fully reviewed the linked documentation for any of the components you are using.

  5. Ensure your Diffusion servers use the same version and configuration as in your production solution.
    Consider the following aspects:
    • Diffusion server version
    • Diffusion server configuration
    • Diffusion server security configuration
  6. Include all the components you have developed for use in your production system.
    Consider your use of the following components:
    • Clients

      Both those within your organization and those used by your customers.

    • Server-side components