DA-1 Software Testing
DA-1 Software Testing
Digital Assessment – 1
1|Page
ATISHAY JAIN 20BIT0015
QUESTION:
• Choose an Open-Source Testing tool suitable for
your Project.
• Compare the chosen tool with three other testing
tools and make report.
TEAM MEMBERS:
ATISHAY JAIN (20BIT0015)
BHAVYA JAIN (20BIT0247)
AVICHAL GUPTA (20BIT0412)
2|Page
ATISHAY JAIN 20BIT0015
Apache JMeter
Apache JMeter is an open-source software testing tool developed, mainly for
load testing, to assess and gauge the performance of different services and
apps. Testers and developers can evaluate how an application or server
functions in various circumstances by simulating them using this flexible tool.
A Java-based tool named Apache JMeter offers a simple, graphical user
interface (GUI) for creating, running, and evaluating performance tests. It is
extensively used in software testing to assess reaction times, throughput, and
overall performance under high loads, particularly for web applications and
services.
Application and service performance, load, and stress testing are the main uses
for Apache JMeter, an adaptable open-source tool.
3|Page
ATISHAY JAIN 20BIT0015
Data-Driven Testing: JMeter facilitates data-driven testing, which lets you
parameterize your tests and execute them with various input data sets by
using external data sources (such CSV files).
Report Generation: JMeter offers several integrated listeners and reporting
capabilities to assist you in visualising and evaluating test outcomes. These
consist of summary reports, graphs, and tables.
Scripting and Extensibility: JMeter's extensibility is enhanced by the ability for
experienced users to create new logic inside test plans using JavaScript or
BeanShell.
4|Page
ATISHAY JAIN 20BIT0015
6. Timers:
To simulate user pauses and pacing, timers add delays or think times in
between requests. Users can make custom timers or select from pre-installed
ones.
7. Assertions:
In order to confirm that application replies are accurate, assertions are
included. These tests make sure the success criteria are met and the
application is operating as anticipated.
8. Listeners for result:
To record and present test findings, the test plan includes a variety of listeners.
To assist users in assessing the effectiveness of the programme being tested,
these listeners produce logs, graphs, and reports.
9. Test Execution:
Users initiate the test after configuring the test plan. JMeter monitors
application performance by simulating a given number of users or threads
sending requests.
10. Analysis of the Results:
JMeter captures information during the test, such as error rates, response
times, and other metrics. To find problems and performance bottlenecks, users
examine this data.
11. Refinement and Iteration:
Users can modify the test strategy or the application itself in light of the test
findings. To verify modifications and enhancements, the test can be repeated.
5|Page
ATISHAY JAIN 20BIT0015
6|Page
ATISHAY JAIN 20BIT0015
Comparative Report: Apache JMeter, OWASP, Selenium, and Cypress
1. Apache JMeter:
Description:
An open-source programme called Apache JMeter is used to test the load and
performance of web applications. It is flexible and Java-based, making it
appropriate for a variety of testing situations.
Load testing and working:
JMeter is a tool for stress testing databases and web applications by simulating
many users. Its main objective is to evaluate performance under various loads.
Users model user interactions and examine replies by creating test plans that
include components like Thread Groups, Samplers, and Listeners.
JMeter Utilisation for a Matchmaking Website:
JMeter can be used to assess important aspects of a marriage-related website,
such as the registration and login procedures, profile searches, media uploads,
and real-time chat features.
2. OWASP:
Description:
- The Open Web Application Security Project, or OWASP, is a group that offers
web application security best practises, techniques, and tools. The OWASP Zed
Attack Proxy (ZAP) is one of its tools.
As compared to JMeter:
Focus: OWASP is security-focused, assisting in the detection and mitigation of
online application vulnerabilities. Performance testing is JMeter's main
objective.
Working: JMeter simulates numerous users to evaluate the performance of
web applications; OWASP tools are intended to detect security issues.
Utilise case: OWASP can be quite helpful in guaranteeing data security, safe
transactions, and strong authentication for a marriage-related website.
7|Page
ATISHAY JAIN 20BIT0015
3. Selenium:
Description: An open-source programme called Selenium is used to automate
web browsers. Functional and regression testing are its main uses.
As compared to JMeter:
Focus: Selenium automates browser activities to guarantee the functional
validity of web applications. JMeter is mostly used for performance evaluation
under load.
Working: While JMeter sends requests to assess server performance, Selenium
automates browser interactions to replicate genuine user behaviour.
Utilise case: Selenium can be used to test features such as creating profiles,
searching, and communicating on a matrimonial website.
4. Cypress
Description:
Cypress is an end-to-end testing framework for online applications that runs on
JavaScript and is intended to guarantee both functional correctness and a
seamless user experience.
Comparison with JMeter:
Focus: JMeter prioritises speed and server load testing, whereas Cypress is
more concerned with functional testing and user experience.
Working: JMeter concentrates on backend testing to assess the server's
capability, while Cypress works within the browser to enable more realistic
testing.
Use-case: Cypress can be used to test user journeys on a matrimonial website,
such as sign-up procedures, profile browsing, and filter usage.
8|Page
ATISHAY JAIN 20BIT0015
Conclusion:
Although OWASP, Cypress, Apache JMeter, and Selenium are all strong tools in
their own right, they serve various purposes in terms of testing. Performance
testing needs JMeter, security assessment needs OWASP, extensive functional
testing needs Selenium, and end-to-end functional testing and user experience
validation needs Cypress. Depending on the needs and goals of the testing
process, a combination of these technologies may be best for thorough quality
assurance of a marriage-related website. Within the larger quality assurance
plan, each tool has a specific function.
9|Page