Mark Sibley and I are hoping to start work on a new testing project soon. We will simulate multiple HTTP requests into the test infrastructure and since the application doesn’t require session information for users, we should be able to allow a small number of vUsers simulate a larger number of “real users”.
Our DBA has asked us if we can give him information about the response times for EVERY transaction. He’s worked with LoadRunner before and he wants the extra detail so that he can account for any poor performance in an individual transaction after a performance test. To do this he’ll need information like this for each transaction.
{Time HH:MM:SS:sss},{Unique Transaction ID},{Any LoadRunner Parameterised Data},{Transaction Response Time}
We’ll write about 100 bytes of data for each transaction and at 200 transactions per second we could have problems if writing to disks is too slow. I mentioned this problem to Mark and he quickly wrote a function which writes data to an array in memory and writes 50 lines of data to disk at once. Mark’s function seems pretty quick and we’re going to test this when we get on site and have a chance to use some “beefy” Load Generators, rather than VuGen on PCs.
We’ve also considered using VTS (Virtual Table Server) for this. We’ll do some more experimentation and post the results here when we have them.
The script can be downloaded on the discussion forum; where comments ,as always, are welcome.
