Is there any concept of locks or semaphores in Jmeter? I am currently testing a web based API which accesses an internal database. I do a call to the API via the http request sampler. I then do another API call to verify that the correct thing happens. This works great with a single thread. However, when I go multi-threaded I get random failures. I am guessing that multiple threads are changing the same record in the database at the same time.
Is there anyway to make 2 web requests an exclusive operation? This would seem to me to be a common problem with a multi-threaded stress tool. I've looked through the manual and can not find any type of locking mechanism. Otherwise does anyone having any ideas on how to simulate one? I'm thinking maybe just setting a global jmeter variable and then checking it's value before doing anything with the database. However, I don't think this would work running jmeter across multiple platforms. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

