[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-11。"],[],[],null,["# Testing your VM product\n\nThis page covers the process of testing your VM product before submitting it for\nreview.\n\nPreview and test your product\n-----------------------------\n\nTo see how users will experience your product, preview and test the product. The\npreview walks you through the process of viewing and deploying your product, as\na customer sees it.\n\nTo enable deployment previews for your product, the Cloud Storage object\nmust be uploaded and validated in Producer Portal.\n\nTo preview and test your product:\n\n1. Open Producer Portal in the Google Cloud console:\n\n ```\n https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID\n ```\n\n Replace \u003cvar translate=\"no\"\u003eYOUR_PUBLIC_PROJECT_ID\u003c/var\u003e with the ID for the public\n project that you created for Cloud Marketplace---for example,\n `my-organization-public`.\n | **Note:** If you don't see the link, or can't access the URL, verify that you've selected the correct project and have the Editor (`roles/editor`) role for the project.\n2. In the list of products, click the name of your product.\n\n3. On the **Overview** page, click **Deployment package**.\n\n4. Verify that your deployment package was read and validated successfully and\n click **Deployment preview**.\n\n5. Review the deployment details and click **Deploy**.\n\nYour preview is deployed.\n\nAfter you've successfully deployed your product and verified that it behaves as\nyou expect, you can exit your preview.\n| **Note:** If you've turned on **Use Marketplace owned images** for the product that you're previewing, then when your customers use your product, they access a Google-owned copy of the VM image you created. However, when you test your own product, Cloud Marketplace uses your original version of the VM image for your testing.\n\nTo delete the preview deployment, open the Deployment Manager\npage and delete the deployment.\n\nEnd-to-end testing\n------------------\n\nWe recommend you test each of your products' end-to-end flows, to ensure a\ngreat customer experience.\n| You can start the following testing instructions as soon as your Partner Engineer informs you that your product is ready for end-to-end testing.\n\nBefore starting testing procedures, verify that all testers have access to the\nproduct. If the product image(s) is not in your public project, ensure that\neach of the testers is added as a viewer to the development project which\ncontains the product image(s). The testers need to be users of Cloud console,\nand must be added to the project.\n\n### UI test plan\n\nOn the [Cloud Marketplace](https://cloud.google.com/marketplace)\nsite, click **Explore Marketplace** and then search for your product(s).\nEnsure that the product card is visible in the search results,\nand that the information on the card is displayed correctly. If you have more\nthan one product, the content of each product must be distinguishable from\nthat of the other products.\n\n1. Go to the product details page by clicking on your product, and verify the following:\n - The header is displayed with your name, category, estimated costs and **Launch** button.\n - The product description is displayed with a **Learn more** link that points to a specific product or service page on your website.\n - The tech stack is displayed, with the product type, version, last updated timestamp, and category ID and components, if applicable.\n - The **Pricing** section has the price breakdown, as well as working links to pricing and [free trial](/free-trial/?hl=en_US&_ga=2.158098680.-378933855.1562096601&_gac=1.202315427.1562683467.COn65saJqOMCFbubswodhicJmQ).\n - The pricing details are correct, and the **Show more** arrow expands properly.\n - The **Maintenance \\& support** section clearly specifies whether the support is bundled into the pricing. The section has:\n - A description of available support channels and their hours of service.\n - A link to your support site.\n - The **Terms of service** section includes a link to your End User License Agreement (EULA).\n\nDeployment flow\n---------------\n\n1. Go to the product details page.\n2. Click **Launch** and fill in all of the applicable input fields to deploy the product. Ensure the following:\n - The product has the same default machine type and disk size as are specified in the pricing table on the product details page.\n - Links work correctly.\n - HTTP and HTTPS ports are checked/unchecked accurately.\n3. Deploy the product on a default machine type, and verify that the product is deployed successfully. Ensure the following:\n - You can SSH into the virtual machine instance.\n - Test the license key in an SSH session: \n\n ```sh\n curl -H \"Metadata-Flavor: Google\" http://metadata.google.internal/computeMetadata/v1/instance/licenses/?recursive=true\n ```\n - Application info is loaded.\n - If the application has admin URL, log into the Admin console with the username/password.\n - Check that the specified ports are opened.\n4. Repeat above steps for different instance sizes (especially large and small) and regions.\n - Repeat the above steps with cloned instances (cloned hard drives).\n\nPost-deployment next steps\n--------------------------\n\nIf your product has any post-deployment next steps in its [Getting Started guide](/marketplace/docs/partners/vm/set-up-environment#getting-started-document),\nthen you must also test these steps to ensure that the deployment of your\nproduct is successfully completed."]]