Hi everyone,

*DESCRIPTION OF MY SITUATION:*

(1) The application I am testing is session-sensitive; I can not log in the
second time using the same user as the first time without expiring the first
time's session.

(2) I want to simulate a workload of 500 users but do not want to create 500
actual test login accounts.

(3) I am currently using the "CSV Data Set Config" for obtaining login
account for each thread.

(4) I am also using the "Regular Expression Extractor" to extract the
jsessionid from the URL for subsequent request.

*QUESTION:*
**
(1) How can I set up my test plan to login only once under a ThreadGroup,
and share the session with all threads?  I have attempted to use the "Once
Only Controller" to include the login request, but results shows that JMeter
sends it for every thread.  In other words, the scope of "Once Only
Controller" seems to be within the Thread, rather than the ThreadGroup.  Or
perhaps, I am doing something wrong.

(2)  If possible, can you provide a high level skeleton for the test plan?
For example:
ThreadGroup
-- Once Only Controller
----Login Requests
...
...
etc.

Thank you,
Nguyen
[email protected]

Reply via email to