BES Session Relevance Tester (requires BES 7.2)

(imported topic written by Lee Wei)

Hi all,

What started out as a test of the BigFix SOAP API has turned into a full-fledged Session Relevance Tester application.

I thought it might be useful for others as well.

The download link is at the end of the email.

At the high level, there are 2 main features in the BigFix Session Relevance Tester.

  1. Session Relevance Editor against the Web Reports context.

  2. Web Reports Editor to write and run reports.

Session Relevance Editor

I find starting the BES Console just to access the Presentation Debugger inconvenient as the Console might take a while to load if you have a large deployment. Hence the birth of this application.

Over the course of many weekends, I added different features along the way as I find more productive ways to work with Sessions Relevance.

For example, whenever I use the presentation debugger, I would start up multiple sessions so that I can test different statements. So I added the ability to comment out the relevance.

Here are some of the highlights.

  • Syntax highlighted editor for Session Relevance, including a detection of open/close parenthesis
  • Accepts comments using double slashes // (or /* */ block)
  • Automatically sort the results
  • Automatically split tuples into columns
  • Output results as Grid or HTML
  • Export to Excel
  • Support for printing (preview, page setup, other options)
  • Supports saving the documents (.bsr extension is associated with this app)
  • Line numbering, word wrapping within the editor

Inspector Reference

We have different help documents available for the Sessions Relevance (CHM, PDF and online). However, I find myself often using the following relevance construct to get real time help while writing relevance.

properties whose (it as string contains “computer group”)

So I added an Inspector Reference module, which simply returns the values from the Properties inspector. It provides a fast and efficient way to browse through available inspectors and their corresponding creation methods and properties.

Requirements

  • BES 7.2 or above is required. Sorry, it will not work with 7.1 or below.
  • The app is written in C#, and requires .NET Framework 2.0 or above.

Download

Download the zip file with the installer from the following:

Download BES Session Relevance Tester

Lee Wei

(imported comment written by grant7bar791)

Can I get the source code for this excellent application?

Thanks!

-Grant

(imported comment written by Lee Wei)

Hi Grant,

Thank you for the kind words.

I use a few different 3rd party components for the tool, so it cannot be compiled without them.

Let me know if you have some specific questions, and I will help where I can.

Lee Wei

(imported comment written by Lee Wei)

I have updated the Session Relevance Tester.

The latest is version 8.0.627, which means that it has been tested against BigFix version 8.0.627.

Some new features include:

  • Specify to use the new 8.0 APIs
  • Indent and Flatten the relevance statements
  • Start multiple editors in different tabs

Download the new version here:

http://leewei.com/bigfix/prod/sessrel/BESSessionRelevanceInstaller80627.zip

Lee Wei

(imported comment written by cstoneba)

Lee, did you really have to have the install path of the Session Relevance be “\Program Files\BigFix (an IBM Company)”. I know you’re using “An IBM Company” alot, but isn’t this a little much… :slight_smile:

(imported comment written by BenKus)

Hehe… I am guessing that is a by-product of the installer software…

(imported comment written by vpetrell)

Has anyone had issues using this with version 9.1 of IEM?

I have been getting the following error since upgrading from 9.0 to 9.1:

“Error:The underlying connection was closed.: The connection was closed unexpectedly.”

Try unchecking the “Use Version 8 SOAP API” checkbox and see if that works.

Also, I created a task to install the BES Session Relevant Tester.
http://bigfix.me/fixlet/details/3969

This uses an MST file to change the install location and some other outdated entries in the above MSI file.