>My Application allows only one user to login/perform any operation at a time You have to determine what this actually means. If say you and I both access your application and we login - does this mean one of us gets an error ? If so , the question would be does the application show an error message / response code ? Then you can change the JMeter script to add assertions. It might be that the state of the application is checked differently (like a separate AJAX call that disables login button when it detects that someone is logged in) - in which case that is what needs to be done in your script
I'll also add that quite a few of these implementations do not actually work correctly when there are actual concurrent requests - regards deepak On Mon, Mar 14, 2016 at 7:57 AM, Vikash kumar <[email protected]> wrote: > Hi All, > > I m having a critical doubt/issue in Jmeter, can you help me with the same. > "My Application allows only one user to login/perform any operation at a > time but jmeter is able to do the same process/request multiple times > without throwing any error using same user credential simultaneously. I've > used record and play function of Jmeter and it is able to do the same > request multiple times without throwing any error which is an issue i > guess. I have used multiple users in my thread group that's why it is doing > same request multiple time but this opeartion using jmeter should have > shown in red or failed as my application support one user can user can > perform any operation at one time not simultaneoulsly" > > > I will be really thankful if you can reply me asap. > > Thanks, > Vikash >
