BusStop - Docs

This page contains all the key documents you might need. Feel free to browse, download, and stay updated with the latest versions. We regularly update this section to ensure you have the most current and relevant documents at your fingertips.

How to Generate Test Data for API with BusStop?

Generating test data in BusStop is simple and quick. The flow helps you create reliable inputs for your API tests without writing code. The steps below guide you from configuration to execution. Each step focuses on clarity and gives you full control over your data needs.

1. Configure and save your API setup

Start by configuring your API details in BusStop. This includes the method, URL, headers, and body fields. These inputs help BusStop understand your API and know what type of test data is required. After adding the details, save the configuration.

Configure and save your API setup

2. Click the AI icon button

After saving the configuration, click the AI button. This action triggers the engine that prepares the data logic.

Click the AI icon button

3. Review setting and generate test data

BusStop opens a popup that shows the detected settings. On clicking of "Setting', the view will include the attributes found in your API body. You can modify the values if needed. BusStop sets up the default setting as per its understanding of your API.

 Review setting and generate test data

Let us get started

Click the "Generate data with AI" button to start building the data sets. BusStop generated test data as per the configuration. The generated test data sets will appear in the lower section of the screen.

4. View the test data output

BusStop displays the generated test data at the bottom. You will see a list of data sets created based on your configuration. Each set follows a clear naming pattern. This makes it easy to understand the type of test values inside each file.

View the test data output

Sign up and check it out

BusStop creates several data sets. The first data set is empty data. The next covers attribute-wise data. For example, if your API has two attributes, you may see two files. These appear only when both attributes are configured in the settings. If you configure one attribute, you see one file. The last data set is a mixed data set. This set contains varied combinations from across the attributes.

5. Open or download a test data file

Click any test data name to open the file. BusStop then displays all data points inside the selected set. Use the download option to save the file. This allows you to store the values or share them with your team.

Open or download a test data file

Create my test data

6. Execute the API with the test data

Click the execute button to run the data through your API. BusStop sends one request for each data point. For example, five rows create five API calls. BusStop also captures the result of each API request. These results remain linked to the data set.

Execute the API with the test data

Try out this simple automation

After the execution completes, open the test data set again. Scroll to the right to view the responses for each data point. This view helps you compare the input and the output. You can use the download option to export the data with the responses. This gives you a complete result set for your review.