I have to test a web resource that has a "feature" of only allowing one
log-in at a time. If someone else logs in with the same user ID, the first
session will get kicked out.

Can't think of a good way to do this in jmeter, since any number of tests
could access the resource. So I rolled a quick and dirty proof of concept
webapp to hide the actual resource behind a mutex semaphore. It uses Ruby,
Sinatra and haml to render a form. If you're interested in the code, you can
find it at
https://github.com/FlyingRhenquest/WebMutex.

It's not very pretty but initial testing looks promising. I'll have to throw
together a jmeter test to exercise it in the morning.

-- 
Bruce Ide
flyingrhenqu...@gmail.com

Reply via email to