Skip to content

redhat-appdev-practice/jboss-distributed-session-cache-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Cache Example Application For JBoss EAP

This is a simple application and test harness for putting some load on a distributed caching implementation with JBoss EAP. The example application creates a session for each new client and stores some data in that session cache. The testing harness creates a number of parallel clients to ensure that it creates a number of separate sessions with different data. The testing harness allows for some sessions to be exercised every few seconds, others every few minutes, and finally after the intended session timeout.

Build the Enterprise Java Application

cd example-distributed-cache-application
./mvnw cleam compile package

Deploy the application to a JBoss EAP 7.x server (or cluster)

Build and run the test harness

cd automated-tests
./mvnw clean compile package
java -jar ./target/performance-testing-automation-1.0.0-SNAPSHOT-jar-with-dependencies.jar -s server1,server2 -t <numThreads>

About

A simple application and testing harness for trying out distributed session caching on JBoss EAP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages