Load Testing
Once your server is up and running, you should perform load testing to make sure it can handle the expected amount of traffic with adequate performance. We recommend using k6 for this purpose.
Prerequisites
First, install k6 for your operating system. For example, on MacOS:
Running Tests
In the Open Data Capture repository, there is a package @opendatacapture/k6
that contains an example of load testing with our public demo.
Once you are in that repository, you can run the example with the following command: