There is case, 1 iteration calls 50 web servers, at 10th call it will generate one dynamic code which will pass the remaining 40 calls..issue is not this.. issue is.. the generated dynamic values validity is only 10seconds the thing is in this 10 seconds remaining 40 calls not completing so at 40 or 41 or 43 in each iteration failing.. can you explain how to handle this.. already i have spoken with developer he told in present situation we can't make changed in code he told.. so their side we can't do anything.. how we have to handle this
One interviews asked me 2 questions related to below 1. If i want to test an app with crores of people. How will you do that 2. If you are using jmeter recorded, it will capture the credentials, what about the security of the credentials
Hi Raghav, I was asked this question in an interview "What is Throughput in JMeter and how to explain it to a client who doesn't have technical knowledge.
Hi Divya, Throughput is calculated as requests/unit of time The time is calculated from the start of the first sample to the end of the last sample This includes any intervals between samples, as it is supposed to represent the load on the server. The formula is: Throughput = (number of requests) / (total time) The higher the Throughput is, the better is the server performance
Hi Raghav, I am very fond of your videos, the way you explain and puts depth, its amazing. I have to know how big e-commerce company like Amazon, Flipkart use the performance plan and how they decide the baselines and which performance tools prefer, I want to know through this Jmeter capability of creation of virtual users and subsequent uses.. Thanks
Hey Raghav, i was wondering how did i missed your videos until now. I am watching first time and thank you for the detailed explanation, it really helps. Can you please do videos on Linux and basics of ssh as i am new to Linux world and finding hard time to learn it. Thank you!!
Hi Venkatesh, you can have user systems in multiple geographies and have them put load on server. Here you can use remote node systems. there is a video on remote testing in JMeter playlist. You can also take help from blazemeter or octoperf. That is a paid solution
Hi Raghav, thanks for the realtime interview questions vedio. I am working as Manual tester in one of the MNC now i am learning Performance testing(Jmeter) through your vedios. Thinking to switch the company with performance testing and meantime i am afraid how to crack the interview as i dont have any hands-on performance testing experience in project..?, it will be really helpful if you reply to this comment.
Hi Raghav Sir, Your videos are very nice and comprehensive. I have a question related to API testing and this has been asked to me by many of the interviewers. Question is " There are 2 APIs and the functionality is from one API some random sets of data (say 10000 or 100000 records) would be send to another API one by one. How would be perform the testing on it. Please have a look and answer this question. Would be helpful if you can share the solutions through both Jmeter as well as Postman.
Hi Akash, in general API do communication between two apps and works on request response model. Now ideally, in this scenario, you may ask more clarifications like what do you mean by one by one. Is this request and response automated or a triggered response, like I hit the first API and then it keeps on sending response to second api again and again. The other things we need to check is how exactly is this response data received or what's the format, if it is JSON we can use a JSON parser and parse and use data as we need, If it is XML can use an XML parser and so on. Let me know if you have understood this,
Hi can you give the answer for best values or metrics of performance for valuating a SAAS application ???...Like this much load should give response in this much time and elapsed time
Hi Jeni, The best values or metrics for evaluating a SaaS application's performance depend on the specific requirements and use cases of the application. Here are some common performance metrics that are used to evaluate SaaS applications: Response time: The time it takes for the application to respond to a user's request. This is typically measured in milliseconds and should be as low as possible to provide a good user experience. Throughput: The number of requests that the application can handle per unit of time. This is usually measured in requests per second (RPS) or transactions per second (TPS). Latency: The time it takes for a request to be processed by the application and a response to be returned. This is usually measured in milliseconds and should be as low as possible to provide a good user experience. Availability: The percentage of time that the application is accessible and usable by users. This is usually measured as a percentage of total time and should be as close to 100% as possible. Error rate: The percentage of requests that result in an error. This is usually measured as a percentage of total requests and should be as low as possible. Resource utilization: The amount of resources, such as memory and CPU, that the application is using. This should be monitored to ensure that the application is running efficiently and to prevent resource depletion. These metrics can be used as a starting point for evaluating the performance of your SaaS application, but the specific values or targets for each metric will depend on the requirements and use cases of your application. It's important to monitor performance regularly and continuously improve it over time to ensure a good user experience
I often encounter questions in interview like " what are the attributes or parameters we need to take into account while doing perf testing? How to analyse if any performance issues and how to improve the performance?""...can you please help how to answer this?
Hi Jumi, I will plan a session. in general some other good practices 1. Always do performance testing on a separate env. Create a sep env which will not be used for other activities 2. Run your tests with the same infrastructure, network stats etc. To get consistent results and can be compared with the baseline 3. Create more realistic test - have some think time between requests 4. Add ramp up time, Do not start directly with 500 users 5. Always have a baseline to compare your test against. 6. JMeter checks the server performance and does not care for browser render time. So if you see your jmeter results are good but your application is still slow. Check for client-side performance testing tools 7. Focus on the areas that needs performance testing based on user scenario 8. Always document your results
Hi raghav I have a qstn.. If pt environment gets delayed and now your time line reduces by a week. Wat will be your actions to compensate the time lost..how will you overcome the delay
Hi Raj, In PT, you need to create a baseline and check all results against the baseline. So you can setup the baseline on the env available and then run your tests and compare. In case it is not a separate PT env. you may have to see that you carry out your testing at time when its not being used to rule out any noises
thank you. My be this is wrong place to ask but.... Raghav I am on bech at HCL and have prior basic experience of Selenium WebDriver with TestNg and Java. With help of you I regain my confidence in Jmeter back. Which tool would be best for me in terms of salary growth, i.e. Jmeter of Selenium. HCL is offering of selenium and jmeter under their IJP. Asap rply will help me a lot as I ha e to tell them in nxt 4 days....
With Selenium you will go in UI testing , With JMeter it will be performance testing. Do you have any preferences ? If not I can suggest go with JMeter
If people has 4-5 years of experience in functional testing and they want to become a performance tester then how can they crack the interview by learning from your jmeter beginner tutorial? Kindly suggest.....
Hi Priya, I will suggest to go through the following playlists JMeter Beginner playlist JMeter Intermediate playlist JMeter Advanced playlist JMeter Tips & Tricks Will find all here - automationstepbystep.com/ The key here is to do hands on along with the videos
Thanks for this video, I have been asked in the interview what are the challenges you have faced during performance testing? Please answer to this question please thanking you
Hi Faizan, ideally it should be based on your experience, however few general challenges people face in performance testing are 1. Setting up the correct environment for performance testing 2. Setting up benchmarks 3. Running tests with same environmental factors for consistent results 4. Collecting and managing results for better analysis 5. Infrastructure management
Hi , Raghav i 'm the beginner of Performance Testing , i dont know anything but your videos i gained definitely some knowledge its sure to tell you Thanks a lot...👏👏 But i want to know one thing is as a Tester we understand documents clearly and can we create "Test Plan" or Developer create??? Pls clarify my doubt ASAP....Thanks in Advance👍👍👍
Hi Raghav, Thanks a lot for your videos!! I have below Performance Interview question asked: Can you please help me with the appropriate answer to it!! Q: You are given a requirement which states "The system should scale to 2000 users". What other questions would you need to ask in order to get enough information to create a workload??
Hi Sravan, you can ask the following 1. What should be the ramp up steps and time 2. What all scenarios and modules needs to be included 3. Do we need to have unique user details for each request (if yes, you may need to use a CSV file for test data) 4. Do we need to add think time (delay between requests) 5. Do we need to have geographical distribution (users from diff geographies using the app)
@@RaghavPal thanks for the response Raghav. To addition to the above I have also been asked below questions. Please provide your insights. Q2: How could the requirement above be expanded so that is more descriptive and testable? Q3: As well as creating a script in a tool to do the performance testing, what other factors would need to be considered for a performance testing engagement?
You're welcome. It will depend on the requirements. You can do a testing first at API level and then UI. It will also help to find out which layer is taking longer time to respond
Hi Raghav, Thanks a lot for your videos!! I have a question. On what basis it is decided that what kind of testing should be done for an application, if it should be a load/stress/spike/endurance testing. And from where we get all these details?
Hi Anshita, in general for testing the performance of any application we start with a general load test where we test the application with multiple virtual users, and then based on the output and needs we can plan other tests like stress, endurance etc. It also depends of the application type, use, scenario, for e.g. we have some e-commerce app like amazon or flipkart, on some specific day we have a big sale and we know that there will be much more traffic than normal days and therefore we have to test the entire system for that accordingly
Hi Anshita, sometimes it also depends on the client requirements, if they want us to run multiple different kinds of performance tests for an application.It also depends on what exactly they would like to see by doing different kinds of tests and then for us to observe and analyse the different metrics post test completion and then based on the test report we give them, they can understand a lot about the application behaviour and also how they can possibly improve the end users experience
Hi Atul, this will be a very generic data to predict users, as the threads (users) increases we cannot predict the behaviour in linear terms. We have to get requirements in terms of sla on avg response times, resource utilization limits etc and then divide our tests in section like 0-10 users 10-50, 50-100 etc. This can change based on needs and then setup your performance test
I recorded script by blazemeter and While performing performance test of these scripts by jmeter , for some of testScripts I'm getting 100% error is summery report so I want to hit it into postman how can I do this....
To hit your BlazeMeter recorded scripts in Postman, you can follow these steps: 1. **Import the BlazeMeter scripts into Postman.** You can import your BlazeMeter scripts into Postman by exporting them from BlazeMeter and then importing them into Postman. To export the scripts from BlazeMeter, follow these steps: 1. Go to the BlazeMeter recorder. 2. Select the scripts that you want to export. 3. Click on the **Export** button. 4. Select **Postman** as the export format. 5. Click on the **Export** button. To import the scripts into Postman, follow these steps: 1. Open Postman. 2. Click on the **File** menu and select **Import**. 3. Select the BlazeMeter script file that you exported. 4. Click on the **Import** button. 2. **Update the request parameters.** Once the scripts have been imported into Postman, you may need to update the request parameters. This is because the BlazeMeter recorder may generate request parameters that are not compatible with Postman. To update the request parameters, follow these steps: 1. Open the request that you want to update. 2. Click on the **Params** tab. 3. Update the request parameters as needed. 3. **Run the requests.** Once the request parameters have been updated, you can run the requests by clicking on the **Send** button. If you are getting 100% errors in the JMeter summary report, then it is likely that there is a problem with the BlazeMeter scripts. You can try to troubleshoot the problem by checking the following: * Make sure that the BlazeMeter scripts are valid. * Make sure that the request parameters are correct. * Make sure that the target server is reachable. If you are still having problems, then you can contact BlazeMeter support for help. Here are some additional tips for hitting BlazeMeter recorded scripts in Postman: * You can use the **Pre-request Script** and **Post-request Script** features in Postman to automate tasks such as logging in to the target server and clearing cookies. * You can use the **Collection runner** feature in Postman to run multiple requests in sequence. * You can use the **Monitor** feature in Postman to track the performance of your requests. By following these tips, you can easily hit your BlazeMeter recorded scripts in Postman and troubleshoot any problems that you may encounter.
Hi Raghav, Many a times in interview I have been asked a question as "Explain a bottleneck that you have experienced and how did u identify the problem?". Can you please answer this with an example?
Hi Viji, This can be specific to your work and experience, If you ask me something that I can explain is.. While working on Continuous Integration on Jenkins, I had a need to integrate the testing jobs with dev build jobs, I did the same by chaining the jobs, However, we needed a comprehensive report or overview of multiple runs over a time. This was a bottleneck and after doing some analysis and research got to knwo about pipeline plugins in Jenkins and used the same to handle this scenario. Now, this is a scenario specific to my experience, You should think something that you have witnessed and handled.
Hi, I think i am qualified to answer this question. Bottle neck is nothing but application's strange behavior or problems and issues which are actually in hidden nature. Being a performance tester i have found the many bottle neck of the application while doing the performance testing. How : while executing the performance test plan you need to monitor the tools like app insight and Db monitoring tool. These tools to help you to find out the bottle neck. What I found: deadlocks in db. I have found that deadlocks are happening frequently once load is crossed 50. This happed because of the the flat table implementation issue. Conclusion : only performance testing can identify the hidden bottlenecks. Thank you 😊
Hi Rakshanda, JMeter is for performance testing and can be used for a variety of applications like web, mobile, db, ftp, api etc. Selenium is a functional testing library for web browser apps
Hi Raghav, The question what i have got from interviewer is. I have increased the load to 1000 and i got the results from listeners. They asked me is there any log file on server which you have hit , how do i know whether the 1000 users hit the server is there any report format on server. I don''t have real time experience on this.
One interviews asked me 2 questions related to below 1. If i want to test an app with crores of people. How will you do that 2. If you are using jmeter recorded, it will capture the credentials, what about the security of the credentials
Hi Anuj, you can use some excel or csv for a tabular report which can show comparison for all your runs. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aHV5IizW7u4.html
Hi Anuj, yes mainly for recording, BadBoy not used now, Blazemeter is acually a complete cloud solution for performance testing. For recording we use a blazemeter chrome plugin.
I have on question. I want to run a test of 500 VU spreading across 5 engine. 100 vu each engine.In this there are multiple http request present in this. I want to run a particular http request only once in whole test run. I used only once controller but it will will that particular http request for 500 times. But my requirement is to run it only one time. is that feasible?
Hi Raghav, If my start time and end time is same on result analysis ( view results tree used load with 100 users) what does it mean. Whether it is good or bad. How to analysis this EG: source file: created.csv Start time: 26/08/2019 11:50 AM End time: 26/08/2019 11:50 AM
Hi Fouziya, are you saying start time and end time for performance test? If you are running test with 100 users it should take some time. Pls check your setup again.
@@RaghavPal Thanks Raghav. I have tried as mentioned again I have performaned the same. Still I m getting the same.. even I'm having different tokens as well. Should I give delay time period.
Hi Garima, geographical distribution helps to create real-world scenario, where the users using the application will be located at different geographies. So rather than putting all the load form a same location, we can use geographical distribution
Hi Akshay, basically you can put load in multiple ways to check your application • Load Testing • Spike Testing • Stress Testing • Endurance Testing It will depend on your needs and you will need to setup a test plan accordingly
how to pick one value from drop down list in sapgui protocol..Please help on this sir. which function we r using for this query. please help on this anyone
Hi Raghav, i have a query: lets say i tested an api yesterday, it is working fine with 5sec response time and next day it was giving 10sec for every hit.There is no change in deployment. what could be the approach for debugging such case.
Hi Niraj, here you can check the testing environment/infrastructure, in case you are using the same env and machine, then ask the dev/network team to check the logs for the time you run the request
Hi Eko, it will depend on the need, I will suggest that you do one performance testing at API level just to check the network calls are performing well and then can setup a test on the application
A stress test is a type of performance test that checks the upper limits of your system by testing it under extreme loads. If you stress test for a long period of time to check the system’s sustainability over time with a slow ramp-up, it’s called a Soak Test.
Hi Dileep performance testing comes in non-functional testing and when you use automation tools, platforms to do it you can say it is automated performance testing
Thanks a lot Raghav, Can You plz help, I want to perform load testing by 10000 concurrent users load, I am good at JMeter but it seems it doesn't support 10000 users, Is blazemeter the better option to do it although its paid.
hi ragav,i am trying to access a website for performance, however when i try to do it via jmeter or bad boy its gives http 404 error and site doesnt load ..can u tell me what mistake i am doing
Hi Ramarajulu, Is your system using any proxy to connect to the internet. You can also try blazemeter and check - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zn1DSUZ6t64.html
Hi Usha, when we do a performance test, we start with single user and then go up gradually like 10, 50, 100, 500 etc So that we run with all this load and can then compare the metrics And then the max user load depends on your real time use of application