Chalba is an open source hackable load testing tool. Chalab is inspired form jmeter , gatling , grinder like tool.
Unlike jmeter it don’t have GUI you have to write the load code and the code is written in java thus enables you to leverage the full power of java.
The best part is you don’t need any build tool. just pass the java file to it for execution. With help of these I can easily tweak my scripts in the linux box from where I am generating load
Installing
- Chalba support java 8 and JAVA_HOME must be set the java JDK it won’t work with JRE
- visit https://buglens.com/ download package for your environment. It is written in java so it will work in any platform which support java.
- Extract the archive
- Add bin directory to the path of your system.
- In linux add full path of bin folder to path of ~/.profile
- In windows add bin directory to the environment variable.
- Type chalba in terminal or command prompt.
- chalba should get execute.
First Script
Now lets write are first load script in chalba. Chalba provide features to generate the boilerplate script.chalba -newFile
It will generate the file name Task1.java in the current directory.package chalba;
import skd.chalba.common.*;
import skd.chalba.requests.*;
import skd.chalba.runner.*;
import skd.chalba.interfaces.*;
/**
* This is the template File for writing the load script
* Please follow the structure as described in this file
*
* @author sapan.dang
*/
@ThreadCount(1)
@ThreadSpawnDelay(100)
public class Task1 extends Task {
// this constructor is required
public Task1(TaskParams taskParams) {
}
//This method is executed after constructor
//script must implement this method
@Override
public void run() {
super.run();
//executable method
//it is good practice to write your code in other method
mainLoop();
_testCompleted(); //call when the test is complete
}
//Main Loop write your logic here
public void mainLoop() {
//Write your code in the try-catch block
//to avoid any unexpected closure of the script
try {
//create GET request
System.out.println("send get request");
ResponseData googleResponse = requests.get("https://www.google.com/");
System.out.println("response code " + googleResponse.code);
//create async request
requests.get("https://www.google.com/", new AsyncResponseCallback() {
@Override
public void onResponse(ResponseData arg0) {
System.out.println(" "+arg0.body);
}
});
} catch (Exception e) {
LOG(e);
}
}
}
The script is java class file. So you can code using any IDE just add chalba.jar found inside the lib directory of chalba in the classpath of the IDE.Here @ThreadCount(1) specifies how many thread you want to start. @ThreadSpawnDelay(100) specify the dealy after each thread specified in ms.
If you are familar with java it can be observed that first constructor public Task1(TaskParams taskParams) is called after that public void run() is executed.
The script logic can be written in public void mainLoop() method.
_testCompleted(); is called after completion of the test.
Requests
chalba provides a easy to use api to generate the requests.For get request requests.get() it accept the url, headers, query parameters
as from the documentFor async requset AsyncResponseCallback() to the same get method.
currently chalab support only GET and POST methods.
Running the script
To run the script just pass the file name to chalba and it will exectute the script.chalba -f Task1.java
It will exeute the Task1.java. chalba writes logs in chalba.log and reponses are logged in response.ctl this is the csv file.Analytics
Currently chalba does not support out of the HTML reporting. However you can use your own analytics tool to analyse the response.ctl file.chalaba documentation https://buglens.com/guide/guide/

Prozentrechner Tool helps you calculate percentages quickly and without confusion. It is useful for checking discounts, comparing prices, and solving school math problems. The tool shows results instantly, so there is no waiting. It works smoothly on mobile and computer devices. You don’t need to remember any formulas because the tool does the work for you. Prozentrechner Tool keeps your calculations fast, clear, and accurate.
ReplyDeleteIf you love streaming movies without interruptions, check out the Movie Box APK old version . It’s stable, lightweight, and works great on older Android phones. No unnecessary updates, just smooth entertainment anytime you want!
ReplyDeleteI recently decided to buy Manuka honey in Pakistan after hearing so much about its natural health benefits. It turned out to be one of the best choices I’ve made! The quality is premium, with a rich golden texture and authentic taste. It’s been helping me with my seasonal allergies and overall energy levels. I also use it on my skin as a natural moisturizer — it works wonders. It’s rare to find genuine Manuka honey in local stores, so having a trustworthy online option makes it so convenient.
ReplyDeleteAfter testing several versions of the app, I found that the VidMate APK old version
ReplyDeleteis still the most efficient. It runs faster, doesn’t crash, and lets you download HD videos with ease. The app interface is clean and clutter-free, which makes it enjoyable to use.
For anyone frustrated with frequent updates slowing down browsers, the UC Browser Old Version is a lifesaver. It’s lightweight, fast, and runs smoothly even on older Android devices. I love its simple interface and the fact that it doesn’t bombard you with unnecessary features.
ReplyDeleteIf you’re looking for an affordable and eco-friendly way to travel, the govt e-bike scheme is a fantastic initiative. It provides subsidies on electric bikes, making them accessible for a wider range of people. E-bikes are not only economical but also reduce traffic congestion and pollution.
ReplyDeleteUsing the Avatar World Mod APK gives you full control over customization. I love that all the locked items and rooms are instantly available. It makes designing characters so much more fun. The mod’s performance is smooth with no crashes. The visuals and animations are also enhanced. A highly enjoyable version for creative players.
ReplyDeleteA solar company in Gurugram helps people switch to clean and affordable energy with simple and smooth installation services. These companies guide you in choosing the right solar panels, handle the setup quickly, and make sure everything runs efficiently for years. With rising electricity costs and growing interest in renewable energy, a good solar company in Gurugram focuses on easy support, budget-friendly options, and reliable performance to make going solar a stress-free choice for homes and businesses.
ReplyDeleteThe official site for Cinema HD APK is typically regarded as **cinemahdplus.com**, which offers the latest stable and beta APK versions, support for various devices (like Android phones, FireStick, and PCs), and detailed changelogs for updates. ([CinemaHDplus][1]) On this site, you can find information about offline downloads, video quality options (including FHD and 4K), and the app’s features like “Watch Later” mode. ([CinemaHDplus][1]) The About section shows that the app is completely free, regularly updated, and doesn’t require user login to stream. ([CinemaHDplus][1]) However, there are also many copycat websites, so it’s wise to double-check URLs carefully. ([reddit.com][2])
ReplyDelete[1]: https://cinemahdplus.com/?utm_source=chatgpt.com "Cinema HD App Free for Firestick, Android, iOS, TV Latest"
[2]: https://www.reddit.com/r/ApksApps/comments/1h0fsu3?utm_source=chatgpt.com "Are CinemaHD and BeeTV officially gone or are these sites official?"