<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Roman,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="ContentPasted0">
are you talking about something like this <a href="https://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/jmeter/mapserver/linux/" id="LPNoLPOWALinkPreview">
https://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/jmeter/mapserver/linux/</a> ?</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I'm not fammilliar with .jmx file or jmeter itself, could you pleas provide me some example / further explenation?</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thank you,</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Marcin<br>
</div>
<div class="elementToProof">
<div id="Signature">
<div>
<table style="margin-top:30px;margin-bottom:30px;width:95%" id="tableSelected0">
<tbody>
<tr height="45">
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
<table id="pbpsiglinktable">
<tbody>
<tr>
<td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><img data-outlook-trace="F:1|T:1" src="cid:720503ba-ad00-4f19-862d-d3ae8b8af1f5"></a></td>
<td></td>
<td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature" style="text-decoration: none; color: #0078d4;">Book time to meet with me</a></td>
<td>
<table>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> MapServer-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Roman Bamio Gonzalez <roman.bamio@juntadeandalucia.es><br>
<b>Sent:</b> Tuesday, January 24, 2023 11:54 AM<br>
<b>To:</b> mapserver-users@lists.osgeo.org <mapserver-users@lists.osgeo.org><br>
<b>Subject:</b> Re: [MapServer-users] MapServer-users Digest, Vol 180, Issue 14</font>
<div> </div>
</div>
<div>
<p>Hi! <br>
</p>
<p>You can use the jmeter product with which you avoid having to make a script...<br>
Besides; the calls you make must be spatially separated so that the mapserver does not return cached responses and you get unreal response times.
<br>
</p>
<p>thanks for listening!<br>
</p>
<div class="x_moz-cite-prefix">El 24/01/2023 a las 11:40, <a class="x_moz-txt-link-abbreviated" href="mailto:mapserver-users-request@lists.osgeo.org">
mapserver-users-request@lists.osgeo.org</a> escribió:<br>
</div>
<blockquote type="cite">
<pre class="x_moz-quote-pre">Send MapServer-users mailing list submissions to
<a class="x_moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
To subscribe or unsubscribe via the World Wide Web, visit
<a class="x_moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
or, via email, send a message with subject or body 'help' to
<a class="x_moz-txt-link-abbreviated" href="mailto:mapserver-users-request@lists.osgeo.org">mapserver-users-request@lists.osgeo.org</a>
You can reach the person managing the list at
<a class="x_moz-txt-link-abbreviated" href="mailto:mapserver-users-owner@lists.osgeo.org">mapserver-users-owner@lists.osgeo.org</a>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MapServer-users digest..."
Today's Topics:
1. GetMap request inside python script; measuring speed of WMS?
(Marcin Niemyjski)
2. Re: GetMap request inside python script; measuring speed of
WMS? (Seth G)
----------------------------------------------------------------------
Message: 1
Date: Tue, 24 Jan 2023 10:36:21 +0000
From: Marcin Niemyjski <a class="x_moz-txt-link-rfc2396E" href="mailto:mniemyjski@cloudferro.com"><mniemyjski@cloudferro.com></a>
To: Marcin Niemyjski via MapServer-users
<a class="x_moz-txt-link-rfc2396E" href="mailto:mapserver-users@lists.osgeo.org"><mapserver-users@lists.osgeo.org></a>
Subject: [MapServer-users] GetMap request inside python script;
measuring speed of WMS?
Message-ID:
<a class="x_moz-txt-link-rfc2396E" href="mailto:AS1PR03MB81491B498BCF03817618479AA8C99@AS1PR03MB8149.eurprd03.prod.outlook.com"><AS1PR03MB81491B498BCF03817618479AA8C99@AS1PR03MB8149.eurprd03.prod.outlook.com></a>
Content-Type: text/plain; charset="utf-8"
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
[<a class="x_moz-txt-link-freetext" href="cid:f896bb67-9d7c-4fef-a779-e7ab8c29f1e6">cid:f896bb67-9d7c-4fef-a779-e7ab8c29f1e6</a>]<a class="x_moz-txt-link-rfc2396E" href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature></a> Book time to meet with me<a class="x_moz-txt-link-rfc2396E" href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature></a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="x_moz-txt-link-rfc2396E" href="http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/109dcc83/attachment-0001.htm"><http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/109dcc83/attachment-0001.htm></a>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-a1f1cvge.png
Type: image/png
Size: 528 bytes
Desc: Outlook-a1f1cvge.png
URL: <a class="x_moz-txt-link-rfc2396E" href="http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/109dcc83/attachment-0001.png"><http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/109dcc83/attachment-0001.png></a>
------------------------------
Message: 2
Date: Tue, 24 Jan 2023 11:39:43 +0100
From: "Seth G" <a class="x_moz-txt-link-rfc2396E" href="mailto:sethg@geographika.co.uk"><sethg@geographika.co.uk></a>
To: "Marcin Niemyjski" <a class="x_moz-txt-link-rfc2396E" href="mailto:mniemyjski@cloudferro.com"><mniemyjski@cloudferro.com></a>, "MapServer Users"
<a class="x_moz-txt-link-rfc2396E" href="mailto:mapserver-users@lists.osgeo.org"><mapserver-users@lists.osgeo.org></a>
Subject: Re: [MapServer-users] GetMap request inside python script;
measuring speed of WMS?
Message-ID: <a class="x_moz-txt-link-rfc2396E" href="mailto:68512049-d2b3-47b6-a0d6-ddf307f7e668@app.fastmail.com"><68512049-d2b3-47b6-a0d6-ddf307f7e668@app.fastmail.com></a>
Content-Type: text/plain; charset="utf-8"
Hi Marcin,
Have a look at the example Python script at <a class="x_moz-txt-link-freetext" href="https://github.com/MapServer/MapServer/blob/main/mapscript/python/examples/wxs.py">https://github.com/MapServer/MapServer/blob/main/mapscript/python/examples/wxs.py</a> - this shows creating and calling a WMS request.
Seth
--
web:<a class="x_moz-txt-link-freetext" href="https://geographika.net">https://geographika.net</a>
twitter: @geographika
On Tue, Jan 24, 2023, at 11:36 AM, Marcin Niemyjski via MapServer-users wrote:
</pre>
<blockquote type="cite">
<pre class="x_moz-quote-pre">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
</pre>
</blockquote>
<pre class="x_moz-quote-pre"> <a class="x_moz-txt-link-rfc2396E" href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature></a>
</pre>
<blockquote type="cite">
<pre class="x_moz-quote-pre">
Book time to meet with me <a class="x_moz-txt-link-rfc2396E" href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature></a>
_______________________________________________
MapServer-users mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a>
<a class="x_moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<pre class="x_moz-quote-pre">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="x_moz-txt-link-rfc2396E" href="http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/9a736cd0/attachment.htm"><http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/9a736cd0/attachment.htm></a>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-a1f1cvge.png
Type: image/png
Size: 528 bytes
Desc: not available
URL: <a class="x_moz-txt-link-rfc2396E" href="http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/9a736cd0/attachment.png"><http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230124/9a736cd0/attachment.png></a>
------------------------------
Subject: Digest Footer
_______________________________________________
MapServer-users mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a>
<a class="x_moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
------------------------------
End of MapServer-users Digest, Vol 180, Issue 14
************************************************
</pre>
</blockquote>
<div class="x_moz-signature">-- <br>
<img alt="Logo Junta Andalucia" width="150" hspace="0" height="42" data-outlook-trace="F:1|T:1" src="cid:part1.8bsNWn4A.0jPvmGXR@juntadeandalucia.es">
<div id="x_texto" style="margin:10px 0 0 47px"><span style="font-size:14px; color:#000000">Román Bamio González</span>
<br>
<div style="margin:5px 0 0 0; font-size:13px; color:#808080">Gestión Proyectos<br>
Agencia Digital de Andalucía<br>
Consejería de Sostenibilidad, Medio Ambiente y Economía Azul<br>
</div>
<div style="margin:5px 0 0 0; font-size:11px; color:#000000"><a class="x_moz-txt-link-freetext" href="https://lajunta.es/3z0xj">https://lajunta.es/3z0xj</a><br>
T: 955003635 (Corp. 303635) | M: N/A<br>
<a class="x_moz-txt-link-abbreviated" href="mailto:roman.bamio@juntadeandalucia.es">roman.bamio@juntadeandalucia.es</a> |
<a class="x_moz-txt-link-abbreviated" href="http://www.juntadeandalucia.es">www.juntadeandalucia.es</a><br>
</div>
</div>
<div style="margin:10px 0 0 0; font-size:11px; color:#c0c0c0">AVISO DE CONFIDENCIALIDAD
<br>
Tanto este mensaje como todos los posibles documentos adjuntos al mismo son confidenciales y están dirigidos exclusivamente a los destinatarios de los mismos. Por favor, si Ud no es uno de dichos destinatarios, notifíquenos este hecho y elimine este mensaje
lo antes posible.Queda prohibida la copia, difusión o revelación de su contenido a terceros sin el previo consentimiento por escrito de la Consejería.
</div>
</div>
</div>
</body>
</html>