You can use Producer Portal to run validation tests for SaaS products that you offer through Google Cloud Marketplace.
Before you begin
To test your products, you should use a Test Billing Account, which has 100% discounted usage. For steps to set up a Test Billing Account, see Create a Test Billing Account.
Run validation tests
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
.In Producer Portal, in the Technical integration section, visit the Test integration tab.
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.
Validation test steps
The tests involve the following steps:
The validation tool places orders for each plan that you defined in Producer Portal.
The validation tool cancels successfully purchased orders, to verify the cancellation process.
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.
Get more details about test errors
If you encounter errors when you run validation tests on your product, you can find out more about what happened:
In Producer Portal, in the Technical integration section, visit the Test integration tab.
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.
Related topics
- Preview your product in Producer Portal, to see how it appears to Google Cloud Marketplace users.
- Preview your product's pricing.
- Test your product's usage reporting.