User Daniel Tucker (firstname.lastname@example.org) posted:
I have a request to perform a load test where 250 clients are accessing a
system via a browser applet. Then, an admin user accesses the system
through a browser and broadcasts a message via an HTTP post. I need to know
the response time from when the admin posts the message to when the applet
clients receive it. Note: the clients receive the message via java message
Two problems arise:
1) How do I measure the transaction response time across two separate
sessions (one admin, 250 clients)?
2) Has anyone ever worked with JMS in an EJB environment? I know that no
JMS specific protocol exists in LoadRunner, but I think I can capture the
traffic using the java & http protocols. Any advice????
I have an idea not sure if it will work, and it is probably not the must efficient way but here goes:
log in all 250 users and then your admin guy. Have the users wait for an object to appear using the exists() function. (not the exact name of the function but there is one) Once they recieve it they start a timer, then the admin kicks off another message. Using the same function wait for the object to appear. once it does turn of the timer.
I know its not the best idea, but perhaps it is a start. Good luck and let us know what your final solution is.
I figure if you have the courage to get out of bed in the morning, then how bad can the day be.
My comments for your #1 item
Sounds like your requirements are for two scripts: one for the admin and one
for the client.
Assumption that each iteration of each vuser will possess their own session
just like a real independent user would have.
You may wish to just script the 250 clients and have a real admin use a
stopwatch to time their work while you load the system with 250 clients
cycling executing the script. This would save you time and effort.
Sincerely, William (Bill) Selph
Principal Engineer, Software Quality Management Resources
Certified Product Instructor and Specialist, Mercury Interactive
Licensed Professional Engineer
Pager: 800.206.3443 Text messaging: email@example.com
This correspondence may contain confidential information intended for the
use of the individual or entity to which it is addressed. If the reader of
this electronic message is not the intended recipient, or the employee or
agent responsible to deliver it to the intended recipient, you are hereby
notified that any dissemination, distribution or copying is strictly