Forum Discussion

robyp's avatar
robyp
New Contributor
15 years ago

session reuse within test runner and virtual used

hi to all,


i have a load ui test case that is running a soap ui web test (using a Soap ui runner instead of WebPage Runner).
The virtual user generator is set to 1 user per second but every request create a new http Session in Jboss Server (SessionContext)
for example if we have 250 users we must expect 250 session ids instead 250 * test time spent (in second) ids

250 virtual users -> test running in 120 sec
result: 250 * 120 sec sessions instead 250 expected

how can reuse the same session for user?

thank you

Roby
  • Hi Roby,

    I don't know how JBoss handles sessions... if it is cookie based you need to select the "Maintain HTTP Session" option in soapUI in the TestCase Options dialog for your TestCase.

    Does that help?

    regards!

    /Ole
    eviware.com
  • robyp's avatar
    robyp
    New Contributor
    Hi Ole,


    jboss creates new session for every client. Virtual user generator seems to create a new client for every rate time. Is there a way to keep
    the same number of client changing the number of test per second only?