TABLE OF CONTENTS
3. Performing the Load Testing
3.1 Creating a Project Page and Configuring the Spreadsheet
1. Overview
Load testing is a type of performance testing used to evaluate how a system or application behaves under a specified load.
2. Prerequisites
Java-JMETER is a performance testing framework that uses Java. It supports only Java version 1.8 To Install Java, click here.
3. Performing the Load Testing
3.1 Creating a Project Page and Configuring the Spreadsheet
- In algoQA, Navigate to the Projects and click on '+' icon to create a project.
- In the Create Project Page, enter the Project Name, select the Automation type as Load Test Automation and click Create Project button.
- Let us configure the spreadsheet which will serve as an input file.
- For Configuring a spreadsheet, use the parameters defined in the following table:
Parameter Description Name Load Testing Type API URL HTTPS://staging.algoshack.net Thread Count 5 Loop Count 1 Ramp Up 5 Set Duration 6 Infinite Loop FALSE End Point User/Login Method POST Request Body {"user":{"email":"eipgctzmvsfivtnkkx@tmmcv.com","
password":"eyJhbGciOiJIUzI1NiJ9.UkBqZXNoMTIz._pUSOKQleRDRgb0XzNT1cY3UVFBVdMzYjB_0iZb7NAM"}}Headers content-type:application/json Authorization NA Store Variable accessToken - The name of the spreadsheet file should be Node name_Project name format.
- Navigate back to your project and in canvas click on more dropdown and select Configuration File
- Click on Upload to navigate and select the configured file. Upload the configured spreadsheet.
- Https need to pass only first time for accessing applications and if user pass https thread count will not be accepted.
- From second time users to pass without protocol like https or http.
- File uploaded successfully pop-up appears.
- In the Script Generation Settings set the framework as Java-JMETER.
- Next, let us generate test cases.
- In Canvas, click Generate Testcase button to generate test cases.
- Test Cases are generated successfully pop-up appears and in same pop-up you click on view test cases to view the test cases and click on generate script for the script to be generated.
- You can also view test cases from Test Cases Tab and generate script from there.
- After generating the script you can download and execute them.
- execute the script in command prompt using mvn test.
3.2 Limitation
Ensure that the spreadsheet is configured exactly as shown in the attached sample spreadsheet. Any deviations from this configuration may lead to inaccurate results or issues during the process. Refer to the sample spreadsheet for appropriate configuration.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article