...
There are two different tests, Generic and Random. The Generic test browse all sites
pages and tools of the user several times (portal loop count).
- Generic Browse Test
- Gateway Complete Browse.
- Portal Loop
- Login
- All Sites Complete Browse.
- Logout
- Gateway Complete Browse.
...
Test framework provides up to 4 different kind of load charge tests.
- UniqueDefault: 1 thread, 1 portal loop, 1 site loop, 1 page loop.
- Low: 5 threads, 1 portal loop, 2 site loops, 10 page loops.
- High: 20 threads, 2 portal loops, 5 site loops, 50 page loops.
- Extreme: 50 threads, 5 portal loops, 10 site loops, 100 page loops.
Run Tests
In order to run low test with small site users type:
Code Block |
---|
mvn clean test site -Pruntest,small,low,[generic|random|noshowpages|norandomuser] |
...
[-Dtest-properties-file=small-low.properties|medium-low.properties|...] [-Dtest-file=browse.jmx|random.jmx]
|
browse.jmx: To run only the generic test.
random.jmx: To run only random test.
noshowpages: Avoid displaying page load times (only tool load times).
norandomuser: Uses a file of users to run load tests, it's possible to use a downloaded file of users.
...
In order to index all the results in one page type:
Code Block |
---|
mvn site site:jar -PsitePreport |
This command produces the complete site and compress it into a jar file.
Wiki Markup |
---|
{card} |
...