Test your SaaS product's integration in Producer Portal

This page describes how to use to preview your SaaS product to see how Google Cloud Marketplace users will experience it. Also, how to run integration tests on a SaaS product before you submit it for review.

Please refer to Create a Test Billing Account to create a 100% discounted billing account that could be used for testing.

Preview an unpublished product

To preview an unpublished product:

  1. Open Producer Portal in the Google Cloud console:

    https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID
    

    Replace YOUR_PUBLIC_PROJECT_ID with the ID for the public project that you created for Cloud Marketplace—for example, my-organization-public.

  2. In Producer Portal, in the Product Details section, make any changes that you want to make to your product's information.

  3. In the Pricing section, make any changes that you want to make to your plans and pricing.

    If you make changes to your plans or pricing, you can still preview your product's Cloud Marketplace product page, but you can't preview the process of purchasing your product until the new pricing details are approved by Google.

  4. Click Preview to generate and view a preview of your product. When you click this button, you're redirected to a staged preview version of your product's Cloud Marketplace product page, which you can view to verify the information it contains.

  5. After your current Pricing details are approved by Google, you can use this preview Cloud Marketplace product page to test the user experience of purchasing your offered plans.

    If you're testing purchasing for a subscription plan, make sure that you also verify that you can turn auto-renewal off and on.

    You can only have one currently-active purchase of a product per account, so if you want to test the user experience of purchasing multiple different plans, you must cancel your previous order before you make a new purchase.

Preview a new pricing plan for a published product

  1. Open Producer Portal in the Google Cloud console:

    https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID
    

    Replace YOUR_PUBLIC_PROJECT_ID with the ID for the public project that you created for Cloud Marketplace—for example, my-organization-public.

  2. In the Product Details section, make any changes that you want to make to your product's information.

  3. In the Pricing section, click EDIT CONTENT to unlock your pricing information so that you can make changes to it.

  4. Make any changes that you want to make to your plans and pricing.

  5. Click the PREVIEW button to generate and view a preview of your product. When you click this button, you're redirected to a staged preview version of your product's Cloud Marketplace product page, which you can view to verify the information it contains.

  6. After your new Pricing details are approved by Google, you can use this preview Cloud Marketplace product page to test the user experience of purchasing your offered plans.

    If you're testing purchasing for a subscription plan, make sure that you also verify that you can turn auto-renewal off and on.

    You can only have one currently-active purchase of a product per account, so if you want to test the user experience of purchasing multiple different plans, you must cancel your previous order before you make a new purchase.

Run validation tests in Producer Portal

  1. Open Producer Portal in the Google Cloud console:

    https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID
    

    Replace YOUR_PUBLIC_PROJECT_ID with the ID for the public project that you created for Cloud Marketplace—for example, my-organization-public.

  2. In Producer Portal, in the Technical integration section, visit the Test integration tab.

  3. In the Test integration tab, under Validation test, click Run test.

After you click Run test, Google Cloud Marketplace automatically runs validation tests on your product. Under Validation test, you see a brief description of the progress of the validation tests, including an estimate of how long they might take to complete.

The tests involve the following steps:

  1. The validation tool places orders for each plan that you defined in Producer Portal.

  2. The validation tool cancels successfully purchased orders, to verify the cancellation process.

  3. The validation tool modifies orders to verify that it can successfully upgrade and downgrade orders.

After the validation tests run successfully, under Validation test, you see a message informing you that the validation completed successfully.

Find out more after a validation test fails

If you encounter errors when you run validation tests on your product, you can find out more about what happened:

  1. In Producer Portal, in the Technical integration section, visit the Test integration tab.

  2. In the Test integration tab, under Validation test, click View results.

    In the window that appears, you see information about the test and the operation that resulted in the error, and text output that you can use to identify the cause of the error.