[MapServer-users] GetMap request inside python script; measuring speed of WMS?

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Tue Jan 24 03:00:46 PST 2023


Hi,

If you want to use less time for programming, then JMeter is widely used for that kind of testing and it was also used in the FOSS4G benchmarks https://wiki.osgeo.org/wiki/FOSS4G_Benchmark. Maybe you can get some inspiration from the wiki. The subversion repository is also alive and I think that for example the directories for years 2010 and 2011 may contain something interesting and re-usable https://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/

-Jukka Rahkonen-

Lähettäjä: MapServer-users <mapserver-users-bounces at lists.osgeo.org> Puolesta Marcin Niemyjski via MapServer-users
Lähetetty: tiistai 24. tammikuuta 2023 12.36
Vastaanottaja: Marcin Niemyjski via MapServer-users <mapserver-users at lists.osgeo.org>
Aihe: [MapServer-users] GetMap request inside python script; measuring speed of WMS?

Hello,

I want to measure how long does it takes for my WMS to response to GetMap request. I have prepared list of extents in form of python list for example:
['38.04778703973034,-17.714089101743628,39.04778703973034,-16.714089101743628', '38.04778703973034,-17.714089101743628,39.04778703973034,-16.714089101743628'...]

I'm aiming into itterating over this list and passing it's elements into GetMap request inside python script and then request GetMap and measure how long does it takes to perfome it.

Here starts my question: How to do GetMap request inside python script, is it possible? The question is not about creating the url but about function wich does request.
Maybe somebody can recommend me some other way of measuring speed of WMS?

I would like show my k8s cluster service as use-case at FOSS4G 2023 and i need some statistics for presentation 🙂

Best,
Marcin

[cid:image001.png at 01D92FF2.521D8E00]<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Foutlook.office.com%2Fbookwithme%2Fuser%2F6347c7def05a478ba013ae948648789d%40cloudferro.com%3Fanonymous%26ep%3Dsignature&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Cddf7f43f53524c76de2008dafdf6e098%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638101534023772426%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oq%2Fud%2FU9NRxi%2BWkFXj%2B%2BaT8f0IcvRqcmojGSLnaa9IU%3D&reserved=0>
Book time to meet with me<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Foutlook.office.com%2Fbookwithme%2Fuser%2F6347c7def05a478ba013ae948648789d%40cloudferro.com%3Fanonymous%26ep%3Dsignature&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Cddf7f43f53524c76de2008dafdf6e098%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638101534023772426%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oq%2Fud%2FU9NRxi%2BWkFXj%2B%2BaT8f0IcvRqcmojGSLnaa9IU%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/f8eef8ed/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 528 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/f8eef8ed/attachment.png>


More information about the MapServer-users mailing list