Transforming GraniteDS or BlazeDS data

To test an application that is developed on Granite Data Services (GraniteDS) or Adobe BlazeDS framework, you must deserialize or transform the objects that are encoded in the AMF format to the XML format.

Before you begin

  • IBM® Rational® Performance Tester supports GraniteDS 2.3.2.
  • For GraniteDS transformation, you must add the lt-granite.jar and granite.jar to the class path, along with any other JAR files that are required for the deserialization process.
  • For BlazeDS, you must add the JAR files that are required for the deserialization process to the class path. To add lt-granite.jar or any other JAR files to the class path, right-click the project in Test Navigator view and click Properties. Click the Libraries tab, and then click Add External JARs. Browse to PathToTheProduct\IBMIMShared\plugins\com.ibm.rational.test.lt.datatransform.adapters_VersionNumberPathToTheProduct\HCLIMShared\plugins\com.ibm.rational.test.lt.datatransform.adapters_VersionNumber to select lt-granite.jar or to any other folder to select other JAR files.
  • You must set the JAR files in order. Click the Order and Export tab and ensure that you have the following order:
    1. JRE.
    2. Plug-in Dependencies.
    3. lt-granite.jar.
    4. Any Application JAR files.
    5. BlazeDS JAR files if you use BlazeDS. For instance, flex-messagin-common.jar and flex-messaging-core.jar.
    6. granite.jar.

Procedure

To transform the GraniteDS or BlazeDS data:
  1. Record the test.
  2. On the toolbar, click the Re-correlate test and transform data icon.
  3. Click the Convert Granite Data Service (AMF) to XML check box and click Finish.
    The AMF data is transformed to XML.

What to do next

You can now correlate the data.