Commit f4b586b3 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added a simply locust load test.

parent aeffb12e
from locust import HttpUser, task, between
from import chemical_symbols
import random
class QuickstartUser(HttpUser):
wait_time = between(1, 2)
def empty_search(self):
def elements_search(self):
self.client.get("/prod/rae/beta/api/repo/?atoms=%s" % random.choice(chemical_symbols[1:]))
def on_start(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment