ideas on load testing
Brock Anderson
banders at REFRACTIONS.NET
Fri Jan 20 08:20:48 PST 2006
Dylan,
I don't know know if it's possible to force Mapserver to save temporary
copies of all its images. Perhaps someone else knows...
Anyway, wouldn't it adversely affect Mapserver's performance if you
saved images server side? I suspect that would skew the results of your
benchmarking.
You can use JMeter to save the images it receives from Mapserver. To
the "Thread Group", add a "Post Processor" called "Save Responses to a
file". Done.
Brock
Dylan Beaudette wrote:
>Thanks Brock,
>
>I downloaded jmeter, and it works well. however i am having the same problem
>where a stress test to a mapserver application:
>
>http://casoilresource.lawr.ucdavis.edu/mapserver/dhtml/mapunit_dhtml.php?map=/data1/website/mapserver/dhtml/mapunit.map&county_id=ca_19e&mapext=-2033880.156141%20-172259.493337%20-1923223.887901%20-91817.904578&message=zoomed_to_ssurgo-area
>
>performs as expected, however mapserver generates no images in its temp
>directory...
>
>am i doing something wrong here?
>
>thanks!
>
>On Thursday 19 January 2006 04:10 pm, Brock Anderson wrote:
>
>
>>Dylan,
>>
>>I suggest JMeter. It was designed to load test resources, including
>>HTTP resources like Mapserver. In fact, I have used it several times
>>for precisely that purpose. It's open source, and written in Java. You
>>can get it here:
>>
>> http://jakarta.apache.org/jmeter/
>>
>>JMeter has lots of neat features built in, but it's not too hard to add
>>custom functionality if required.
>>
>>Brock
>>
>>Dylan Beaudette wrote:
>>
>>
>>>Greetings:
>>>
>>>I am looking into a couple ways of load testing my mapserver application.
>>>I have tried using 'flood' from the apache set of tools, however I cannot
>>>seem to get it to work properly...
>>>
>>>Any thoughts on other load testing apps?
>>>
>>>thanks!
>>>
>>>
>
>
>
More information about the MapServer-users
mailing list