i want to check using script that how many open db connections are there and after user is logout from the system db connection is closed..i came to know that in my application it is not closing the db connection,i suspect if any intruder run any malicious script that will open connections then website will crash, or i don't know what will happen. Can anyone explain me how check this and how to stop and prevent this
I am not sure of a way to do that within WinRunner. If there is a way to query the database outside of WInRunner, then you can incorporate it, but it has been a while since I have had to delve into the admin side of SQL servers.
WinRunner is only able to keep track of the connections it opens to the database, not others that are opened by other means.