Class PerformanceTests

java.lang.Object
de.iip_ecosphere.platform.deviceMgt.thingsboard.PerformanceTests

public class PerformanceTests extends Object
  • Field Details

    • A_DEVICE

      public static final String A_DEVICE
      See Also:
    • AN_IP

      public static final String AN_IP
      See Also:
    • registry

      private de.iip_ecosphere.platform.deviceMgt.thingsboard.ThingsBoardDeviceRegistry registry
    • restClient

      private org.thingsboard.rest.client.RestClient restClient
  • Constructor Details

    • PerformanceTests

      public PerformanceTests()
  • Method Details

    • setUp

      public void setUp()
      Configures the test before running.
    • tearDown

      public void tearDown()
      Cleans up after testing.
    • testAddSpeed

      public void testAddSpeed()
      Tests the device adding speed.
    • testRemoveSpeed

      public void testRemoveSpeed()
      Tests the device removal speed.
    • remove

      private long remove(List<String> ids)
      Removes devices.
      Parameters:
      ids - the ids of the devices
      Returns:
      the elapsed wall time [ms]
    • add

      private long add(List<String> ids)
      Adds devices.
      Parameters:
      ids - the ids of the devices
      Returns:
      the elapsed wall time [ms]