CA Tuesday Tip: APM Customer Experience, Content Types, and APM 9.1

Discussion created by Hallett_German Employee on Dec 3, 2011
Latest reply on Dec 7, 2011 by MaryGreening
CA Wily Tuesday Tip by Hallett German, Sr. Support Engineer for 12/6/2011

APM Customer Experience, Content Types, and APM 9.1

It seem that almost daily I get an email about someone that is having trouble recording some application such as Excel or Cold Fusion using APM Customer Experience.

One issue typically encountered is that APM is unavailable to recognize a MIME content type that does not have a type of text (Popular ones are text/plain, text/html,text/xml).

[Geek education moment. MIME (Multipurpose Internet Mail Extensions ) is an Internet standard used on how to pass attachments through e-mail, web browsers, (via HTTP and HTTPS) and other means. Each attachment/HTTP component has an associated MIME type and subtype. This is presented in the format of type/subtype. Popular types include application,audio,image,multipart,text, video,vnd (vendor-specific), and x (experimental). ]

In 4.5.6/9.0.6 and later, an undocumented feature was added to support content types. All one has to do is add a new content type to the tess-customer.property listed below followed by a space. For example, below shows adding application/x-java-serialized-object to the trusted content types. Don't forget to restart TESS/TESS-MOM after making this change.

recorder.mainComponentTrustedContentTypes=x-application/amf text/plain text/html text/xml application/x-java-serialized-object

The forthcoming 9.1 release does the following
- Officially supports two new tess-customer.properties (Requires restart of TESS/MOM.)

The tess-default.properties file uses the recorder.mainComponentTrustedContentTypes - selected content types to use for ALL recordings
recorder.mainComponentAvailableTypes-- potential content types that can be used for ALL recordings

- A GUI interface in EACH recording session to select the available and trusted content types. This does not require a TESS/MOM restart.

In addition, APM 9.1 will show now any "unrecognized component" due to invalid or undefined content types. These can easily be added to a recording as well.

Discussion Questions:
- What content types do you use in your applications?
- Have you had issues recording these with APM Customer Experience?