testcase too big?

View: New views
3 Messages — Rating Filter:   Alert me  

testcase too big?

by Yves Dennebouy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I have recorded a test but it appears to be too long, it never ends
correctly, I always get the following message :

Traceback (innermost last):
  File "<string>", line 869, in ?
  File "<string>", line 762, in runTest
  File "C:\software\maxq-1.0\jython\CompactTest.py", line 60, in get
  File "C:\software\maxq-1.0\jython\CompactTest.py", line 56, in
commonRequest
Expected response code 200 but got 500

If I remove some lines (self.get...) at the beginning of the file, the error
appears later (not on the same self.get)

I guess I have to increase heap space or something like that

Thanks

Yves

 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: testcase too big?

by Oliver Bock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jython is limited to 64k scripts, although I thought it gave a more  
sensible error message.  Would this explain your problem?


On 17/07/2007, at 19:00, Yves Dennebouy wrote:

>
> I have recorded a test but it appears to be too long, it never ends
> correctly, I always get the following message :
>
> Traceback (innermost last):
>   File "<string>", line 869, in ?
>   File "<string>", line 762, in runTest
>   File "C:\software\maxq-1.0\jython\CompactTest.py", line 60, in get
>   File "C:\software\maxq-1.0\jython\CompactTest.py", line 56, in
> commonRequest
> Expected response code 200 but got 500
>
> If I remove some lines (self.get...) at the beginning of the file,  
> the error
> appears later (not on the same self.get)
>
> I guess I have to increase heap space or something like that
>
> Thanks
>
> Yves
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Parent Message unknown RE: testcase too big?

by Yves Dennebouy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

don't know.. I have splitted my case in two
The original dispo1.py was 39k and it ran fine on an earlier version of our
server
the responses (html pages) are far more complex in actual version.
I was wondering whether the responses were stored somewhere.

I tried to increase heapspace in the jvm but wasn't successful.

Thank for your attention

Yves



-----Message d'origine-----
De : Oliver Bock [mailto:oliver@...]
Envoyé : mardi, 17. juillet 2007 12:58
À : users@...
Objet : Re: [maxq-users] testcase too big?


Jython is limited to 64k scripts, although I thought it gave a more  
sensible error message.  Would this explain your problem?


On 17/07/2007, at 19:00, Yves Dennebouy wrote:

>
> I have recorded a test but it appears to be too long, it never ends
> correctly, I always get the following message :
>
> Traceback (innermost last):
>   File "<string>", line 869, in ?
>   File "<string>", line 762, in runTest
>   File "C:\software\maxq-1.0\jython\CompactTest.py", line 60, in get
>   File "C:\software\maxq-1.0\jython\CompactTest.py", line 56, in
> commonRequest
> Expected response code 200 but got 500
>
> If I remove some lines (self.get...) at the beginning of the file,  
> the error
> appears later (not on the same self.get)
>
> I guess I have to increase heap space or something like that
>
> Thanks
>
> Yves
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...