Difference between revisions of "Stress Tester"
Kevin Wilkie (Talk | contribs) (→Example) |
Kevin Wilkie (Talk | contribs) |
||
Line 2: | Line 2: | ||
'''description''': String, description to show in the stres test history. | '''description''': String, description to show in the stres test history. | ||
− | '''devices''' : Integer, final number of devices to test to. | + | '''devices''' : Integer (default 10), 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). | + | '''devicesSteps''': Integer (default 10), 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. | + | '''dstIPFirstOctet''': Integer (default 10) , 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). | + | '''dstIPSecondOctetEnd''': Integer (default 15), 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) . | + | '''dstIPThirdOctetEnd''': Integer (default 7), 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]). | + | '''dstIPFourthOctetEnd''': Integer (default 4), 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. | + | '''durationMsec''': Long (default 10), how long in milliseconds should the test run for. |
− | '''flows''': Integer, final number of flows to test to. | + | '''flows''': Integer (default 1000), 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). | + | '''flowsSteps''': Integer (default 1000), 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 | + | '''iterations''': Integer (default 1), how many times should this test criteria be run |
− | '''proto1''': Integer, Protocol number to use for all flows, will alternate between proto1 and proto2 | + | '''proto1''': Integer (default 6), 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 | + | '''proto2''': Integer (default 170), 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 | + | '''randomized''': boolean (true/false) (default 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. | + | '''srcIPFirstOctet''': Integer (default 10), 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). | + | '''srcIPSecondOctetEnd''': Integer (default 16), 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) . | + | '''srcIPThirdOctetEnd''': Integer (default 8), 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]). | + | '''srcIPFourthOctetEnd''': Integer (default 4), 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). | + | '''srcPortEnd''': Integer (default 1000), 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). | + | '''dstPortEnd''': Integer (default 100), 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). | + | '''tosEnd''': Integer (default 3), 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. | + | '''srcIntEnd''': Integer (default 4), 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. | + | '''dstIntEnd''': Integer (default 4), number to use as range, from 0(inclusive) to number (exclusive) this is added to 1 so there are no zero interfaces. |
=== Example === | === Example === |
Latest revision as of 11:15, 28 July 2023
Fields
description: String, description to show in the stres test history.
devices : Integer (default 10), final number of devices to test to.
devicesSteps: Integer (default 10), Step count to use as start value and incrememnt value for devices to generate (up to devices value set above).
dstIPFirstOctet: Integer (default 10) , 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 (default 15), 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 (default 7), 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 (default 4), 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 (default 10), how long in milliseconds should the test run for.
flows: Integer (default 1000), final number of flows to test to.
flowsSteps: Integer (default 1000), step count to use as start value and incrememnt value for flows to generate (up to flows value set above).
iterations: Integer (default 1), how many times should this test criteria be run
proto1: Integer (default 6), Protocol number to use for all flows, will alternate between proto1 and proto2
proto2: Integer (default 170), Protocol number to use for all flows, will alternate between proto1 and proto2
randomized: boolean (true/false) (default false), should the randomizer of data be used for this test
srcIPFirstOctet: Integer (default 10), 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 (default 16), 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 (default 8), 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 (default 4), 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 (default 1000), 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 (default 100), 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 (default 3), number to use as range, from 0(inclusive) to number (exclusive).
srcIntEnd: Integer (default 4), number to use as range, from 0(inclusive) to number (exclusive) this is added to 1 so there are no zero interfaces.
dstIntEnd: Integer (default 4), 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 }]