Run Settings
Once the device model has been finalized, the run settings define the parameters regarding the simulation of the devices.
Once the device model is ready, before running the simulation, we have to define the parameters of the simulation. This tells us about the scale of the simulation, and the frequency of the messages being sent.
Go to the Run Settings option in the left menu bar. Here we can create and update different run settings for our tests. The run settings are accessible whenever we want to run a test including from the Tests screen and the Results page.
To create a new run setting, click on the Add new
button on the top right corner of the page.
This will open up a form where you can set all the required properties and when you are done, hit Save. The new run setting will be saved and shown in the list.
To edit any of the already available run settings, click on the blue edit button on the corresponding run setting card. This will open a similar form to the one we used to create the run setting.
To delete a run setting, click on the red delete button on the corresponding run setting card. The selected run setting will be deleted.
Here is a quick explanation of the settings
Basic Parameters
Current Run Settings: Here we can choose from a list of previously defined run settings or create a new one. These run settings are accessible throughout IoTIFY.
Clients: Specify how many total clients you want to launch here. This is limited by your current account settings and can be upgraded based on your license.
Iterations: The number of times this simulation will repeat itself.
Iteration Interval: The gap between the end of one iteration and the start of the next iteration.
Max Simultaneous Clients Connection: The maximum number of clients that can connect to the server at any given time.
Client ID Offset: By default, the client IDs start from 0, if you need to offset the client ID, it can be done here.
Gap Between Each Client: The interval between each individual client. In other words, how fast the messages should be sent to the server. This will decide the total duration of the simulation.
Client Group Size: The clients are batched into groups which are simulated with the Network Agents, this will tell the backend how many clients should be in one batch.
Gap Between Each Group: The interval between each individual group of clients.
You can also choose what to save for the results of the test. You can choose to save the Logs, State and Payloads according to your needs. The results which you choose to keep will be visible in the test results.
Keep in mind that you can't change these settings once the test has started.
In a real-world test, due to server and client latencies, the gap between two messages may be larger than what is specified. Thankfully, in the result analysis tab, you could see how exactly the mean, minimum and maximum latencies have been measured.
Last updated