Hi,
I'm creating a business transaction which has to take into account all 4xx and 5xx errors, except for the exception of the type 'BusinessInvestmentValidationException' with message "@FTO_IVS_ERR_VAL_BUSINESS@".
For the moment I've created 2 business transactions to achieve this: 1 BT for 4xx and 1 BT for 5xx. The reason therefore is that I don't understand how to use the 'and' in combination with 'or'; even after reading the documentation.
This is a screenshot of my business transaction for the 4xx errors. I have the same BT for 5xx, except for the HTTP 4xx filter which is the HTTP 5xx filter.
Explanation:
My questions: Is the BT correct? Will I get all exceptions, except for the Business...Exception with message '%BUSINESS%'?
How to add the 5xx errors into this BT, so that this BT gives a result when there is a 4xx error or a 5xx error except for the Business...Exception with message '%BUSINESS%'?
Regards,
Jurgen
Answer by Andreas G. ·
Hi Juergen
I know that BTs seems sometimes like a "dark art". The basic thing you need to understand that a BT is always evaluated against a single PurePat, a single User Action or a single Visit - depending on the selection you made in the BT Dialog under "Calculate Business Transaction per ..."
In your example above - if you have a BT for PurePaths only those PurePaths will be matched by your BT Definition in case a single PurePath returns values for each of these Filter Measures that all exceed the defined thresholds.
The "and" and "or" logic is really not that sophisticated and doesnt allow you complex logical expressions. You will find an example here in the section Filter: Usage of Business Transactions. Because of these limitations I dont think its possible to use two measures - one for 4xx and one for 5xx. I guess it would make more sense to create a single measure that covers both 4xx and 5xx. You should be able to achieve that by using a RegEx in your Http Response Code Measure Definition
I hope that helped a bit
Andi
JANUARY 15, 3:00 PM GMT / 10:00 AM ET