Difference between revisions of "Stress Tester"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
 
(10 intermediate revisions by one user not shown)
Line 1: Line 1:
  [
+
=== Fields ===
    {
+
'''description''': String, description to show in the stres test history.
        "description": "Test Description",
+
 
        "devices": 10,
+
'''devices''' : Integer (default 10), final number of devices to test to.
        "devicesSteps": 1,
+
 
        "durationMsec": 600000,
+
'''devicesSteps''': Integer (default 10), Step count to use as start value and incrememnt value for devices to generate (up to devices value set above).
        "flows": 1000,
+
 
        "flowsSteps": 1000,
+
'''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.
        "iterations": 1,
+
 
        "randomized": true,
+
'''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).
        "srcStartIPFirstOctet":10,
+
 
        "srcStartIPSecondOctetModder":1,
+
'''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) .
        "srcStartIPThirdOctetModder":1,
+
 
        "srcStartIPFourthOctetModder":4,
+
'''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]).
        "dstStartIPFirstOctet":11,
+
 
        "dstStartIPSecondOctetModder":1,
+
'''durationMsec''': Long (default 10), how long in milliseconds should the test run for.
        "dstStartIPThirdOctetModder":1,
+
 
        "dstStartIPFourthOctetModder":4,
+
'''flows''': Integer (default 1000), final number of flows to test to.
        "tosModder":3,
+
 
        "srcPortModder":100,
+
'''flowsSteps''': Integer (default 1000), step count to use as start value and incrememnt value for flows to generate (up to flows  value set above).
        "dstPortModder":10,
+
 
        "proto1":6,
+
'''iterations''': Integer (default 1), how many times should this test criteria be run
        "proto2":17
+
 
    }
+
'''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
 +
  }]

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
}]