Difference between revisions of "Stress Tester"
Kevin Wilkie (Talk | contribs) |
Kevin Wilkie (Talk | contribs) (→Example) |
||
Line 48: | Line 48: | ||
=== Example === | === Example === | ||
Generate data for 10 devices | Generate data for 10 devices | ||
+ | |||
srcip range = 10.[0-1].[0-2].[0-3] | srcip range = 10.[0-1].[0-2].[0-3] | ||
+ | |||
dstip range = 11.[0-1].[0-9].[0-99] | dstip range = 11.[0-1].[0-9].[0-99] | ||
+ | |||
srcport range = 1024-1024 | srcport range = 1024-1024 | ||
+ | |||
dstport range = 1025-1034 | dstport range = 1025-1034 | ||
+ | |||
srcInt range = 1-20 | srcInt range = 1-20 | ||
+ | |||
dstInt range = 1-10 | dstInt range = 1-10 | ||
+ | |||
Random true | Random true | ||
Revision as of 09:36, 28 July 2023
Fields
description: String, description to show in the stres test history.
devices : Integer, final number of devices to test to.
devicesSteps: Integer, Step count to use as start value and incrememnt value for devices to generate (up to devices value set above).
dstIPFirstOctet: Integer, number to use as first octet of IP address, i.e. setting to 10 would force all ips to be 10.x.x.x.
dstIPSecondOctetEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive), i.e. setting to 20 would allow for IPs in range of (x.[0-19].x.x).
dstIPThirdOctetEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive), i.e. setting to 20 would allow for IPs in range of (x.x.[0-19].x) .
dstIPFourthOctetEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive), i.e. setting to 20 would allow for IPs in range of (x.x.x.[0-19]).
durationMsec: Long, how long in milliseconds should the test run for.
flows: Integer, final number of flows to test to.
flowsSteps: Integer, step count to use as start value and incrememnt value for flows to generate (up to flows value set above).
iterations: Integer, how many times should this test criteria be run
proto1: Integer, Protocol number to use for all flows, will alternate between proto1 and proto2
proto2: Integer, Protocol number to use for all flows, will alternate between proto1 and proto2
randomized: boolean (true/false), should the randomizer of data be used for this test
srcIPFirstOctet: Integer, number to use as first octet of IP address, i.e. setting to 10 would force all ips to be 10.x.x.x.
srcIPSecondOctetEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive), i.e. setting to 20 would allow for IPs in range of (x.[0-19].x.x).
srcIPThirdOctetEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive), i.e. setting to 20 would allow for IPs in range of (x.x.[0-19].x) .
srcIPFourthOctetEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive), i.e. setting to 20 would allow for IPs in range of (x.x.x.[0-19]).
srcPortEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive) this is added to 1024, i.e. setting to 20 would allow for IPs in range of 1025-1044).
dstPortEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive) this is added to 1025, i.e. setting to 10 would allow for IPs in range of 1025-1034).
tosEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive).
srcIntEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive) this is added to 1 so there are no zero interfaces.
dstIntEnd: Integer, number to use as range, from 0(inclusive) to number (exclusive) this is added to 1 so there are no zero interfaces.
Example
Generate data for 10 devices
srcip range = 10.[0-1].[0-2].[0-3]
dstip range = 11.[0-1].[0-9].[0-99]
srcport range = 1024-1024
dstport range = 1025-1034
srcInt range = 1-20
dstInt range = 1-10
Random true
[{ "description": "Test Description", "devices": 10, "devicesSteps": 10, "dstIPFirstOctet": 11, "dstIPSecondOctetEnd": 2, "dstIPThirdOctetEnd": 10, "dstIPFourthOctetEnd": 100, "dstPortEnd": 10, "durationMsec": 1200000, "flows": 1000, "flowsSteps": 1000, "iterations": 1, "proto1": 6, "proto2": 17, "randomized": true, "srcIPFirstOctet": 10, "srcIPSecondOctetEnd": 2, "srcIPThirdOctetEnd": 3, "srcIPFourthOctetEnd": 4, "srcPortEnd": 1, "tosEnd": 20, "srcIntEnd":20, "dstIntEnd":10 }]