0% found this document useful (0 votes)
23 views9 pages

DA-1 Software Testing

The document is a digital assessment report by Atishay Jain on the comparison of open-source testing tools for software testing. It focuses on Apache JMeter, comparing it with OWASP, Selenium, and Cypress, highlighting their functionalities and use cases. The conclusion emphasizes the importance of selecting the right tool based on specific testing needs for a marriage-related website.

Uploaded by

ishow2002speed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views9 pages

DA-1 Software Testing

The document is a digital assessment report by Atishay Jain on the comparison of open-source testing tools for software testing. It focuses on Apache JMeter, comparing it with OWASP, Selenium, and Cypress, highlighting their functionalities and use cases. The conclusion emphasizes the importance of selecting the right tool based on specific testing needs for a marriage-related website.

Uploaded by

ishow2002speed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

ATISHAY JAIN 20BIT0015

FALL Semester, 2023

NAME: ATISHAY JAIN


REGISTRATION NUMBER: 20BIT0015
COURSE CODE: ITE2004
COURSE NAME: SOFTWARE TESTING
SLOT: F1+TF1
SUBMITTED TO: DR. VIJAYANAND R.

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)

The testing tools that we are using are


• Cypress tool
• Apache JMeter
• OWASP
• Selenium
which is also relevant to our project.

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.

Functionalities of Apache JMeter:


Performance Testing: You can use JMeter to evaluate how well your
application performs in different scenarios. You can monitor server resources
including CPU and memory utilisation, response times, and throughput.
Load Testing: To simulate numerous users or virtual clients accessing your
application at once, you can use JMeter, which is extensively used for load
testing. This aids in assessing the application's capacity to manage the
anticipated load.
Stress Testing: Using JMeter, stress testing entails pushing your application to
its absolute boundaries to observe how it responds to harsh circumstances. It
assists in locating any weak points and bottlenecks.
Functional Testing: JMeter is mostly used for performance testing, but it may
also be used for functional testing by building test scenarios that include HTTP
requests, assertions, and validation of responses.
Distributed Testing: High-load scenarios can be effectively tested with JMeter
since it allows several instances to be synchronised to mimic many concurrent
users.
Scripting: In JMeter, test elements such as timers, logical controllers, and HTTP
request samplers can be added and configured to construct test scripts.

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.

In order to test a website using Apache JMeter, be sure to take these


important steps:
1. Install Apache JMeter:
Install Apache JMeter by downloading it from the official website.
2. Create a New Test Plan:
To create a new test plan that will act as the container for your load testing
scenario, launch JMeter.
3. Thread Group Configuration:
A Thread Group is established inside the test plan. The virtual users (threads)
that will communicate with the application are represented by this group.
Users define how many threads to use and how to manage them, including
loop counts and ramp-up times.
4. HTTP Requests and Samplers:
To generate requests to the application under test, JMeter offers samplers
such as the HTTP Request sampler. The server, request method, and
parameters are among the details that users define for these samplers.
5. Logic and Flow Control:
The test's flow is managed by logic controllers. With these controllers, users
can model real-world user behaviour by creating loops, conditional
statements, and pacing controls.

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

Using JMeter for a marriage website: Performance testing is essential for


marriage websites because of their handling of sensitive personal data and
spikes in traffic.
1. Signup & Login: Examine how well the signup and login procedures work
when there is a lot of traffic.
2. Profile Searches: To gauge server response times, simulate numerous users
searching profiles at once.
3. Image & Video Uploads: Examine the media uploads' consistency and
speed.
4. Chat & Messaging: Evaluate the effectiveness of the live chat features.

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

You might also like