How to replay website traffic to internet server from logs to profile/ benchmark internet application under actual load?

Exists a means to get recorder actual network website traffic to internet server, as an example from internet server logs (Apache), and also replay this website traffic to either account internet application (in Perl) under actual load, or standard and also contrast rate of various executions prior to picking one or the various other?

If it matters, webapp is created in Perl, and also runs under simple CGI, FastCGI, mod_perl (using ModPerl : :Registry), PSGI (using Plack : :App : :WrapCGI).

Crossposted from StackOverflow

0
2019-05-13 03:45:22
Source Share
Answers: 3

If you intend to videotape and also replay actual website traffic, I assume one of the most straight remedy would certainly be to log complete demand headers to a documents and afterwards make use of a remedy like curl to "replay" the demands versus your webserver.

0
2019-05-17 15:41:46
Source

Why would certainly "actual" information offer you even more details than a simulation that ranges till the web server breaks? At least you need to have the ability to intensify the load signal from the load information to offer an array on the performance ... Also, feels like the log information would just profile the demand, not the feedback price from the customer demand, suggesting one customer demand to close the connect extremely quickly, the various other could delay.

0
2019-05-17 15:32:59
Source

Depending on the range, you will certainly require a details software program, though a details software program is advised for any kind of performance/load/stress examinations therefore they can give far better outcomes.

For tool website traffic, I can advise Apache Jmeter, or Selenium RC. I assume replay Apache HTTP Server (yes, this is the fullname from our renowned Apache) logs is less complicated to do right into Apache Jmeter.

0
2019-05-17 15:30:27
Source