# Getting Started

> The Loadster manual and documentation. Loadster is a cloud-hybrid load testing platform for building scalable websites, web applications, and APIs.

Source: https://loadster.com/manual/

Loadster is a load testing and monitoring platform for websites, web applications, and APIs.

Load testing your site helps you prepare for high-traffic events by finding scalability bottlenecks ahead of time,
so you can optimize your site to handle the load with fast response times.

Monitoring helps you keep an eye on your site and quickly detect downtime or other problems, 24x7x365, day or night.

If you want to reduce the risk of your site crashing, you've come to the right place.

## Background

If you're new to load testing (or it's been a while) you might want to brush up on a bit of general theory in our
[Introduction to Load Testing](https://loadster.com/guides/load-testing/). There are also guides specific to
[Website Load Testing](https://loadster.com/guides/website-load-testing/) and [API Performance Testing](https://loadster.com/guides/api-performance-testing/).

You might also review some [best practices and pitfalls](https://loadster.com/guides/load-testing-best-practices/) and glance over
[load testing key concepts](https://loadster.com/manual/terms-and-definitions/).

If you're mostly interested in site monitoring, you can start with [Site & API Monitoring](https://loadster.com/manual/monitoring/) and
come back to load testing later.

If you're ready to start testing with Loadster, read on!

## Bots & Scripting

Loadster runs bots to simulate real users interacting with your site. You control their behavior with scripts.
In most cases, you'll want your scripts to mimic real user behavior on your site as closely as possible.

There are three types of scripts you can use in Loadster:

[Protocol Bots](https://loadster.com/manual/protocol-scripts/) operate at the HTTP/HTTPS protocol layer.
They're ideal for low-level testing of APIs and simple static websites. A Protocol Bot script is essentially a sequence
of HTTP requests, but you can use [variables](https://loadster.com/manual/variables-and-expressions/) with
[validation](https://loadster.com/manual/protocol-scripts/validation-rules/) and [capturing](https://loadster.com/manual/protocol-scripts/capturing-rules/)
to chain together dynamic requests and responses.

[Browser Bots](https://loadster.com/manual/browser-scripts/) control real headless web browsers.
Real browser testing is the easiest and most realistic way to test modern websites and web applications.
A Browser Bot script automates high-level actions like navigating to a URL, clicking on a button, or typing text
into a field, so you don't have to worry about the underlying protocol... the browser handles it all.

[Playwright](https://loadster.com/manual/playwright-scripts/) is a code-first alternative for developers
who prefer writing tests in JavaScript or TypeScript. You write standard Playwright Test code, and Loadster handles
execution, result collection, and integration with load testing and monitoring.

Loadster's built-in script editor makes it easy to record and modify Protocol Bot and Browser Bot scripts, or write
Playwright scripts from scratch. In the editor, you can play a script repeatedly with a single bot to make sure your
script works as intended.

## Load Testing

A load test is when you run many bots concurrently, so you can measure your site's performance and stability under heavy
load.

In Loadster, a [load test scenario](https://loadster.com/manual/load-test-scenarios/) is a recipe for how to assemble the bots into a load
test. A scenario configures how many groups of bots should run, which script each bot group should execute, and the
ramp pattern each group should follow as the bots start and stop.

When you [run a load test](https://loadster.com/manual/running-load-tests/), your bots gather site performance metrics and errors as they
test your site, and Loadster automatically assembles the data into graphs and tables. You can observe these metrics
on a realtime dashboard while your load test runs.

After the test finishes, Loadster generates a report with high-level performance metrics and an assortment of
graphs and tables, so you can further [analyze the results](https://loadster.com/manual/analyzing-test-results/) of your load test.

## Test Infrastructure

You can choose to run your bots from any of Loadster's [32 cloud regions](https://loadster.com/manual/cloud-regions/) (recommended),
or from your own [self-hosted engines](https://loadster.com/manual/testing-with-loadster-engine/) if you need to test on a private network.

After you've created test scripts and a repeatable load test scenario, consider adding load testing to
your [continuous integration](https://loadster.com/manual/load-testing-with-continuous-integration/) pipeline so you can automatically
test your site's performance and scalability with each release or on a regular schedule.

## Site Monitoring

Alongside load testing, you can also use your Loadster scripts for 24x7x365
[Site & API Monitoring](https://loadster.com/manual/monitoring/) to make sure your site stays alive and functional. Unlike a load test
that runs hundreds or thousands of bots concurrently, monitors run just one bot on a regular schedule and alert
you of downtime or other problems with your site.

You can often reuse the same scripts for both load testing and monitoring. Loadster's monitors test entire
scripted flows through your site, so it's more than just a simple uptime check.

Load testing and site monitoring are both a good idea if you want to reduce your risk of crashes and downtime.

## FAQs and Guides

Alongside this manual, we've covered quite a few [Frequently Asked Questions](https://loadster.com/faqs/).

There are also several [Guides](https://loadster.com/guides/), covering load testing and other performance engineering topics at a
higher level than we do in this manual.

You can keep tabs on what's new in Loadster each month in the [Changelog](https://loadster.com/changelog/).

## Getting Help

We hope you'll find everything you need in this manual, but load testing can be tricky, and there are edge cases we
haven't covered here.

If you don't find what you need, email [help@loadster.com](mailto:help@loadster.com) and
we'll help you out.

