import time
import json
from locust import HttpUser, TaskSet, task

class UserBehaviour(TaskSet):
    def on_start(self):
        self.post_score()

    @task(1)
    def post_score(self):
        self.client.post("/api/score", {'username': 'Sk8terBoi69', 'score': 1234})


class User(HttpUser):
    tasks = [UserBehaviour]
    host = 'https://localhost:3000'

70fbfe4c4de0759ac1f3bae57002a4b7e3eb2c48
<mask token>


class User(HttpUser):
    <mask token>
    <mask token>

<mask token>


class UserBehaviour(TaskSet):
    <mask token>
    <mask token>


class User(HttpUser):
    tasks = [UserBehaviour]
    host = 'https://localhost:3000'

<mask token>


class UserBehaviour(TaskSet):
    <mask token>

    @task(1)
    def post_score(self):
        self.client.post('/api/score', {'username': 'Sk8terBoi69', 'score':
            1234})


class User(HttpUser):
    tasks = [UserBehaviour]
    host = 'https://localhost:3000'

<mask token>


class UserBehaviour(TaskSet):

    def on_start(self):
        self.post_score()

    @task(1)
    def post_score(self):
        self.client.post('/api/score', {'username': 'Sk8terBoi69', 'score':
            1234})


class User(HttpUser):
    tasks = [UserBehaviour]
    host = 'https://localhost:3000'

import time
import json
from locust import HttpUser, TaskSet, task

class UserBehaviour(TaskSet):
    def on_start(self):
        self.post_score()

    @task(1)
    def post_score(self):
        self.client.post("/api/score", {'username': 'Sk8terBoi69', 'score': 1234})


class User(HttpUser):
    tasks = [UserBehaviour]
    host = 'https://localhost:3000'
