How to Do Performance Testing With Katalon & OctoPerf

performance testing katalon octoperf

Learn how to run OctoPerf load tests from Katalon Studio: set up an OctoPerf workspace, scenario, and template, call the OctoPerf APIs from Katalon test cases, track run progress, and download the performance report automatically.

Key takeaways
The 30-second version of this article
Performance testing checks an application's speed, scalability, and stability under load, through load, stress, and volume testing.
OctoPerf is a load testing platform, available as SaaS or on-premise, that simulates thousands of concurrent users.
Set up a workspace, project, virtual user, scenario, and template in OctoPerf, and store their IDs and your API key in a Katalon profile.
Katalon test cases call OctoPerf's APIs to start a scenario, track its progress, and download the PDF report.
Running these test cases as one suite brings load testing into your existing automated test workflow.
Katalon with Octoperf performance testing

What Is Performance Testing?

Performance testing is a software testing process used for testing the speed, response time, stability, reliability, scalability, and resource usage of a software application under a particular workload. The main purpose of performance testing is to identify and eliminate the performance bottlenecks in the software application.

Watch the webinar: Streamlining QA with functional and performance testing integration

Key Parameters of Performance Testing

  • Speed: determines whether the application responds quickly
  • Scalability: determines the maximum user load the software application can handle
  • Stability: determines if the application is stable under varying loads

Types of Performance Testing

  • Load testing: checks the application’s ability to perform under anticipated user loads. The objective is to identify performance bottlenecks before the software application goes live.
  • Stress testing: involves testing an application under extreme workloads to see how it handles high traffic or data processing. The objective is to identify the breaking point of an application.
  • Volume testing: a large amount of data is populated in a database, and the overall software system’s behavior is monitored. The objective is to check a software application’s performance under varying database volumes.

What Is OctoPerf?

Octoperf Logo

OctoPerf is a commercial load testing platform available as SaaS or on-premise. It allows simulating thousands of concurrent users on any HTTP-based website or mobile application. On premise means you can install your own OctoPerf platform anywhere you want. It has the following key features: record and design realistic virtual users, monitor your servers, run scenarios from multiple locations (Europe, USA, and more), and analyze bench reports to find performance bottlenecks.

What Is Katalon?

Katalon logo

Katalon is a modern, comprehensive quality management platform that helps teams of any size deliver high-quality digital experiences. Katalon Studio is a comprehensive toolset for web, API, mobile, and desktop app automation testing.

Katalon With OctoPerf

In the following section we will walk you through the steps to prepare an OctoPerf workspace with all the necessary performance activity and then call the OctoPerf APIs within Katalon Studio to generate a performance test report. Then, we will visualize the results of the test execution using Katalon TestOps™.

Watch the webinar: Boosting app resilience: Performance testing essentials with Katalon & OctoPerf

Prerequisites

Account Setup in OctoPerf

  • Log in to the OctoPerf account.
  • Create a workspace and copy the Workspace Id from the URL.
image10.png
  • Create a project and copy the Project Id from the URL.
image12.png
  • Create Virtual User. A Virtual User represents a user journey through your application. It lets you simulate real user behavior. You are then prompted with several options:
    • Website or REST API
    • Browser record (HAR)
    • JMeter project
    • Postman collection
    • Fragments 

This tutorial uses Browser Record (HAR) for the Virtual User so you can generate a .har file on a browser (Chrome/Firefox) by recording all the action for test application.

  • Go with the Virtual User Validation check.
  • Click on Execute Load.
image4.png
  • Click on Create Scenario and copy the Scenario Id from the URL.
image15.png
  • Enter the Time of occurrence and number of concurrent users.
image18.png
  • Click on Templates, then Extract Template, and copy Template Id from the URL.
image2.png

Project Setup in Katalon

  • Create a project.
  • Add all the stored values for OctoPerf into the Katalon execution profile:
    • Template Id
    • Scenario Id
    • Workspace Id
    • Project Id
    • OctoPerf API Key
  • Add download-report.sh at the project root directory.
image16.png
  • Create APIs within the Object Repository.
    • API endpoint: POST https://api.octoperf.com/runtime/scenarios/run/<scenarioId>?templateId=<templateId>
    • HTTP header: Authorization: Bearer ${apikey}
image9.png
  • API endpoint: GET https://api.octoperf.com/runtime/bench-results/progress/${benchResultId}
  • HTTP header: Authorization: Bearer ${apikey}
  • Create test cases and extract the values from the APIs.
  • Test Case No. 1: TC001_Executes the scenario with the given ID.
image7.png
  • Test Case No. 2: TC002_Track Run Progress. 
image5.png
  • Test Case No. 3: TC003_Download PDF Report. 
image11.png
  • Create a Test Suite and add all the above test cases.
image19.png
  • Run Katalon test suite and verify the report downloaded on the project root directory.
image8.png

Conclusion

Performance testing is an essential part of software testing, ensuring that an application is stable, reliable, and scalable. Katalon and OctoPerf work together to bring performance testing into the same automated suites you already run, so teams can trigger load tests, track their progress, and collect reports without manual steps, making it easier to identify and eliminate performance bottlenecks.

With OctoPerf's ability to simulate thousands of concurrent users and Katalon's comprehensive toolset for automation testing, the combined solution provides a capable performance testing setup for teams of any size. By following the steps outlined in this article, teams can set up an OctoPerf workspace and integrate it with Katalon to generate performance test reports and identify performance issues efficiently.

Start Testing With Katalon Now


 Read more:

Frequently asked questions

Son Huynh
Son HuynhSupport Engineer

Son Huynh is a Support Engineer at Katalon, based in Ho Chi Minh City, where he helps customers solve technical issues across the Katalon platform. Before joining Katalon in 2025, he spent three years as a Professional Services Engineer at ELCA Vietnam. He studied at California State Polytechnic University, Pomona.

Connect on LinkedIn →
Get started

Test everything. Ship with confidence.

From generating test cases to spotting failures, Katalon's AI works across your entire pipeline, automatically.

Live webinar

The Next Evolution of Manual Testing: Introducing Katalon AI Test Runner

Learn how to grow your QA team's capacity in the age of AI, then watch Katalon AI Test Runner turn manual test cases into automated runs, live.

2:00 to 3:00 PM IST
Almas AhmedSenior Account Manager
Sumit WankhedeSolutions Engineer Manager
Register now