Class SessionPerformanceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.session.SessionPerformanceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@PerformanceTest public class SessionPerformanceTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SessionPerformanceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
createAnonymousSessions(int cycles)
protected long[]
createAnonymousSessions(int cycles, int threads, int maxWaitSeconds)
void
testAnonymousCreationMultipleThreads()
void
testAnonymousCreationPerformance()
void
testExecuteInLocalViewValues()
void
testPerformanceAndMemory()
void
testWrapping()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testAnonymousCreationPerformance
public void testAnonymousCreationPerformance() throws JaloSecurityException
- Throws:
JaloSecurityException
-
createAnonymousSessions
protected long createAnonymousSessions(int cycles) throws JaloSecurityException
- Throws:
JaloSecurityException
-
testAnonymousCreationMultipleThreads
public void testAnonymousCreationMultipleThreads()
-
createAnonymousSessions
protected long[] createAnonymousSessions(int cycles, int threads, int maxWaitSeconds)
-
testPerformanceAndMemory
public void testPerformanceAndMemory() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testExecuteInLocalViewValues
public void testExecuteInLocalViewValues()
-
testWrapping
public void testWrapping()
-
-