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-boun...@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@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@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>

_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to