22 Mar 2022 05:19 AM - last edited on 23 Mar 2022 12:26 AM by AgataWlodarczyk
Solved! Go to Solution.
i have a http monitor or browser monitor and i need to add a step to calculate a variable that i will use in my monitor.
Oops! I misunderstood.
I am not sure whether you had already gone through with the below and was this helpful in your case or not.
we need to use : ajax/libs/forge/0.9.1/forge.min.js
Yes, you would need to add the code from the js into the pre-execution script. Since the js is 283kb, it is above the default size for pre-execution scripts, 50kb, so for the moment, you will need to create a Support ticket and request that this setting is increased. Soon you will be able to do this in the monitor itself, in a new Advanced Settings tab. 🙂
Apologies, on having checked further, the maximum size for a pre-execution script is 100kb, so unfortunately not large enough for this js. I have mentioned this scenario to the Team Captain for this.