Skip to main content

Is there any way to increase the size of the resource file ?

2 replies [Last post]
murali_reddy219
Offline
Joined: 2007-10-25

Hi All,

Actually i tried to use a 60Kb file as resource file in my test.java file. I also specified that file name in the test description file( index.html). But when i tried to execute the test case it was shown an error like "test bundler jar file exceeds the limited size".

I used that file to get inputstream from the file.

Is there any way to increase the limited size or how to avoid this problem?

Thanks,
Murali

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vsizikov
Offline
Joined: 2004-11-16

Hi Murali,

There is an Interview Question "JAR File Size", with the following info:
Specify a maximum size in bytes for JAR file test bundles.

This answer sets the maximum size of the test bundle JAR files. 0 specifies no limit.
When creating a test bundle JAR file, the TCK attempts to pack the number of tests specified by the Tests in Bundle interview answer. It stops when an additional test increases the size beyond the specified JAR File Size.

Adjust the value that suits your needs.

Thanks,
--Vladimir

murali_reddy219
Offline
Joined: 2007-10-25

Hi Vladimir,

Thanks a lot for all your valuable suggestions which made me possible to complete customized test suite.I had written my own interview and plugged into the testsuite. I had create all help files and test description files.

My final question is , [b]"Is there any way to display the error dialog message as a pop up window( instead of "invalid response" string) in configuration interview? "[/b]

i.e suppose i was asked to enter url as answer for my question. If he gives some junk string(instead of "http://"),then i will throw a error message stating "check the URL format".

Is it possible?If yes, then how can we?

Thanks & Regards
Murali