In the previous article, we introduced the meaning of Association and the situation in which association is needed.
This time we will introduce the automatic association in LoadRunner.
Automatic association includes two mechanisms:
One is that the LoadRunner prompts the user whether to associate by comparing the server response during recording and playback, and allows the user to create association ru
From: http://www.51testing.com/html/56/n-130456.html
Recent company needsTestAlthough I think this is alreadyWhite box testingBut if the leadership asks for this, I have to study the technology. the requirement is that you can pass parameters to the class, receive the parameters returned by the class, and judge whether the parameters are correct or not.
Step 1: Overall Thinking.
I used to use LoadRunner for direct recording, but some protocols are d
Determining the protocol type used for recording a performance test script is often a problem that may cause misunderstanding. Many peers who have just been exposed to Performance Testing often take it for granted to decide the protocol selection based on the development language. As a result, the recorded script cannot be played back successfully.
Select the two laws of LoadRunner Protocol
Before selecting the
[Original] LoadRunner Association principle/method/association function/technical introduction
Principle of one LoadRunner Association:
Why join operation:
If a client request dynamically changes with the server, we need to use Association;
Associated operation principle:
During script playback, the client sends a request and searches for the left and right boundary values (that is, Association Rules) defin
loadrunner Description of each option when parameterizedCategory: LoadRunner 2009-03-27 09:32 6294 People read Comments (1) favorite reports Loadrunnerrandomgeneratoreach script FileData files can be created successfully by creating table and data wizards, and operators are free to choose the way they are accustomed to. In short, you can stick to the data file on the principle of data, there will be no
How do loadrunner repeat iterations and how do you increase concurrency?In addition, when parameterized, for a single pressureTestHow should we parameterize the resources that can only be used once? It means that these resources cannot be used once. --When parameterized, select Unique,update value on the Select Next row to choose each occurence,1. Iterations are not necessarily associated with the number of virtual users Iteration is like this: iter
One, get request without parameters(1) LoadRunner scriptAction (){web_custom_request ("Get request","Url=http://localhost:8080/receivegetpost/myservlet", "Get URL address""Method=get","Resource=0","Referer=","Mode=http","Enctype=text/html; Charset=utf-8 ","Body=",last);return 0;}(2) Send request
Method One:
In the Create/edit script, configure the run logic, general-vuser-> runtime settings, to fill in the number of iterations, which is
LoadRunner 11 Simple to use Start Menu-"HP loadrunner-->applications--->virtual user Generator1> New-category (Selection Protocol): CommonWebProject with Web (http/html), run in the background service, selectJavaJava vuser, write Java code, 2> for the web, you need to set the URL address of the access, recorded action: Init action end, the default is action, 2.1 will pop up the browser and open the URL y
Setting of the number of iterations of the action in LoadRunner and setting in the run scene LoadRunnerHow do you repeat iterations and how do you increase concurrency? In addition, when parameterized, for a single pressureTestHow should we parameterize the resources that can only be used once? It means that these resources cannot be used once. --When parameterized, select Unique,update value on the Select Next row to choose each occurence,1. Iter
1.: http://www.genilogix.com/downloads/loadrunner/loadrunner-11.iso Or http: // 219.239.26.11/download/8009651/9327422/3/zip/49/108/1286952922673_876/software_hp_loadrunner_11.00_t7177_15013.zipQtp 11: http://www.genilogix.com/downloads/unified-functional-testing/quicktest-professional-11.iso3. loadrunner11 cracking:The method for cracking is the same as that for previous versions. I use the lr8.0 cracking
Some time ago, while studying LoadRunner, I used LoadRunner to monitor Windows system resources in real time in the stress scenario test. I have summarized the related process in the previous sections, recently, some friends in the group asked me how to monitor system resources in Linux. So I also set up some Linux environments and deployed a web application in Linux.ProgramThis section describes how to set
To make full use of LoadRunner's scenario control and analyzer, we can better control the Script Loading Process and display more intuitive and effective scenario analysis charts. This article focuses on how LoadRunner calls Java testing.CodeTo complete the stress test.
When we perform stress tests on some servers, we usually inadvertently want a client to complete the server call example, so that we can directly record it through
LoadRunner run scripts made from Eclipse, CTRL + A is copied into LoadRunner,Add a parameterized statement: Verifycode = lr.eval_string ("Error:Notify:found JDK version:1.6.0. [msgid:mmsg-22986]notify:classpath=e:\performancetest\3-Performance test \lr_hibox_script\;c:\program files (x86) \hp\loadrunner\classes\srv;c:\ Program Files (x86) \hp\
I. Pre-preparation
The performance test for SOAP uses the Web Services Scripting protocol. Therefore, we should have loadrunner corresponding license. If you need to add license, add the following steps:
1. Open LoadRunner, click "Configure"-"LoadRunner license" above:
Figure 1.1
2. Click "New License" and enter the appropriate license:
Figure 1.2
Two. Create
Selenium and QTP are functional automated tests, LoadRunner and JMeter are automated tests of performance
Selenium requires a higher code capacity, suitable for PYTHON,QTP general use of Vbs,loadrunner General C, but now also can be used in Java and other languages.
Now the most powerful tool for functional automation is QTP, but the trend of selenium is growing, and it is recommended to use this tool
Reprint: http://www.51testing.com/html/09/n-838009.htmlLoadRunner's Virtual User Generator provides a human script recording feature, which greatly reduces the scripting threshold for beginners, LoadRunner provides two ways to record scripts: html_based Script and url-based script, beginners wonder what is the difference between these two ways? Let's do a simple analysis here.Let's go through the two ways to record Baidu home page, compare how they ar
LoadRunner Uploading a file solution (large file) Recently, do a massive storage-related projectTest, you need to simulate a lot of uploading and downloading of files via LR, the request is rest or soap, and also the simulation of a variety of files of different sizes. Typically, a simple post protocol is used:method One:
Web_submit_data ("Importstudent.do", "action=https://testserver/console/importstudent.do", "Method=POST", "EncType
Using LoadRunner to determine the return status of an HTTP serverThe first approach is to use LR's built-in function, Web_get_int_property.Example:#include "web_api.h"Action (){int Httpretcode;Web_url ("NetEase","Url=http://www.163.com","Targetframe=_top",last);Httpretcode = Web_get_int_property (Http_info_return_code);if (Httpretcode = = 200)Lr_log_message ("The VUser successfully accessed the NetEase page");ElseLr_log_message ("The VUser failed to a
Small white Friends when the first contact with the LoadRunner will encounter and browser-compatible issues, I can only say that all TMD blame Microsoft, nothing lift system and browser, you can not do a good compatibility ah!!!!!!!!!!! Here I have personally tried the LoadRunner and browser can be compatible with the Raiders out Ah, like AH give me!!!!!! It's not easy, the machine is killing me!!!!!!!! Loa
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.