hi
Assuming your sessions use the default web way , then yes adding a Cookie
Manager is sufficient. However this is configured in your application
(whether it uses cookie or url rewriting or both) and you need to determine
this for your app.
This however should have no bearing on your current problem unless you
aren't logging out the user at the end of an iteration or whateve, causing
your application to have many sessions that it cant inactivate till timeout,
but that would manifest itself as an out of memory.

regards
deepak

On Mon, Dec 14, 2009 at 8:25 PM, Anitha Raj Geetha Rajendran <
[email protected]> wrote:

> Deepak,
>
> Alright then. Thanks for your help. But Handling session will be done when
> we add HTTP cookie manager itself right? Or do I need to work with regular
> expressions?
>
> Thanks and regards,
>
> Anitha Raj.
>
>
> -----Original Message-----
> From: Deepak Shetty [mailto:[email protected]]
> Sent: Tuesday, December 15, 2009 9:50 AM
> To: JMeter Users List
> Subject: Re: increasing errors on increasing the load - reg
>
> >But it's working fine when I give up to 50 users. If I increase it from 50
> to 75 or 100 then only issue
> Which is why you can be pretty sure the problem isnt with JMeter, your app
> cant handle this level of concurrency. Its possible the problem may still
> be
> in your script, but really nothing that you can do in a client , should
> cause the application to throw the error message. Can you monitor the VM
> memory being utilised on your application, the problem seems to be when you
> add something in session.
>
> >When I gave the timer between the requests error percentage got reduced.
> Because you reduced the concurrent usage.
>
> >Also when my colleague tried with other tool (VSTT) for load testing,on
> the
> same application
> perhaps you didnt generate the same load in this case.
>
>
> regards
> deepak
>
> On Mon, Dec 14, 2009 at 8:12 PM, Anitha Raj Geetha Rajendran <
> [email protected]> wrote:
>
> > Deepak,
> >
> >        Thanks for the reply. But it's working fine when I give up to 50
> > users. If I increase it from 50 to 75 or 100 then only issue starts. When
> I
> > gave the timer between the requests error percentage got reduced. So I
> just
> > wanted to know whether I can fix this by some other way, so as to reduce
> the
> > error percentage at least. Also when my colleague tried with other tool
> > (VSTT) for load testing,on the same application, it never gave much
> errors.
> > That's when I got the thought that if I change some settings in JMEter,
> then
> > I could also achieve the expected result. Please help me on this.
> >
> > Thanks and regards,
> >
> > Anitha Raj.
> >
> > Software Engineer
> > -----Original Message-----
> > From: Deepak Shetty [mailto:[email protected]]
> > Sent: Tuesday, December 15, 2009 9:35 AM
> > To: JMeter Users List
> > Subject: Re: increasing errors on increasing the load - reg
> >
> > this is a problem in your application being tested, not with jmeter
> > regards
> > deepak
> >
> > On Mon, Dec 14, 2009 at 8:00 PM, Anitha Raj Geetha Rajendran <
> > [email protected]> wrote:
> >
> > > Hi,
> > >
> > > I am met with an issue while using JMeter. The test plan was made for
> the
> > > following requirement.
> > >
> > > Number of threads : 250
> > > Ramp-up : 750 sec
> > > Loop count :  forever
> > > Test duration : 45 mins
> > >
> > > I am getting -http server 500 error if I'm increasing the load. It is
> > > working fine for up to 50 users. But beyond that if im increasing the
> > load
> > > im getting this error:
> > > Response code: 500
> > > Response message: Internal Server Error
> > >
> > > I have given constant timer between each request as 5 secs. Still this
> > > doesn't resolve the issue.
> > > Can somebody help me in fixing this issue??
> > >
> > > The sampler result is as follows :-
> > >
> > > Sample Start: 2009-12-14 19:31:25 IST
> > > Load time: 47
> > > Latency: 47
> > > Size in bytes: 7872
> > > Sample Count: 1
> > > Error Count: 1
> > > Response code: 500
> > > Response message: Internal Server Error
> > >
> > > Response headers:
> > > HTTP/1.1 500 Internal Server Error
> > > Server: Apache-Coyote/1.1
> > > Content-Type: text/html;charset=utf-8
> > > Content-Length: 7872
> > > Date: Mon, 14 Dec 2009 14:01:25 GMT
> > > Connection: close
> > >
> > > The page which I got is also pasted here :-
> > > HTTP Status 500 -
> > > ________________________________
> > >
> > > type Exception report
> > >
> > > message
> > >
> > > description The server encountered an internal error () that prevented
> it
> > > from fulfilling this request.
> > >
> > > exception
> > >
> > > javax.servlet.ServletException: Filter execution threw an exception
> > >
> > >
> > >
> >
>  
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> > >
> > > root cause
> > >
> > > com.tc.exception.TCNonPortableObjectError:
> > >
> > >
> > >
> >
> *******************************************************************************
> > >
> > > Attempt to share an instance of a non-portable class referenced by a
> > > portable class. This
> > >
> > > unshareable class must be in the DSO boot jar. Please add this class to
> > the
> > > boot jar
> > >
> > > configuration and re-create the DSO boot jar.
> > >
> > >
> > >
> > > For more information on this issue, please visit our Troubleshooting
> > Guide
> > > at:
> > >
> > > http://terracotta.org/kit/troubleshooting
> > >
> > >
> > >
> > > Referring class         : java.util.ArrayList
> > >
> > > Thread                  : http-192.168.120.64-8080-31
> > >
> > > JVM ID                  : VM(1)
> > >
> > > Class to add to boot jar: java.util.Locale
> > >
> > >
> > >
> > > Under most circumstances, you should only be adding classes for your
> > >
> > > application. If you are adding classes for frameworks or code not
> written
> > > by
> > >
> > > you, then you should consider finding a Terracotta Integration Module
> > (TIM)
> > >
> > > that matches the framework you are using.
> > >
> > >
> > >
> > > As an example, if the non-portable class listed below is
> > >
> > > net.sf.ehcache.CacheManager, you should consider using the ehcache TIM.
> > >
> > >
> > >
> > > It is possible that this class is truly non-portable, the solution is
> > then
> > > to
> > >
> > > mark the referring field as transient.
> > >
> > > For more information on non-portable classes see the Troubleshooting
> > Guide.
> > >
> > >
> > >
> > > Action to take:
> > >
> > >
> > >
> > > 1) Reconfigure and rebuild the boot jar
> > >
> > >   * edit your tc-config.xml file
> > >
> > >   * locate the <dso> element
> > >
> > >   * add this snippet inside the <dso> element
> > >
> > >
> > >
> > >       <additional-boot-jar-classes>
> > >
> > >        <include>java.util.Locale</include>
> > >
> > >       </additional-boot-jar-classes>
> > >
> > >
> > >
> > >   * if there is already an <additional-boot-jar-classes> element
> present,
> > > simply add
> > >
> > >     the new includes inside it
> > >
> > >   * Recreate the boot jar by running the 'make-boot-jar' tool in the
> bin/
> > > directory
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> *******************************************************************************
> > >
> > >
> > >
> > >
> > >
> >
>  
> com.tc.object.ClientObjectManagerImpl.throwNonPortableException(ClientObjectManagerImpl.java:786)
> > >
> > >
> > >
> >
>  
> com.tc.object.ClientObjectManagerImpl.checkPortabilityOfTraversedReference(ClientObjectManagerImpl.java:676)
> > >
> > >
> > >
> >
>  
> com.tc.object.ClientObjectManagerImpl.access$900(ClientObjectManagerImpl.java:77)
> > >
> > >
> > >
> >
>  
> com.tc.object.ClientObjectManagerImpl$NewObjectTraverseTest.checkPortability(ClientObjectManagerImpl.java:1022)
> > >
> > >        com.tc.object.Traverser.addReferencedObjects(Traverser.java:48)
> > >
> > >        com.tc.object.Traverser.traverse(Traverser.java:89)
> > >
> > >
> > >
> >
>  
> com.tc.object.ClientObjectManagerImpl.addToManagedFromRoot(ClientObjectManagerImpl.java:944)
> > >
> > >
> > >
> >
>  
> com.tc.object.ClientObjectManagerImpl.create(ClientObjectManagerImpl.java:290)
> > >
> > >
> > >
> >
>  
> com.tc.object.ClientObjectManagerImpl.lookupOrCreateIfNecesary(ClientObjectManagerImpl.java:350)
> > >
> > >
> > >
> >
>  
> com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:323)
> > >
> > >
> > >
> >
>  
> com.tc.object.tx.ClientTransactionManagerImpl.logicalInvoke(ClientTransactionManagerImpl.java:813)
> > >
> > >
> >  com.tc.object.TCObjectLogical.logicalInvoke(TCObjectLogical.java:17)
> > >
> > >
> > >  com.tc.object.bytecode.ManagerImpl.logicalInvoke(ManagerImpl.java:253)
> > >
> > >
> > >  com.tc.object.bytecode.ManagerUtil.logicalInvoke(ManagerUtil.java:294)
> > >
> > >        java.util.HashMap.put(Unknown Source)
> > >
> > >
> > >  com.terracotta.session.SessionData.bindAttribute(SessionData.java:359)
> > >
> > >
> > >
> >
>  
> com.terracotta.session.SessionData.__tc_wrapped_setAttributeReturnOld(SessionData.java:255)
> > >
> > >
> > >
> >
>  com.terracotta.session.SessionData.setAttributeReturnOld(SessionData.java)
> > >
> > >
> > >  com.terracotta.session.SessionData.setAttribute(SessionData.java:247)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.ExceptionTranslationFilter.sendStartAuthentication(ExceptionTranslationFilter.java:206)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.ExceptionTranslationFilter.handleException(ExceptionTranslationFilter.java:162)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:117)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
> > >
> > >
> > >
> >
>  
> org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:109)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
> > >
> > >
> > >
> >
>  
> org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:173)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:271)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
> > >
> > >
> > >
> >
>  
> org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
> > >
> > >
> > >
> >
>  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
> > >
> > >
> > >
> >
>  
> org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174)
> > >
> > >
> > >
> >
>  
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
> > >
> > >
> > >
> >
>  
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
> > >
> > >
> > >
> >
>  
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> > >
> > > note The full stack trace of the root cause is available in the
> JBossWeb/
> > > 2.0.1.GA logs.
> > >
> > > ________________________________
> > > JBossWeb/2.0.1.GA
> > >
> > >
> > > Thanks and regards,
> > > Anitha Raj.
> > >
> > >
> > > iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2
> > > by Business Today-Mercer Human Resource Consulting-TNS  in a cross
> > industry
> > > survey of Best Companies to work for in India
> > >
> > >
> >
> ----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
> > > Information transmitted by this EMAIL is proprietary to iGATE Group of
> > > Companies and is intended for use only by the individual
> > > or entity to whom it is addressed and may contain information that is
> > > privileged, confidential, or exempt from disclosure under
> > > applicable law. If you are not the intended recipient of this EMAIL
> > > immediately notify the sender at iGATE or [email protected]
> > > and delete this EMAIL including any attachments
> > >
> > iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2
> > by Business Today-Mercer Human Resource Consulting-TNS  in a cross
> industry
> > survey of Best Companies to work for in India
> >
> >
> ----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
> > Information transmitted by this EMAIL is proprietary to iGATE Group of
> > Companies and is intended for use only by the individual
> > or entity to whom it is addressed and may contain information that is
> > privileged, confidential, or exempt from disclosure under
> > applicable law. If you are not the intended recipient of this EMAIL
> > immediately notify the sender at iGATE or [email protected]
> > and delete this EMAIL including any attachments
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2
> by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry
> survey of Best Companies to work for in India
>
> ----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
> Information transmitted by this EMAIL is proprietary to iGATE Group of
> Companies and is intended for use only by the individual
> or entity to whom it is addressed and may contain information that is
> privileged, confidential, or exempt from disclosure under
> applicable law. If you are not the intended recipient of this EMAIL
> immediately notify the sender at iGATE or [email protected]
> and delete this EMAIL including any attachments
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to