Accenture
Alkem Laboratories Interview Questions and Answers
Q1. How to remove trailing and leading spaces in Loadrunner
Use lr_trim_string function to remove trailing and leading spaces in Loadrunner
Use lr_trim_string function to remove leading and trailing spaces
Syntax: lr_trim_string("string", "both", " ")
Example: lr_trim_string(" example ", "both", " ") will return "example"
Q2. How does load generator works in LR?
Load generator in LR simulates virtual users to generate load on the application under test.
Load generator simulates virtual users by sending requests to the application under test.
It helps in generating load on the application to measure performance.
Load generator can be configured to simulate different types of user behaviors and scenarios.
It collects performance metrics and generates reports for analysis.
Examples: JMeter, LoadRunner, Gatling.
Q3. Explain Performance Testing Life Cycle
Performance Testing Life Cycle involves planning, preparation, execution, analysis, and reporting.
1. Planning: Define objectives, select tools, and create test plan.
2. Preparation: Set up test environment, create test scripts, and configure monitoring.
3. Execution: Run tests, monitor performance metrics, and collect data.
4. Analysis: Analyze results, identify bottlenecks, and optimize performance.
5. Reporting: Generate reports, communicate findings, and make recommendations.
E...read more
Q4. Explain correlation and Parameterization
Correlation is used to handle dynamic values in scripts, while Parameterization is used to pass different values to the script.
Correlation is used to extract dynamic values from server responses and replace them in subsequent requests.
Parameterization is used to pass different sets of data to the script for testing different scenarios.
Correlation is important for maintaining session integrity and ensuring accurate test results.
Parameterization helps in simulating real-world s...read more
Q5. difference between Lr_exit and Lr_abort
Lr_exit is used to end a Vuser script gracefully, while Lr_abort is used to forcefully terminate a Vuser script.
Lr_exit is used when you want to end the script normally without any errors.
Lr_abort is used when you want to forcefully stop the script execution due to an error or other condition.
Lr_exit allows the script to finish executing any remaining actions before ending.
Lr_abort immediately stops the script without completing any remaining actions.
Example: Lr_exit can be u...read more
Q6. What is thoroughput?
Throughput is the amount of data transferred successfully from one place to another within a given period of time.
Throughput is a measure of the rate of successful data transfer.
It is usually measured in bits per second (bps) or packets per second (pps).
Higher throughput indicates better performance of the system.
For example, in a network, throughput can be the number of packets successfully delivered from sender to receiver in a second.
Q7. Performing Testing Life Cycle
Testing Life Cycle involves planning, designing, executing, and analyzing tests to ensure software quality.
Planning phase involves defining test objectives, scope, and resources.
Design phase includes creating test cases, scripts, and data.
Execution phase involves running tests and collecting results.
Analysis phase includes reviewing results, identifying defects, and reporting.
Iterative process to improve software quality and performance.
Example: Using tools like JIRA for test...read more
Q8. Explain Correlation
Correlation is a technique used in performance testing to capture dynamic values and pass them between requests.
Correlation is used to handle dynamic values like session IDs, timestamps, etc.
It involves capturing a value from a response and passing it to a subsequent request.
Common correlation techniques include using regular expressions or built-in functions in performance testing tools.
Failure to correlate can lead to script failures or incorrect test results.
More about working at Accenture
Interview Process at Alkem Laboratories
Top Performance Test Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month