Using Gnuplot Action Blocks: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) (Weiterleitung nach Plot/Graph Action Blocks erstellt) |
||
(59 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
#redirect [[ Plot/Graph_Action_Blocks ]] |
|||
== Using Gnuplot Action Blocks == |
|||
With expecco18.1, a new block type is introduced: "Gnuplot Graph Actions". |
|||
These behave similar to other script action blocks, in that they are defined by a script |
|||
(in this case: gnuplot scripting language) and are placed into the test sequence flow |
|||
just like any other block. |
|||
However, when executed, these actions generate a graphic document (jpeg, png or postscript), |
|||
which is then either added to the activity log, or added as attachment. It will therefore be |
|||
available in the generated "elf" execution log file, or shown in the generated "pdf" report file. |
|||
=== Example: Gathering Response Times of Protocol Messages === |
|||
This example demonstrates, how a test suite can gather response times of a remote system, |
|||
when sending MQTT messages to it. |
|||
==== Step 1: define the test sequence ==== |
|||
this is a very simple publish-response setup, in that a topic is published to an MQTT broker, |
|||
and the time measured, until the notification arrives (in order to run this on your machine, |
|||
the expecco MQTT plugin needs to be installed): |
|||
Outside (Schema) view of the measuring action: |
|||
[[Datei:Schema_Measuring_MQTT.png]] |
Aktuelle Version vom 27. März 2018, 18:54 Uhr
Weiterleitung nach: