# How to run Re-run failed testcases if the testcase has been divided into more than one file?

**URL:** <https://forum.katalon.com/t/how-to-run-re-run-failed-testcases-if-the-testcase-has-been-divided-into-more-than-one-file/63201>\
**Category:** API Testing\
**Tags:** start-page, api-testing, katalon-studio\
**Created:** [March 8, 2022, 8:19pm UTC](https://forum.katalon.com/t/how-to-run-re-run-failed-testcases-if-the-testcase-has-been-divided-into-more-than-one-file/63201 "2022-03-08T20:19:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [March 9, 2022, 4:13am UTC](https://forum.katalon.com/t/how-to-run-re-run-failed-testcases-if-the-testcase-has-been-divided-into-more-than-one-file/63201/4 "2022-03-09T04:13:24Z")

</div>

> [@mqamar](#):
>
> Because test case files can’t be more than 800 or 900 lines (I can’t remember the exact number), I’ve divided my test cases to more than 1 file.

FYI. see

> [@Method code too large](http://forum.katalon.com/t/method-code-too-large/9475/18):
>
> A Test Case of Katalon Studio makes a method of a class which runs on Java VM. The Java Virtual Machine has a [limitation](http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.9.1) that a single method cannot be larger than 64k (65536 bytes) in size. See [https://stackoverflow.com/questions/24256316/method-code-too-large-in-groovy-grails](https://stackoverflow.com/questions/24256316/method-code-too-large-in-groovy-grails) for more info. Katalon Studio would never, I suppose, become capable of handling a large test case exceeding the Java VM limitation. If you encounter the “Method code too large!” problem, you have no other choice but s…

---

_[View the full topic](https://forum.katalon.com/t/how-to-run-re-run-failed-testcases-if-the-testcase-has-been-divided-into-more-than-one-file/63201)._
