-
-
Save lauriku/31aa08403fe13e68f795 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@task(100) | |
def write_one_measurement_for_one_device(self): | |
self.client.post("/write", data=self.datapoint_temperature, | |
params="db=load_testing", | |
headers={'Content-Type': 'application/octet-stream'}, | |
name="Write one measurement for one device") | |
@task(100) | |
def write_250_measurements_to_all_series(self): | |
self.client.post("/write", data=datapoints_250, | |
params="db=load_testing", | |
headers={'Content-Type': 'application/octet-stream'}, | |
name="Write 250 measurements across 7 series") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment