Busy. Please wait.
or

show password
Forgot Password?

Don't have an account?  Sign up 
or

Username is available taken
show password

why


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove Ads
Don't know
Know
remaining cards
Save
0:01
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
Retries:
restart all cards




share
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Interview Questions

Misc Interview Quesitons

QuestionAnswer
What is lr_vuser_status_message? Sets the status message for the executing vuser int he controller.
What is rendezvous points? Rendezvous points in the code are inserted before a transaction to emulate heavy load on a server. All vusers will pause @ the rendezvous point until all vusers have hit the rendezvous point and then will simultaneously execute.
What is the rule of thumb with standard deviation for response time? Data with a standard deviation of greater than 1/2 the mean should be treated as suspect. It may not fall into a normal distribution.
What does the vuser_init action contain? vuser_init contains the code that is only executed once at the beginning of a vuser run.
Where do you set iterations for vuser testing? In run-time settings. Navation for the setting is Run time settings | Pacing tab | set # of iterations.
What is the difference between concurrent users and simultaneous users in LR? Concurrent users are all the vusers executing in a scenario. Simultaneous vusers are all the vusers that have hit a rendezvous point and are all executing against the same transaction at the same time.
What is "capacity?" The capacity of a system is the total workload it can handle without violating predetermined key performance acceptance criteria.
What is a "mean?" Average value of the data set. Sum of values divided by the number of elements (Arithmetic mean).
What is "throughput?" Throughput is the number of units of work that can be handled per unit of time; for instance: Requests per second, calls per day, hits per seocnd, reports per year, etc.
What is a "smoke test?" A smoke test is the initial run of a performance test to see if your application can performs its operations under normal load.
What is web_global_verification()? Sets an action to take if the specified test pattern is ever found. Used for validating a page to ensure that the page is correct.
What is "capacity test?" A capacity test complements load testing by determining your servers ultimate failure points, whereas load testing monitors results @ various levels of load and traffic patterns.
What is lr_cleanup_cookies()? Clears any set cookies for the executing vuser.
What is web_set_max_html_param_len()? Sets the maximum size of a value that can be extracted from HTML. The required parameter is char *. So, the number has to be passed as text, ie, "4096."
What is lr_end_transaction()? Each lr_begin_transaction must have a lr_end_transaction. The first parameter is char * name of the transaction. The second param can be LR_TRUE, LR_FALSE or LR_AUTO.
What is "CMMI?" Capability Maturity Model Integration.
Give an example of a correlation function? web_reg_save_param: web_reg_save_param("outFlightVal","LB=outboundFlight value=","RB=checked>",LAST); if existst he value is extracted and inserted into {outFlightVal} parameter.
What is think time? How do you change the threshold? 1) Think time is the real time that user takes between actions. 2) Think time threshold can be changed in recording options of vugen. Default value is 5 seconds; during recording if thinktime of user is less than 5 seconds it will not be recorded.
What is "scalability?" Scalability refers to an application's ability to handle additional workload, without adversely affecting performance by adding resources such as processor, memory and storage capacity.
What is "validation test?" A validation test compares the speed, scalability and/or stability characteristics of the product under test against the expectations that have been set or presumed for that product.
What is lr_eval_string()? lr_eval_string is used to extract the value of a parameter.
What is lr_debug_message()? lr_debug_message sets debug output to vugen from user created code if the proper option under extended logging is set.
What is an "endurance test?" An endurance test is a type of performance test focused on determining or validating performance characteristics of the product under test to workload models and load volumes anticipated during production operation over an extended period of time.
First rule of thumb for determining if a data set is reliable? 1. If more than 20% of the results appear to not be similar to the other 80%, something is wrong with the test.
Second rule of thumb for determining if a data set is reliable? 2. If the 90th %tile is greater than the max or below the min of another test, the data set is probably not stat. similar.
Third rule of thumb for determining if a data set is reliable? If the measurements for one test are noticeably higher/lower than another test side by side, it is probably not statistically similar.
What is "load testing?" This sub-category of performance testing is focused on determining or validating performance characteristics of the system or application under test when subjected to workloads and load values anticipated during production operations.
What is "stress testing?" This sub-category of performance testing is focused on determining or validating performance characteristics of the system or application under test when subjected to conditions beyond those anticipated during production operations.
What is "spike test?" A spike test is a type of performance test focused on determining or validating performance characteristics of the system or application under test repeatedly beyond anticipated production operation for a short period of time.
What is "performance test?" A performance test is a technical investigation done to determine or validate the speed, scalability, and/or stablity characteristics of the product under test. Performance testing is the superset containing all other subcategories of performance testing.
What is lr_output_message()? lr_output_message sends output to the output log regardless of extended logging settings.
What are the differences between URL and HTML recording modes? With HTML base recording every user action is recorded and does not catch each browser request to the server. With URL mode every single browser request is recorded. Generally, HTML mode requires less correlation and mainly uses the web_url() call.
What is web_url()? web_url() is a call to the web server executing a GET. Generally are recoded by vugen while in HTTP recording mode. Numerous options; see Books Online for full details.
What is web_custom_request()? web_custom_request is a special request when the coder has complete control of the GET/POST. Requires that the coder build the POST request manually.
What is lrd_stmt? lrd_stmt() associates a SQL statement with a cursor that is accessed by lrd_fetch().
What is lrd_fetch()? lrd_fetch gets the next value from cursor that was created with lrd_stmt().
What is web_submit_data()? web_submit_data() is a call to the web server and is either a GET or a POST. Usually vugen records web_submit_data() from the URL recording mode. Numerous options; see Books Online.
What is lr_save_string()? lr_save_string() is used to dynamically create a parameter from code. The first option is the value and the second parameter is the parameter name to save to save the first parameter to.
What is lr_xml_get_values()? lr_xml_get_values() is used to extract data from XML. I used this a lot with AJAX return data instead of using web_reg_save_param(). Uses XPath queries instead of LB/RB.
What are the 5 steps to test execution? 1. Validate the test environment 2. Validate the tests. 3. Run the tests. 4. Baseline and Benchmark. 5. Archive the test.
What are the 5 different types of Goal Oriented Scenarios? 1. Concurrent Vusers 2. Hits per Second 3. Transactions per Second 4. Pages per minute 5. Transaction response time.
List the 7 steps to evaluation of the system to be tested? ID facing functionality ID batch initiated process Determine expected user activity Develop reasonable understanding of potential user activity beyond what is expected Develop exact model of test and prod arch Develop reasonable model of user env.
What are the 7 core testing activities? 1. ID test environment 2. ID performance acceptance criteria 3. Plan & design tests 4. Configure test env. 5. Implement test design 6. Execute tests 7. Analyze, repeat and re-rest
Steps in creating vusers? 1. Record actions 2. Correlate parameters 3. Test vuser individually in vugen 4. Run tests.
Four reason to do performance testing? 1. Assess release readiness 2. Assess infrastructure 3. Assess developed software 4. Assess performance efficiency
What are the four steps to quantifying end user response time? 1. Determine functionality & usage 2. Verbalize & capture performance requirements and goals 3. Quantify performance requirements & goals 4. Record performance requirements & goals
How do you write a UDF in LR? 1. An external DLL is created with coded UDF in C/C++ 2. Move the compiled DLL ot the vugen bin subdir. 3. Reference the UDF in TLS code with: __declspec(dllexport) char * nameOfUD(char*, char *);
What is "performance testing?" This type of testing determines or validates the speed, scalability, and/or the stability characteristics of the system or application under test.
What are the changes that can be made in run-time settings? 1. Pacing (iteration count) 2. Logging levels 3. Extended think time 4. General settings
What are the graphs available in LR analyzer? 1. Vuser graphs 2. Error graphs 3. Hits per second graph 4. Pages downloaded per second graph 5. Transactions response times graph 6. Network delay time graph.
What are the components of Load Runner? 1. VUGen 2. Controller 3. Agent 4. Analysis 5. Books Online
What are the 9 principles of affective reporting? 1. Report early and often 2. Report visually 3. Report intuitively 4. Use the right statistics 5. Consolidate data correctly 6. Summarize the data efectively 7. Customize reports for intended audience 8. Use concise verbal summaries 9 Make the dat
What are the 7 steps to consolidating acceptance criteria? Investigate end-user requirements Collect business requirements Determine technical requirements Research standards, compliance & contracts Est. performance testing objectives Compare and consolidate perf. chars. Prepere to impliment model.
What are the 3 steps to evaluating the system that leads to the 7 steps to evaluation? 1. Capture system function and/or business processes. 2. Capture user activities. 3. Capture the logical/physical architecture.
What is another way to reference a UDF besides the __declspec method? 1. Once the DLL is created and copied ot the VUGen bin subdir you can use: 2. lr_load_dll("mydll.dll"); 3. The UDF can be called directly: data = MyUDF(char * one, char * two);
What are the six approaches to determining performance testing objectives? Determine the objective of the performance testing effort. Capture or estimate resource usage targets and thresholds Capture or estimate resource budgets or allocation ID metrics Communicate results Stay aware of changing objectives, targets and budg
What are the 5 steps in the Load Runner testing process? 1. Plan load test 2. Create vuser scripts 3. Define scenario 4. Run scenario 5. Analyze results
What are the 9 iterative testing activities? Understand project vision & context ID reason for testing perf. ID value for testing perf. Config test env. ID & coordinate tasks Execute tasks Analyze results & repeat Revisit 1-3 & consider perf. criteria Re-prioritize tasks
What ist he difference between standard log and extended log? Standard log sends a subset of output to vugen. Extended logging can send a lot more information to vugen including: Debugging data Parameter substitution HTML return data etc
Created by: auswipe