From version < 59.1 >
edited by Dorian Cransac
on 2019/03/26 15:15
To version < 60.1
edited by Dorian Cransac
on 2019/03/26 15:42
<
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -105,6 +105,23 @@
105 105  [[image:Screenshot 2019-02-13 at 11.35.43.png]]
106 106  
107 107  
108 += Monitoring =
109 +
110 +Attached in this category are a couple of pure groovy plans which can be used for monitoring the load on step's agent grid and event broker. One can schedule these plans to run, for instance, every five minutes, and then chart the resulting data (i.e trends) in RTM.
111 +
112 +== Example 1: EventBroker persistent monitor ==
113 +
114 +This sample plan reports the broker's current storage size (i.e number of events present at that moment) and the size water mark (max size in the broker's life span).
115 +
116 +[[attach:SelfMonitoring__Broker.json||target="_blank"]]
117 +
118 +== Example 2: Grid monitor persistent monitor ==
119 +
120 +This sample plan reports the number of free tokens for each agent as an RTM transaction
121 +
122 +UPLOAD_TODO
123 +
124 +(% class="wikigeneratedid" %)
108 108  = Plan Modularity =
109 109  
110 110  In this category, we're illustrating the different ways you can split a test plan into different modules.
... ... @@ -113,8 +113,10 @@
113 113  
114 114  We recommend using this stragegy only when the child plan (callee) needs to directly access complex objects (for example, a DataSet), i.e it requires inputs that can not be serialized.
115 115  
116 -Advantages: easy and painless, allows for quick modularization of your plan content
133 +Advantages: easy and pain
117 117  
135 +less, allows for quick modularization of your plan content
136 +
118 118  Drawbacks: introduces white-box dependency, lacks clarity, as any parent plan will have to be aware of the specific context required by the child plan
119 119  
120 120  (% class="box warningmessage" %)
1519133304522-541.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +18.5 KB
Content
1519133517390-111.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +5.3 KB
Content
1519133573853-324.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +33.0 KB
Content
1519135643967-361.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +5.6 KB
Content
1519135699610-341.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +39.1 KB
Content
1519135753396-637.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +1.4 KB
Content
1519136026230-714.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +22.9 KB
Content
1519136198348-684.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +30.7 KB
Content
1519136304346-325.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +50.2 KB
Content
DataSet_while.json
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +2.9 KB
Content
... ... @@ -1,6 +1,6 @@
1 -{"_class":"Sequence","_id":"5a8c20f00779f913c4bd41f1","attributes":{"name":"DataSet_while"},"description":null,"childrenIDs":["5a8c20f00779f913c4bd41f3","5a8c20f00779f913c4bd41f5","5a8c20f90779f913c4bd4207"],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":true,"continueOnError":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"pacing":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"id":"5a8c20f00779f913c4bd41f1"}
2 -{"_class":"DataSet","_id":"5a8c20f00779f913c4bd41f3","attributes":{"name":"DataSet"},"description":null,"childrenIDs":[],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"item":{"dynamic":false,"value":"dataSet","expression":null,"expressionType":null},"dataSourceType":"json","dataSource":{"_class":"step.datapool.inmemory.JsonStringDataPoolConfiguration","forWrite":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"json":{"dynamic":false,"value":"{ \"a\" : [\"va1\", \"va2\", \"va3\"], \"b\" : [\"vb1\", \"vb2\", \"vb3\"] }","expression":null,"expressionType":null}},"maxFailedLoops":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"threads":{"dynamic":false,"value":1,"expression":null,"expressionType":null},"resetAtEnd":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"id":"5a8c20f00779f913c4bd41f3"}
3 -{"_class":"Set","_id":"5a8c20f00779f913c4bd41f5","attributes":{"name":"Set"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"key":{"dynamic":false,"value":"row","expression":null,"expressionType":null},"value":{"dynamic":true,"value":null,"expression":"dataSet.next()","expressionType":null},"id":"5a8c20f00779f913c4bd41f5"}
4 -{"_class":"While","_id":"5a8c20f90779f913c4bd4207","attributes":{"name":"While"},"description":null,"childrenIDs":["5a8c20f00779f913c4bd41f9","5a8c20f00779f913c4bd41fb"],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"condition":{"dynamic":true,"value":null,"expression":"row != null","expressionType":""},"pacing":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"timeout":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"maxIterations":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"id":"5a8c20f90779f913c4bd4207"}
5 -{"_class":"Echo","_id":"5a8c20f00779f913c4bd41f9","attributes":{"name":"Echo"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"text":{"dynamic":true,"value":null,"expression":"'column a=\\'' + row.a + '\\', column b=\\'' + row.b + '\\''","expressionType":null},"id":"5a8c20f00779f913c4bd41f9"}
6 -{"_class":"Set","_id":"5a8c20f00779f913c4bd41fb","attributes":{"name":"Set"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"key":{"dynamic":false,"value":"row","expression":null,"expressionType":null},"value":{"dynamic":true,"value":null,"expression":"dataSet.next()","expressionType":null},"id":"5a8c20f00779f913c4bd41fb"}
1 +{"_class":"Sequence","attributes":{"name":"DataSet_while"},"description":null,"childrenIDs":["5c38610566d426000881317c","5c3861ea66d4260008813192","5c38622866d42600088131aa"],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":true,"continueOnError":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"pacing":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"id":"5c3860fb66d4260008813172"}
2 +{"_class":"DataSet","attributes":{"name":"DataSet"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"item":{"dynamic":false,"value":"dataSet","expression":null,"expressionType":null},"dataSourceType":"json","dataSource":{"_class":"step.datapool.inmemory.JsonStringDataPoolConfiguration","forWrite":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"json":{"dynamic":false,"value":"{ \"a\" : [\"va1\", \"va2\", \"va3\"], \"b\" : [\"vb1\", \"vb2\", \"vb3\"] }","expression":null,"expressionType":null}},"maxFailedLoops":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"threads":{"dynamic":false,"value":1,"expression":null,"expressionType":null},"resetAtEnd":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"id":"5c38610566d426000881317c"}
3 +{"_class":"Set","attributes":{"name":"Set"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"key":{"dynamic":false,"value":"row","expression":null,"expressionType":null},"value":{"dynamic":true,"value":null,"expression":"dataSet.next()","expressionType":null},"id":"5c3861ea66d4260008813192"}
4 +{"_class":"While","attributes":{"name":"While"},"description":null,"childrenIDs":["5c38623766d42600088131c4","5c38626466d42600088131e3"],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"condition":{"dynamic":true,"value":null,"expression":"row != null","expressionType":""},"pacing":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"timeout":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"maxIterations":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"id":"5c38622866d42600088131aa"}
5 +{"_class":"Echo","attributes":{"name":"Echo"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"text":{"dynamic":true,"value":null,"expression":"'column a=' + row.a + ', column b=' + row.b","expressionType":null},"id":"5c38623766d42600088131c4"}
6 +{"_class":"Set","attributes":{"name":"Set"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"key":{"dynamic":false,"value":"row","expression":null,"expressionType":null},"value":{"dynamic":true,"value":null,"expression":"dataSet.next()","expressionType":null},"id":"5c38626466d42600088131e3"}
DataSet_withReset.json
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +2.8 KB
Content
... ... @@ -1,6 +1,5 @@
1 -{"_class":"Sequence","_id":"5a8c0ff20779f913a4b1f171","attributes":{"name":"DataSet_withReset"},"description":null,"childrenIDs":["5a8c0ff60779f913a4b1f176","5a8c10760779f913a4b1f42d","5a8c10430779f913a4b1f216"],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":true,"continueOnError":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"pacing":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"id":"5a8c0ff20779f913a4b1f171"}
2 -{"_class":"DataSet","_id":"5a8c0ff60779f913a4b1f176","attributes":{"name":"DataSet"},"description":null,"childrenIDs":[],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"item":{"dynamic":false,"value":"dataSet","expression":null,"expressionType":null},"dataSourceType":"json","dataSource":{"_class":"step.datapool.inmemory.JsonStringDataPoolConfiguration","forWrite":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"json":{"dynamic":false,"value":"{ \"a\" : [\"va1\", \"va2\", \"va3\"], \"b\" : [\"vb1\", \"vb2\", \"vb3\"] }","expression":null,"expressionType":null}},"maxFailedLoops":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"threads":{"dynamic":false,"value":1,"expression":null,"expressionType":null},"resetAtEnd":{"dynamic":false,"value":true,"expression":null,"expressionType":null},"id":"5a8c0ff60779f913a4b1f176"}
3 -{"_class":"Set","_id":"5a8c10760779f913a4b1f42d","attributes":{"name":"Set"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"key":{"dynamic":false,"value":"row","expression":null,"expressionType":null},"value":{"dynamic":true,"value":null,"expression":"dataSet.next()","expressionType":null},"id":"5a8c10760779f913a4b1f42d"}
4 -{"_class":"For","_id":"5a8c10430779f913a4b1f216","attributes":{"name":"For"},"description":null,"childrenIDs":["5a8c10230779f913a4b1f197","5a8c101f0779f913a4b1f18f"],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"item":{"dynamic":false,"value":"counter","expression":null,"expressionType":null},"dataSourceType":"sequence","dataSource":{"_class":"step.datapool.sequence.IntSequenceDataPool","forWrite":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"start":{"dynamic":false,"value":1,"expression":null,"expressionType":null},"end":{"dynamic":false,"value":4,"expression":null,"expressionType":null},"inc":{"dynamic":false,"value":1,"expression":null,"expressionType":null}},"maxFailedLoops":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"threads":{"dynamic":false,"value":1,"expression":null,"expressionType":null},"id":"5a8c10430779f913a4b1f216"}
5 -{"_class":"Echo","_id":"5a8c10230779f913a4b1f197","attributes":{"name":"Echo"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"text":{"dynamic":true,"value":null,"expression":"'column a=\\'' + row.a + '\\', column b=\\'' + row.b + '\\''","expressionType":null},"id":"5a8c10230779f913a4b1f197"}
6 -{"_class":"Set","_id":"5a8c101f0779f913a4b1f18f","attributes":{"name":"Set"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"key":{"dynamic":false,"value":"row","expression":null,"expressionType":null},"value":{"dynamic":true,"value":null,"expression":"dataSet.next()","expressionType":null},"id":"5a8c101f0779f913a4b1f18f"}
1 +{"_class":"Sequence","attributes":{"name":"DataSet_withReset"},"description":null,"childrenIDs":["5c38646666d4260008817f2a","5c38646666d4260008817f2d"],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":true,"continueOnError":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"pacing":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"id":"5c38645766d4260008817f1c"}
2 +{"_class":"DataSet","attributes":{"name":"DataSet"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"item":{"dynamic":false,"value":"dataSet","expression":null,"expressionType":null},"dataSourceType":"json","dataSource":{"_class":"step.datapool.inmemory.JsonStringDataPoolConfiguration","forWrite":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"json":{"dynamic":false,"value":"{ \"a\" : [\"va1\", \"va2\", \"va3\"], \"b\" : [\"vb1\", \"vb2\", \"vb3\"] }","expression":null,"expressionType":null}},"maxFailedLoops":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"threads":{"dynamic":false,"value":1,"expression":null,"expressionType":null},"resetAtEnd":{"dynamic":false,"value":true,"expression":null,"expressionType":null},"id":"5c38646666d4260008817f2a"}
3 +{"_class":"For","attributes":{"name":"For"},"description":null,"childrenIDs":["5c38646666d4260008817f30","5c38646666d4260008817f33"],"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"item":{"dynamic":false,"value":"counter","expression":null,"expressionType":null},"dataSourceType":"sequence","dataSource":{"_class":"step.datapool.sequence.IntSequenceDataPool","forWrite":{"dynamic":false,"value":false,"expression":null,"expressionType":null},"start":{"dynamic":false,"value":1,"expression":null,"expressionType":null},"end":{"dynamic":false,"value":4,"expression":null,"expressionType":null},"inc":{"dynamic":false,"value":1,"expression":null,"expressionType":null}},"maxFailedLoops":{"dynamic":false,"value":null,"expression":null,"expressionType":null},"threads":{"dynamic":false,"value":1,"expression":null,"expressionType":null},"id":"5c38646666d4260008817f2d"}
4 +{"_class":"Set","attributes":{"name":"Set"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"key":{"dynamic":false,"value":"row","expression":null,"expressionType":null},"value":{"dynamic":true,"value":null,"expression":"dataSet.next()","expressionType":null},"id":"5c38646666d4260008817f30"}
5 +{"_class":"Echo","attributes":{"name":"Echo"},"description":null,"childrenIDs":null,"customAttributes":null,"attachments":null,"createSkeleton":false,"root":false,"text":{"dynamic":true,"value":null,"expression":"'column a=' + row.a + ', column b=' + row.b","expressionType":null},"id":"5c38646666d4260008817f33"}
Dataset_basic.json
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +1.5 KB
Screen Shot 2019-01-11 at 10.46.41.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +88.1 KB
Content
Screen Shot 2019-01-11 at 10.47.42.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +140.6 KB
Content
Screenshot 2019-02-13 at 11.35.43.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +128.6 KB
Content
SelfMonitoring__Broker.json
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +2.1 KB
ThreadGroup_withDataset.json
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +2.9 KB
Threadgroup_withDataset.json
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +2.8 KB
meetingPoint.json
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +5.3 KB
Copyright © exense GmbH
v1.0