Class PerformanceTests
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.thingsboard.PerformanceTests
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
A_DEVICE
- See Also:
-
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
Removes devices.- Parameters:
ids- the ids of the devices- Returns:
- the elapsed wall time [ms]
-
add
Adds devices.- Parameters:
ids- the ids of the devices- Returns:
- the elapsed wall time [ms]
-