[CyberSource logo]


Search documentation:

  Help  Advanced
        Published 08/06/2002 Table of ContentsPreviousNextIndex

Chapter 4

Deploying and Testing a Strategy

This chapter explains how you can deploy a strategy to a Decision Server and verify that it works correctly.

Important  Always test your strategies before you use them to process your customers' transactions.

Deploying a Strategy

Before you can use a strategy to process transactions, you must deploy it to a Decision Server.

  1. On the left navigation bar, click Businesses.
  2. The Choose a Business page opens.
  3. Click the name of the business that contains the strategy you want to deploy.
  4. The home page for the business opens.
  5. Find the version of the strategy to deploy. In the Action column for that version, click Deploy.
  6. Note  If the Deploy link is not available, you must edit your strategy so that it is deployable. A strategy is deployable when it does not contain any Unspecified points or incomplete modules.

    The Deploy a Strategy page opens.

  1. Type a brief description of the deployment and choose the Decision Server to deploy to, then click Deploy Strategy.
  2. Risk Manager deploys the strategy to the Decision Server.

    Note  If you receive an error about problems with the strategy's modules, you must edit the modules so they are complete. A module is complete when it does not contain any Unspecified points.

Viewing a Business' Deployment History

Each business includes a list of attempts to deploy that business' strategies. You can view a list of deployment attempts and see whether each one succeeded or failed.

To view this list, go to the home page for the business, then click "View deployment history for business." The Business Strategy Deployment History page opens and displays information about the business' deployment attempts.

Viewing Strategies Deployed on a Decision Server

You can view a list of strategies that are currently deployed on a Decision Server. If you no longer need to use a strategy, you can remove it from the Decision Server.

  1. On the left navigation bar, click Deployed Strategies.
  2. The Currently Deployed Strategies page opens.
  3. Choose a Decision Server from the list, then click Go.
  4. Risk Manager displays a list of strategies that are currently deployed on the Decision Server.

  1. To remove a strategy from the Decision Server, click Remove next to the appropriate strategy, then click OK.
  2. Risk Manager removes the strategy from the Decision Server.

Creating a Test Plan

Before you test your strategy, create a test plan, so you can ensure that you have tested the strategy completely.

Your test plan should include all of the following components:

Also, you should create a set of test transactions that will test both the true and the false branches of each rule.

Sending Test Transactions

You can make sure that your strategy is working correctly by sending test transactions and looking at their results. To save time, you can also create templates that include a name, address, and other information for the transaction.

Sending a Single Transaction

  1. On the left navigation bar, click Test Transactions.
  2. The Test Transactions page opens.

  1. Under Risk Manager Settings, choose the Decision Server where your strategy is deployed, and type the appropriate business name and strategy name.
  2. Note  The business name and strategy name are case-sensitive.

  3. Under Order Information, type a reference number for the transaction.
  4. Under Billing Address, Shipping Address, and Payment Details, type the appropriate information.
  5. Under Products, type the quantity, product name, price, and any custom fields for each product in the order.
  6. Click the More button if you have more than two products.
    For custom fields, use the format name1=value1,name2=value2,name3=value3.
  7. Under Custom Request Fields, type the names and values of any custom fields for the entire request.
  8. Click Run Transaction.
  9. Risk Manager runs the transaction and displays the request and reply messages in Extensible Markup Language (XML) format.
    To find out whether the transaction was accepted, rejected, or marked for review, look for the value of RmRflag near the beginning of the reply. For example, if the transaction is accepted, the reply will include the following text:
    <RmRflag>ACCEPT</RmRflag>

Creating a Transaction Template

  1. Follow the instructions in Sending a Single Transaction to specify information for the template. Do not click the Run Transaction button.
  2. Next to the Use Template list, click Save.
  3. A pop-up window appears.
  4. Type a name for the template.
  5. If you want to use the template every time you open the Test Transactions page, type the name default.
  6. Click OK.
  7. Risk Manager saves the template.

Working with an Existing Template

  1. On the left navigation bar, click Test Transactions.
  2. The Test Transactions page opens.
  3. In the Use Template list, choose the name of the template to open.
  4. Risk Manager opens the template.

Copyright © 2002 CyberSource Corporation.
TOC PREV NEXT INDEX