Hi,
 
I am currently testing a Spring Webflow Application. The URLs look like
http://localhost:8080/spring/main-flow?execution=e1s1
The initial request is http://localhost:8080/spring/main-flow, which
responds with a HTTP Status Code 302 which redirects to
http://localhost:8080/spring/main-flow?execution=e1s1.
When I start my test with more than one thread, every thread gets the
same URLs. So the application doesn't really execute anything (e.g.
Database access) the second time the URL is called, but returns only the
stored views (because the URL is always the same).
 
The behaviour using a browser is different. The first instance gets
http://localhost:8080/spring/main-flow?execution=e1s1, the second
instance gets http://localhost:8080/spring/main-flow?execution=e2s1
(notice e2s1 instead of e1s1) and so on and the application really
executes database accesses, web service calls and so on.
 
So my question is: Does anybody have an idea, how to achieve, that the
first thread gets e1s1, the second thread e2s1 and so on.
 
Thanks, any help is appreciated!
 
Regards,
 
Matthias
 
 

Reply via email to