Generating a script from Web Server Logs
I'm not sure if it makes sense to do this. But I was thinking of building an OpenSTA script that is generated from apache access logs.
The goal in this case isn't to model user sessions but to basically run through a series of HTTP hits generated by real client loads.
In some ways, it sounds pretty simple. But then things like maintaining connections come into play. Without making a conversion script that's really elaborate, I can't think of a good way to assign connections to a block of requests.
I don't want to do an "ON <connectionID>" and "DISCONNECT FROM <connectionID>" for each request since that seems like a real drain on the system's resources to have to do that much work for thousands of hits.
Has anyone else tried anything like this with OpenSTA? If so, has it been done successfully?
It seems to me deep down that this is misusing a tool that is designed to model multiple user sessions and workloads, but I'd thought I'd give it try anyways.
Re: Generating a script from Web Server Logs
Then again, it appears as though the ON <connectionID> clause of the GET/POST/HEAD commands is optional.
So this might not be an issue from the standpoint of establishing and closing connections in the scripts.