cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

How to capture the return value of the method for a specific argument value ?

ehsan_shariff
Newcomer

Hi,

We need to capture particular return value of a argument (card_bin_str) of this getStringNotNull method as you can see in the screenshot. We have already tried with the bussines transaction filter with URI and argument value. But still we are getting all the return values of a method but we are looking only for a specific return value of a argument (card_bin_str) could you please guide us how to do this.

11 REPLIES 11

Babar_Qayyum
DynaMight Leader
DynaMight Leader

Hello Ehsan,

Use the exact getter chain for the 'card_bin_str' in the return value.

Just check for the parent method which is calling getStringNotNull method and this should hint you to know which argument is currently being fetched.

Regards,

Babar

sooryaprabha_mo
Inactive

Hi Ehsan,

As per my understanding, Edit the measure which you added in BT filter which you created and add conditions as "1-java.lang.object"(assuming first argument) "equals" and mention value as car_bin_str. Hope this helps!!

Thanks

Soorya Mohan

Hi soorya,

We have tried the same thing, we are getting all the return values of that method. kindly help us

Thanks,

Ehsan

are you getting both argument return values in the specified method?Is this what you mean getting all return values?

BR

Soorya Mohan

erick_brambila
Contributor

Hello Ehsan,

Can you attach screenshots of your BT configuration, including Filters that show the threshold and splits?

Regards,

Erick Z. Brambila

Hi Erick,

Please find the screenshots of BT, Filter and Split result.

Regards,

Ehsan

sooryaprabha_mo
Inactive

Hi Ehsan,

In filter.jpg -> string matches not present only in spltting its there, please add it there also, so you will get correct results.

Else "card_bin_str" measure which used in spiltting , use the same in filter section of BT to get proper results.

Thanks

Soorya Mohan

erick_brambila
Contributor

Hi Ehsan,

I agree with Soorya the solution is spot on! 🙂

Regards,

Erick.

aravindhan_v
Contributor

Hi Erick,

Get any chance to review this? Any update on this.

Thanks,

Aravindhan.V

Hi Aravindhan,

In filter.jpg -> string matches not present only in spltting its there, please add it there also, so you will get correct results.

Else "card_bin_str" measure which used in spiltting , use the same in filter section of BT to get proper results.

BR

Soorya Mohan

Hi Soorya,

We have tried this earlier. And still it doesn't work.

Thanks,

Aravindhan.V