jagpreet08
5 years agoNew Contributor
Assertion script not working in latest ReadyAPI version
I have an assertion script for one of the test case and it's working fine in ReadyAPI version 2.8.2 but the same assertion is not working in latest ReadyAPi 3.7 version. And giving the following error - General error during class generation: Method code too large! java.lang.IndexOutOfBoundsException.
Any resolution for this?
Hey jagpreet08 :
Recently i got this error while working, what i found is number of line inside a block is limited to around 500 something,
How i resolve that by converting the same set of code to different functions so that my code was limited to 300 or something line. and that works. 🙂
You can try to achieve this by breaking your code in small blocks instead of writing 1 big block.