This page covers the process of testing your VM product before submitting it for review.
Preview and test your product
To see how users will experience your product, preview and test the product. The preview walks you through the process of viewing and deploying your product, as a customer sees it.
To enable deployment previews for your product, the Cloud Storage object must be uploaded and validated in Producer Portal.
To preview and test your product:
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 the list of products, click the name of your product.
On the Overview page, click Deployment package.
Verify that your deployment package was read and validated successfully and click Deployment preview.
Review the deployment details and click Deploy.
Your preview is deployed.
After you've successfully deployed your product and verified that it behaves as you expect, you can exit your preview.
To delete the preview deployment, open the Deployment Manager page and delete the deployment.
End-to-end testing
We recommend you test each of your products' end-to-end flows, to ensure a great customer experience.
Before starting testing procedures, verify that all testers have access to the product. If the product image(s) is not in your public project, ensure that each of the testers is added as a viewer to the development project which contains the product image(s). The testers need to be users of Cloud console, and must be added to the project.
UI test plan
On the Cloud Marketplace site, click Explore Marketplace and then search for your product(s). Ensure that the product card is visible in the search results, and that the information on the card is displayed correctly. If you have more than one product, the content of each product must be distinguishable from that of the other products.
- Go to the product details page by clicking on your product, and verify the
following:
- The header is displayed with your name, category, estimated costs and Launch button.
- The product description is displayed with a Learn more link that points to a specific product or service page on your website.
- The tech stack is displayed, with the product type, version, last updated timestamp, and category ID and components, if applicable.
- The Pricing section has the price breakdown, as well as working
links to pricing and
free trial.
- The pricing details are correct, and the Show more arrow expands properly.
- The Maintenance & support section clearly specifies whether the
support is bundled into the pricing. The section has:
- A description of available support channels and their hours of service.
- A link to your support site.
- The Terms of service section includes a link to your End User License Agreement (EULA).
Deployment flow
- Go to the product details page.
- Click Launch and fill in all of the applicable
input fields to deploy the product. Ensure the following:
- The product has the same default machine type and disk size as are specified in the pricing table on the product details page.
- Links work correctly.
- HTTP and HTTPS ports are checked/unchecked accurately.
- Deploy the product on a default machine type, and verify that the product
is deployed successfully. Ensure the following:
- You can SSH into the virtual machine instance.
- Test the license key in an SSH session:
curl -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/licenses/?recursive=true
- Application info is loaded.
- If the application has admin URL, log into the Admin console with the username/password.
- Check that the specified ports are opened.
- Repeat above steps for different instance sizes (especially large and small)
and regions.
- Repeat the above steps with cloned instances (cloned hard drives).
Post-deployment next steps
If your product has any post-deployment next steps in its Getting Started guide, then you must also test these steps to ensure that the deployment of your product is successfully completed.