Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • GfG 160: Daily DSA
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Software Engineering Tutorial
  • Software Development Life Cycle
  • Waterfall Model
  • Software Requirements
  • Software Measurement and Metrics
  • Software Design Process
  • System configuration management
  • Software Maintenance
  • Software Development Tutorial
  • Software Testing Tutorial
  • Product Management Tutorial
  • Project Management Tutorial
  • Agile Methodology
  • Selenium Basics
Open In App
Next Article:
Performance Testing - Software Testing
Next article icon

Performance Testing - Software Testing

Last Updated : 21 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Performance Testing is a type of software testing that ensures software applications perform properly under their expected workload. It is a testing technique carried out to determine system performance in terms of sensitivity, reactivity, and stability under a particular workload.

Prerequisite - Types of Software Testing

Table of Content

  • What is performance testing?
  • Types of performance testing
  • Why use performance testing?
  • How to conduct performance testing?
  • Advantages of Performance Testing
  • Disadvantages of Performance Testing
  • What is Cloud-based Performance Testing?
  • Performance Testing Tools
  • Performance Testing Attributes
  • Conclusion
  • Frequently Asked Questions on Performance Testing

What is performance testing?

Performance testing is a type of software testing that focuses on evaluating the performance and scalability of a system or application. Performance testing aims to identify bottlenecks, measure system performance under various loads and conditions, and ensure that the system can handle the expected number of users or transactions.

Types of performance testing

Performance Testing is the process of analyzing the quality and capability of a product. It is a testing method to determine the system's performance in terms of speed, reliability, and stability under varying workloads.

Just as performance testing is essential for ensuring that software applications can handle expected workloads and maintain stability under various conditions, understanding the intricacies of this testing type is crucial for delivering high-quality software. If you're looking to enhance your skills in performance testing and other critical areas of software testing, consider exploring the Complete Guide to Software Testing & Automation by GeeksforGeeks . This course delves into performance testing techniques, tools, and best practices, equipping you with the knowledge needed to identify bottlenecks, optimize system performance, and ensure that your applications run smoothly even under heavy loads.

Performance testing is also known as Perf Testing . The types of Performance testing are as follows:

Types-of-Performance-testing
Performance Testing Types

1. Load testing

Load testing simulates a real-world load on the system to see how it performs under stress. It helps identify bottlenecks and determine the maximum number of users or transactions the system can handle. It checks the product's ability to perform under anticipated user loads. The objective is to identify performance congestion before the software product is launched in the market.

2. Stress testing

Stress testing is a type of load testing that tests the system's ability to handle a high load above normal usage levels. It helps identify the breaking point of the system and any potential issues that may occur under heavy load conditions. It involves testing a product under extreme workloads to see whether it handles high traffic or not. The objective is to identify the breaking point of a software product.

3. Spike testing

Spike testing is a type of load testing that tests the system's ability to handle sudden spikes in traffic. It helps identify any issues that may occur when the system is suddenly hit with a high number of requests. It tests the product's reaction to sudden large spikes in the load generated by users.

4. Soak testing

Soak testing is a type of load testing that tests the system's ability to handle a sustained load over a prolonged period. It helps identify any issues that may occur after prolonged usage of the system.

5. Endurance testing

Endurance testing is similar to soak testing, but it focuses on the long-term behavior of the system under a constant load. It is performed to ensure the software can handle the expected load over a long period.

6. Volume testing

In Volume testing , a large number of data is saved in a database and the overall software system's behavior is observed. The objective is to check the product's performance under varying database volumes.

7. Scalability testing

In Scalability testing , the software application's effectiveness is determined by scaling up to support an increase in user load. It helps in planning capacity additions to your software system.

Why use performance testing?

  • The objective of performance testing is to eliminate performance congestion.
  • It uncovers what needs to be improved before the product is launched in the market.
  • The objective of performance testing is to make software rapid.
  • The objective of performance testing is to make software stable and reliable.
  • The objective of performance testing is to evaluate the performance and scalability of a system or application under various loads and conditions.
  • It helps identify bottlenecks, measure system performance, and ensure that the system can handle the expected number of users or transactions.
  • It also helps to ensure that the system is reliable, stable, and can handle the expected load in a production environment.

How to conduct performance testing?

Conducting performance testing involves several steps to ensure that a software application can handle expected loads and perform well under stress. Here's a simplified guide on how to conduct performance testing:

performance testing process
performance testing process

Step 1: Set Up the Testing Environment First prepare the place where you will run the tests for the performance testing. Make sure you have all the needed tools and understanding for the setup, like what devices and software you will be using for the performance testing.

Step 2: Decide What to Measure Think about what you want to know from the tests. This will include things like how fast the system responds to and how much it can handle the tests. You can also look at successful similar systems to set your goals.

Step 3: Plan Your Tests to Figure out different scenarios to test, considering things like how users might behave and what data you will use. This helps you create tests that cover a range of situations and decide what data to collect.

Step 4: Set Up Your Tools Get everything ready for testing, including tools and ways to track what's happening during the tests.

Step 5: Create and Run Tests Make the tests based on your plan and run them. Keep track of all the data you get from the tests.

Step 6: Look at the Results After each test, see what you find out. Adjust your tests based on what you learn, and run them again to see if things change.

Step 7: Keep Testing Keep analyzing and adjusting your tests to get the best results. Repeat the process until you are satisfied with the performance.

Advantages of Performance Testing

  • Identifying bottlenecks : Performance testing helps identify bottlenecks in the system such as slow database queries, insufficient memory, or network congestion. This helps developers optimize the system and ensure that it can handle the expected number of users or transactions.
  • Improved scalability: By identifying the system's maximum capacity, performance testing helps ensure that the system can handle an increasing number of users or transactions over time. This is particularly important for web-based systems and applications that are expected to handle a high volume of traffic.
  • Improved reliability: Performance testing helps identify any potential issues that may occur under heavy load conditions, such as increased error rates or slow response times. This helps ensure that the system is reliable and stable when it is deployed to production.
  • Reduced risk: By identifying potential issues before deployment, performance testing helps reduce the risk of system failure or poor performance in production.
  • Cost-effective: Performance testing is more cost-effective than fixing problems that occur in production. It is much cheaper to identify and fix issues during the testing phase than after deployment.
  • Improved user experience : By identifying and addressing bottlenecks, performance testing helps ensure that users have a positive experience when using the system. This can help improve customer satisfaction and loyalty.
  • Better Preparation: Performance testing can also help organizations prepare for unexpected traffic patterns or changes in usage that might occur in the future.
  • Compliance : Performance testing can help organizations meet regulatory and industry standards.
  • Better understanding of the system: Performance testing provides a better understanding of how the system behaves under different conditions, which can help in identifying potential issue areas and improving the overall design of the system.
  • Performance testing ensures the speed, load capability, accuracy, and other performances of the system.
  • It identifies, monitors, and resolves the issues if anything occurs.
  • It ensures the great optimization of the software and also allows many users to use it at the same time.
  • It ensures the client as well as the end-customer's satisfaction. Performance testing has several advantages that make it an important aspect of software testing:

Disadvantages of Performance Testing

Performance testing also has some disadvantages, which include:

  • Resource-intensive: Performance testing can be resource-intensive, requiring significant hardware and software resources to simulate many users or transactions. This can make performance testing expensive and time-consuming.
  • Complexity: Performance testing can be complex, requiring specialized knowledge and expertise to set up and execute effectively. This can make it difficult for teams with limited resources or experience to perform performance testing.
  • Limited testing scope: Performance testing is focused on the performance of the system under stress, and it may not be able to identify all types of issues or bugs. It's important to combine performance testing with other types of testing such as functional testing, regression testing, and acceptance testing.
  • Inaccurate results: If the performance testing environment is not representative of the production environment or the performance test scenarios do not accurately simulate real-world usage, the results of the test may not be accurate.
  • Difficulty in simulating real-world usage: It's difficult to simulate real-world usage, and it's hard to predict how users will interact with the system. This makes it difficult to know if the system will handle the expected load.
  • Complexity in analyzing the results: Performance testing generates a large amount of data, and it can be difficult to analyze the results and determine the root cause of performance issues.
  • Sometimes, users may find performance issues in the real-time environment.
  • Team members who are writing test scripts or test cases in the automation tool should have a high level of knowledge.
  • Team members should have high proficiency in debugging the test cases or test scripts.
  • Low performances in the real environment may lead to the loss of a large number of users

What is Cloud-based Performance Testing?

Cloud-based Performance Testing simulates real-world user traffic and uses cloud computing platforms to evaluate the scalability and performance of online applications. Utilizing the scalability and flexibility of cloud infrastructure provides advantages over conventional methods and helps organizations locate performance bottlenecks and effectively optimize application performance.

Cloud-based Performance Testing allows for the quick iteration and ongoing improvement of software systems, enabling the delivery of dependable and high-performing applications in today’s digital ecosystem. It does this by distributing virtual users across multiple locations and providing real-time information.

Streamline your entire testing process with QA Wolf - a powerful automated testing platform that automates repetitive testing. Achieve higher test coverage in no time, allowing developers to focus on core product development.

QA-Wolf-Performance-Testing


Performance Testing Tools

  1. Apache JMeter: is an open-source tool used for performance testing and load testing of applications. It simulates multiple users sending requests to a server, collecting performance metrics to analyze the application's behavior under different load conditions.
  2. Open STA (Open, Systems Testing Architecture) Apache JMeter is an open-source tool used for performance testing and measuring the load and stress on web applications. Its main function is to simulate multiple users accessing a site simultaneously to evaluate its performance and scalability.
  3. Load Runner: LoadRunner is a performance testing tool used to simulate virtual users and analyze the behavior of applications under load. It helps identify performance bottlenecks by measuring system performance and response times under varying conditions.
  4. Web Load: Web Load is a performance testing tool designed to test the scalability and reliability of web applications under various load conditions. The function by sending user requests to a web server, which processes the requests and sends back the appropriate web pages or data.
  5. Gatling: Gatling is an open-source load testing tool designed to analyze and measure the performance of web applications. Its main function is to simulate a large number of users interacting with a website to identify performance bottlenecks and ensure the site can handle high traffic.
  6. BlazeMeter: BlazeMeter is a cloud-based testing platform designed to simulate large-scale user load and measure application performance. It allows developers and testers to run continuous performance tests and analyze results to ensure their applications can handle high traffic and perform optimally under stress.

Performance Testing Attributes

  • Speed: It determines whether the software product responds rapidly.
  • Scalability: It determines the amount of load the software product can handle at a time.
  • Stability: It determines whether the software product is stable in case of varying workloads.
  • Reliability: It determines whether the software product is secure or not.

Conclusion

Performance testing evaluates the system performance under different conditions, by checking the speed, scalability, stability, and reliability with testing. Its complexities and resource requirements will give benefits like identifying bottlenecks, improving scalability, reducing risk, and improving the user experience. Cloud-based tools like Apache JMeter and Load Runner will improve the way of testing .


Next Article
Performance Testing - Software Testing

P

pp_pankaj
Improve
Article Tags :
  • Software Engineering
  • Software Testing
  • Automation Testing
  • Manual Testing
  • Software Testing
  • Spotlight

Similar Reads

    Automation Testing - Software Testing
    Automated Testing means using special software for tasks that people usually do when checking and testing a software product. Nowadays, many software projects use automation testing from start to end, especially in agile and DevOps methods. This means the engineering team runs tests automatically wi
    15+ min read
    Automation Testing Roadmap: A Complete Guide to Automation Testing [2025]
    Test automation has become a vital aspect of the Software Development Life Cycle (SDLC), aimed at reducing the need for manual effort in routine and repetitive tasks. Although manual testing is crucial for ensuring the quality of a software product, test automation plays a significant role as well.
    9 min read
    How to Start Automation Testing from Scratch?
    Automation Testing is the practice of using automated tools and scripts to execute tests on software applications, reducing manual effort and increasing efficiency. Starting automation testing from scratch involves several key steps, including selecting the right automation tool, identifying test ca
    8 min read
    Benefits of Automation Testing
    Automation Testing is the process of using tools and scripts to automatically run tests on software, instead of performing them manually. It helps developers and testers save time, catch bugs early, and ensure that applications work as expected after every change. In this article, we’ll explore the
    4 min read
    Stages of Automation Testing Life Cycle
    In this article, we will explore the phases and methodologies involved in automation testing and the phases of the automation testing lifecycle. We'll cover everything from scoping your test automation to creating a solid test plan and strategy. You'll also learn about setting up the perfect test en
    12 min read
    Top Automation Testing Books For 2024
    In this article, we can explore the top 10 books for automation testing, providing a top-level view of each book's content material and why it's worth considering for everybody interested in this sector. Table of Content Top 10 Books for Automation Testing BooksConclusionFAQs on Top Automation Test
    12 min read
    Top Test Automation mistakes and Tips for QA teams to avoid them
    In the dynamic landscape of software testing, avoiding common test automation pitfalls is crucial for QA teams aiming for efficient and successful testing processes. This article delves into prevalent errors in test automation and provides valuable insights on how QA teams can steer clear of these m
    7 min read
    Essential Skills for a Successful Automation Tester
    In the domain of software testing, automation plays a crucial role in ensuring efficiency, accuracy, and speed. However, to be a successful automation tester, one must possess a specific set of skills beyond just technical proficiency. This article explores the essential skills required for automati
    6 min read
    Steps to Select the Right Test Automation tools
    Selecting the right test automation tools is critical for ensuring efficient and effective testing processes in software development projects. In this article, we will discuss the key steps involved in choosing the most suitable automation tools for your project needs. From understanding project req
    5 min read
    Best Test Automation Practices in 2024
    Test Automation continues to evolve with new technologies and methodologies emerging each year. In 2024, staying updated with the latest best practices is crucial for efficient and effective testing processes. From robust test design to continuous integration and deployment, this article explores th
    7 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

'); // $('.spinner-loading-overlay').show(); let script = document.createElement('script'); script.src = 'https://assets.geeksforgeeks.org/v2/editor-prod/static/js/bundle.min.js'; script.defer = true document.head.appendChild(script); script.onload = function() { suggestionModalEditor() //to add editor in suggestion modal if(loginData && loginData.premiumConsent){ personalNoteEditor() //to load editor in personal note } } script.onerror = function() { if($('.editorError').length){ $('.editorError').remove(); } var messageDiv = $('
').text('Editor not loaded due to some issues'); $('#suggestion-section-textarea').append(messageDiv); $('.suggest-bottom-btn').hide(); $('.suggestion-section').hide(); editorLoaded = false; } }); //suggestion modal editor function suggestionModalEditor(){ // editor params const params = { data: undefined, plugins: ["BOLD", "ITALIC", "UNDERLINE", "PREBLOCK"], } // loading editor try { suggestEditorInstance = new GFGEditorWrapper("suggestion-section-textarea", params, { appNode: true }) suggestEditorInstance._createEditor("") $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = true; } catch (error) { $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = false; } } //personal note editor function personalNoteEditor(){ // editor params const params = { data: undefined, plugins: ["UNDO", "REDO", "BOLD", "ITALIC", "NUMBERED_LIST", "BULLET_LIST", "TEXTALIGNMENTDROPDOWN"], placeholderText: "Description to be......", } // loading editor try { let notesEditorInstance = new GFGEditorWrapper("pn-editor", params, { appNode: true }) notesEditorInstance._createEditor(loginData&&loginData.user_personal_note?loginData.user_personal_note:"") $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = true; } catch (error) { $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = false; } } var lockedCasesHtml = `You can suggest the changes for now and it will be under 'My Suggestions' Tab on Write.

You will be notified via email once the article is available for improvement. Thank you for your valuable feedback!`; var badgesRequiredHtml = `It seems that you do not meet the eligibility criteria to create improvements for this article, as only users who have earned specific badges are permitted to do so.

However, you can still create improvements through the Pick for Improvement section.`; jQuery('.improve-header-sec-child').on('click', function(){ jQuery('.improve-modal--overlay').hide(); $('.improve-modal--suggestion').hide(); jQuery('#suggestion-modal-alert').hide(); }); $('.suggest-change_wrapper, .locked-status--impove-modal .improve-bottom-btn').on('click',function(){ // when suggest changes option is clicked $('.ContentEditable__root').text(""); $('.suggest-bottom-btn').html("Suggest changes"); $('.thank-you-message').css("display","none"); $('.improve-modal--improvement').hide(); $('.improve-modal--suggestion').show(); $('#suggestion-section-textarea').show(); jQuery('#suggestion-modal-alert').hide(); if(suggestEditorInstance !== null){ suggestEditorInstance.setEditorValue(""); } $('.suggestion-section').css('display', 'block'); jQuery('.suggest-bottom-btn').css("display","block"); }); $('.create-improvement_wrapper').on('click',function(){ // when create improvement option clicked then improvement reason will be shown if(loginData && loginData.isLoggedIn) { $('body').append('
'); $('.spinner-loading-overlay').show(); jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.unlocked-status--improve-modal-content').css("display","none"); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { showErrorMessage(e.responseJSON,e.status) }, }); } else { if(loginData && !loginData.isLoggedIn) { $('.improve-modal--overlay').hide(); if ($('.header-main__wrapper').find('.header-main__signup.login-modal-btn').length) { $('.header-main__wrapper').find('.header-main__signup.login-modal-btn').click(); } return; } } }); $('.left-arrow-icon_wrapper').on('click',function(){ if($('.improve-modal--suggestion').is(":visible")) $('.improve-modal--suggestion').hide(); else{ } $('.improve-modal--improvement').show(); }); const showErrorMessage = (result,statusCode) => { if(!result) return; $('.spinner-loading-overlay:eq(0)').remove(); if(statusCode == 403) { $('.improve-modal--improve-content.error-message').html(result.message); jQuery('.improve-modal--overlay').show(); jQuery('.improve-modal--improvement').show(); $('.locked-status--impove-modal').css("display","block"); $('.unlocked-status--improve-modal-content').css("display","none"); $('.improve-modal--improvement').attr("status","locked"); return; } } function suggestionCall() { var editorValue = suggestEditorInstance.getValue(); var suggest_val = $(".ContentEditable__root").find("[data-lexical-text='true']").map(function() { return $(this).text().trim(); }).get().join(' '); suggest_val = suggest_val.replace(/\s+/g, ' ').trim(); var array_String= suggest_val.split(" ") //array of words var gCaptchaToken = $("#g-recaptcha-response-suggestion-form").val(); var error_msg = false; if(suggest_val != "" && array_String.length >=4){ if(editorValue.length <= 2000){ var payload = { "gfg_post_id" : `${post_id}`, "suggestion" : `${editorValue}`, } if(!loginData || !loginData.isLoggedIn) // User is not logged in payload["g-recaptcha-token"] = gCaptchaToken jQuery.ajax({ type:'post', url: "https://apiwrite.geeksforgeeks.org/suggestions/auth/create/", xhrFields: { withCredentials: true }, crossDomain: true, contentType:'application/json', data: JSON.stringify(payload), success:function(data) { if(!loginData || !loginData.isLoggedIn) { grecaptcha.reset(); } jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('.suggest-bottom-btn').css("display","none"); $('#suggestion-section-textarea').hide() $('.thank-you-message').css('display', 'flex'); $('.suggestion-section').css('display', 'none'); jQuery('#suggestion-modal-alert').hide(); }, error:function(data) { if(!loginData || !loginData.isLoggedIn) { grecaptcha.reset(); } jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Something went wrong."); jQuery('#suggestion-modal-alert').show(); error_msg = true; } }); } else{ jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Minimum 4 Words and Maximum Words limit is 1000."); jQuery('#suggestion-modal-alert').show(); jQuery('.ContentEditable__root').focus(); error_msg = true; } } else{ jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Enter atleast four words !"); jQuery('#suggestion-modal-alert').show(); jQuery('.ContentEditable__root').focus(); error_msg = true; } if(error_msg){ setTimeout(() => { jQuery('.ContentEditable__root').focus(); jQuery('#suggestion-modal-alert').hide(); }, 3000); } } document.querySelector('.suggest-bottom-btn').addEventListener('click', function(){ jQuery('body').append('
'); jQuery('.spinner-loading-overlay').show(); if(loginData && loginData.isLoggedIn) { suggestionCall(); return; } // script for grecaptcha loaded in loginmodal.html and call function to set the token setGoogleRecaptcha(); }); $('.improvement-bottom-btn.create-improvement-btn').click(function() { //create improvement button is clicked $('body').append('
'); $('.spinner-loading-overlay').show(); // send this option via create-improvement-post api jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { showErrorMessage(e.responseJSON,e.status); }, }); });
"For an ad-free experience and exclusive features, subscribe to our Premium Plan!"
Continue without supporting
`; $('body').append(adBlockerModal); $('body').addClass('body-for-ad-blocker'); const modal = document.getElementById("adBlockerModal"); modal.style.display = "block"; } function handleAdBlockerClick(type){ if(type == 'disabled'){ window.location.reload(); } else if(type == 'info'){ document.getElementById("ad-blocker-div").style.display = "none"; document.getElementById("ad-blocker-info-div").style.display = "flex"; handleAdBlockerIconClick(0); } } var lastSelected= null; //Mapping of name and video URL with the index. const adBlockerVideoMap = [ ['Ad Block Plus','https://media.geeksforgeeks.org/auth-dashboard-uploads/abp-blocker-min.mp4'], ['Ad Block','https://media.geeksforgeeks.org/auth-dashboard-uploads/Ad-block-min.mp4'], ['uBlock Origin','https://media.geeksforgeeks.org/auth-dashboard-uploads/ub-blocke-min.mp4'], ['uBlock','https://media.geeksforgeeks.org/auth-dashboard-uploads/U-blocker-min.mp4'], ] function handleAdBlockerIconClick(currSelected){ const videocontainer = document.getElementById('ad-blocker-info-div-gif'); const videosource = document.getElementById('ad-blocker-info-div-gif-src'); if(lastSelected != null){ document.getElementById("ad-blocker-info-div-icons-"+lastSelected).style.backgroundColor = "white"; document.getElementById("ad-blocker-info-div-icons-"+lastSelected).style.borderColor = "#D6D6D6"; } document.getElementById("ad-blocker-info-div-icons-"+currSelected).style.backgroundColor = "#D9D9D9"; document.getElementById("ad-blocker-info-div-icons-"+currSelected).style.borderColor = "#848484"; document.getElementById('ad-blocker-info-div-name-span').innerHTML = adBlockerVideoMap[currSelected][0] videocontainer.pause(); videosource.setAttribute('src', adBlockerVideoMap[currSelected][1]); videocontainer.load(); videocontainer.play(); lastSelected = currSelected; }

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences