Join GitHub today
Hammering console with several simple REST requests in parallel leads to strange groovy error #123
I'm trying to do a 'stress test' on the console to see what happens when it gets hammered by several requests in parallel at the same time. As a start, I simply run N jobs that go and get the JSON static model via the REST API.
For 1 and 2 queries in parallel, things work well. However for N >= 5, I start getting the error below randomly. And the more waves of N jobs I run, the more often I'm getting that same error below. Anyone seen this and/or has an idea what this may be due to?
1345634 [qtp2110119369-32] ERROR org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver - No signature of method: static org.linkedin.groovy.util.json.JsonUtils.toJSON() is applicable for argument types: (java.lang.String) values: [data-platform-storage]
Found the origin of the problem: it's happening with JDK 1.6.0_27 on linux,
Tried groovy 1.8.6, but one of the tests fails, it's unclear why it would
124 [Outgoing Connection channel:tcp://localhost:57793!0 Thread 3] DEBUG
On Wed, Feb 8, 2012 at 11:25 AM, Yan Pujante <
This bug seems related to which JVM version is used, not to glu itself.
I wasn't able to upgrade grails/groovy yet.
On Mar 7, 2012, at 7:23 AM, Yan Pujante wrote: