For my JMeter test, I would like to login once and then navigate the reports in my application concurrently with multi-threads. I created two thread groups that run consecutively, the first thread group contains the login HTTP requests that is set to run with one thread. The second thread group contains the HTTP requests for each report in my application, and it is set to run with 50 threads.
The application is deployed on a weblogic server, and the application sessions are stateful.
I want to share the JsessionID generated by the first thread group through weblogic after a successful login, with the second thread group HTTP Requests.
the problem is that the JsessionID for each of the HTTP requests in the second thread group are unique and all different than the JsessionID of the login HTTP requests in the first thread group. As a result, the application is failing to call the authenticate the call.
The JsessionID is embedded in the cookies inside the header. I tried extracting it from the HTTP request in the first thread Group using Regular Expression Extractor(see the attached picture) and define it in HTTP Cookie Manager, but the problem persisted. Regular Expression Extractor config