Testing

Modified on 2012/03/06 19:59 by mwilley — Categorized as: Uncategorized

Testing

Testing Your Order XML

Testing is an important part of the integration process, regardless of whether you are using the ezp Builder, the ezp Builder + ezp Commerce, or just doing an Web Service Integration. It is important to ensure that any bugs are found before your customers start to place live orders. Your account will not be activated for live orders until the testing process is complete.

If you are not using the ezp Commerce module, you will post order XML to ezprints, as is described in previous sections. The first phase of testing will involve testing the XML you've generated to ensure it is valid and meets the ezprints specifications. When testing, please use realistic data in your orders - do not use unrealistic quantities or dollar amounts.

During integration, your account with ezprints is in Test mode, so orders are stored in the ezprints database, but they are not posted to production. While in Test mode, your orders will not be printed or shipped. Because orders are not posted to production, they will not appear in the ezp Partner Portal.

While in Test mode, you can post as many orders as you like. You should post those orders to the production URLs mentioned in the Posting URLs section. Remember that when posting to the production URLs, you will receive a reference number in response to your posts. Partners should build retry logic based on the receipt of that reference number. In other words, if you received the reference number in response to your post, we received the order. If you didn't receive the reference number, we have no record of your order and you will need to repost it.

When you are comfortable with your XML posts, email your Integration Manager with the ezp reference number from one of your orders. Your Integration Manager will find your order in the database and post it to production, checking for any necessary tweaks to the order XML.

Testing Checklist

Although your Integration Manager will work with you on each phase of the testing process, the following checklists are provided as a guide. Each item should be completed prior to launch.

XML Testing:


If you are using the ezp event notifications (optional), you should conduct the event notification tests below. These can be done after your Integration Manager places your accont in Live mode, or it can be done by asking your Integration Manager to manually post one of your orders to production.


End to End testing. This is defined as a user entering an order on your website or application (e.g. as your customer would do) and ensuring the order flows to us from your website or application as it would for a live order, without special intervention on your side or on our side. This will need to be done after your Integration Manager has placed your account in Live mode. The order is produced and shipped to the address on the order. You will receive this order to inspect for product quality and packaging quality.


Testing Costs

Testing is an important part of the integration process, so ezprints encourages thorough testing without charging partners for products. However, as some ezprints products are expensive to produce, we cannot offer unlimited product tests. Work with your Integration Manager and/or your Account Manager to determine the appropriate amount of test orders needed.