All Products
Search
Document Center

Marketplace:Self-test SaaS Products

Last Updated:Jun 02, 2022

To make sure that the instances of your software as a service(SaaS) product can be properly produced and used, you must self-test the SaaS product before you publish it.

To make sure that the instances of your software as a service(SaaS) product can be properly produced and used, after you submitted your SaaS product, there will be several approval steps and one of them is self-testing. Please pay more attention to the approval process of your product (at ACPN - Marketplace - Listing console), when the process goes to self-testing step, you need to finish the self-testing and then confirm it so that the process could go to next step.

We recommend you read the document below before you start self-testing.

https://www.alibabacloud.com/help/en/marketplace/latest/background-knowledge-before-publish-saas-product-on-marketplace

1. Self-test an SaaS product accessed in Compute Nest mode

If you access your SaaS product in Compute Nest mode, you don't need to do the self-test in marketplace, in another word,the self-test step will automatically passed.

The only thing you need to make sure is that you have accessed your SaaSproperly to Compute Nest platform.

2. Self-test an SaaS product accessed in License mode

Marketplace need you to make sure that you have accessed the two APIs of license mode so that you can get the business information of a license and then activate it.

In order to make sure you have accessed the Describe License API, marketplace ask you to get the InstanceID of a test license and then fill it back to the console. This action just like you get the sms verification code and then fill it to the website.

When you click the 'Self-Testing' button on your SaaS product approval flow, you will see the pop window with the test license.

111222

After you call the 'Discribe License' API with the test license, you can get the Instance ID, then fill it in the text box.

Then make sure you have also accessed the 'Activate License' API, click 'Self-testing Finished' button. If the Instance ID is right, the self-testing step is passed.

3. Self-test an SaaS product accessed in SPI mode

Alibaba Cloud marketplace provided you a SPI notification tools to help you finish the self-testing.

In this tools, you can simulate all the senarios that a SaaS product could meet during the whole life cycle, they are:

1) New Purchase

This is a necessary senario that you must test. When customer purchase your SaaS product, marketplace inform you a new purchase, then you need to create a new instance for the customer. Otherwise you may not be able to start customer's service

2) Renew

If your product's pricing plan is subscription, this is a necessary senario. Otherwise customer may not be able to continually use the service after he renewed his service, or he may not be able to change his free-trail version to a formal version.

3) Upgrade

If your product have more than one sku, this is a necessary senario. Otherwise customer may not be able to use a higher version of your service after he successfully upgrade his service at marketplace.

4) Expire

This is a necessary senario that you must test. Otherwise you may not be able to suspend customer's service in a timely manner and got capital lost.

5) Release

This is a necessary senario that you must test. Otherwise you may not be able to delete customer's service in a timely manner and got capital lost.

6) Auto Login

This is a necessary senario that you must test. Otherwise customer may not login his service from marketplace console.

When you have finished all the SPI notification test and make sure that your system could resopnse the SPI notifycation rightly, please click "Self-testing Finished" button.

333

For more information of SPI, please go to the document below.

https://www.alibabacloud.com/help/en/marketplace/latest/spi-reference