Reg: 2 requests in parallel by Single VUser
I have a requirement. A V-User has to send 2 requests in parallel to a 2 different servers. For example when a user is logged on to 'server01' a parallel request is sent to 'server02' by obtaining the session-id from 'server01'. The request to 'server02' is sent in a periodic intervals.
Is there a way to do it apart from the below tried options???
Options that were tried are to get the session id from 'server01' and store it onto a VTS or flat file and get that session id by another cloned V-User to hit a parallel request to 'server02'. So that to simulate 75-users i will have to run 150 users. Not an optimal solution aint it??
The other options tried was to invoke a C-Program using "system(CProg.bat)" and to pass the session id to C-Program. But the C-Program was executed as a seperate process without any hook to the V-User that initited the "system()" command.
The other option tried was trying to create threads in C-Program. But didnt worked well.
How shall we do that???
Re: Reg: 2 requests in parallel by Single VUser
Please read all of and follow our ** POSTING INSTRUCTIONS ** precisely.