The process of learning LoadRunner certainly involves the addition of collection points, but we always have problems when we add them according to the examples in the book or online, resulting in the inability to set them up: as in the controller.A common situation is that the controller's scenario menu has a set of à la carte items that are grayed out.This situation can be caused by the following reasons:1. The collection point is not added to the script, i.e. there is no statement in the scrip
Action () {char *time;int i,j,length;time=lr_eval_string ("{testtime}"); Lr_error_message (time); Length=strlen (time); for (i=0;iRemove certain characters or strings from a string Application of switch in LR
I have neglected the thinking time here.Look at the value of the liboys transaction here. Remember them first.then look at the time value of the Liboys transaction in this figure , and then remember them. look at this average transaction response time The sampling time:Granularity2 seconds. Now I'll change to: (the elapsed time of the entire scene). and see Average transaction response time figure. here, I'll put Min,ave,max columns are displayed.Is it graph ? the biggest, the smallest, the
error phenomenon is that there is no iterative error and the error message is clear. Just put the web_reg_find back in the correct position on the action section. 2, a single run is correct, but multiple iterations run error, error: Error-27985:there is no context for html-based functions. A previous function may not be used "mode=html" or downloaded only non-html page (s), or the context has been reset (e.g. , due to a gui-based function) This error can be common because simulate a new user o
The user name password is parameterized, because the user name password is one by one corresponding to each other, so password here to set up a bit.And if you want to see the parameters after parameterization to perform success or failure, set the log information in runtime setting.After playing back the recorded script, Ctrl+f8, let LR automatically detect the correlation points, if not found can also use WinDiff and other file comparison tool, manua
First, thank you for your advice. Let's take a look at this problem:
ProblemA Zhuhai user, highoo, asked a question a few days ago: wsa_io_pending and message code 27740 errors occurred during performance tests using LR. The official troubleshooting is as follows:
Message code 27740Overlapped transmission of request to '% 1' for URL 'url' failed.The transmission of data to the server failed. It cocould be a network, router, or server problem.
view the server error statistics: if the "timeout error" accounts for more than 90%, you may need to improve the hardware configuration; if there are many "Internal Server errors", there may be program problems.Step 5: view web resources and subdivided web pages. This step is only applicable to Web performance testing. When viewing the Web Resource diagram, the analysis results of the previous virtual user and Transaction Response time are often combined to analyze the server stability. The fo
Problem 1: Error: Two Way communication error:Function two_way_comm_post_message/two_way_comm_post_message_ex failed.Cause:Shared Memory Cache overflow causes communication problems between the Controller and load generator.Solution:Modify two configuration files.1. $ installation folder $ \ dat \ channel_configure.dat2. $ installation folder $ \ launch_service \ dat \ channel_configure.datAdd the following configuration under the [general] section of the two files.Shared_memory_max_size = 100 (
1. Install the rstatd daemon on the server
Installation steps:
1. Download rstatd from the Internet
2. Put the file in the/home/user directory.
3. chmod 777 rpc. rstatd ---- change the read and write permissions of the file and have all permissions.
4. chmod 777 configure --- same as above
5 ../configure --- Configuration
6. Make --- compile
7. make install --- install
8. rpc. rstatd --- start the rstatd Process
2. Configure in lRAdd measurement from
Problem:LoadRunner The HP Web Tours Application service does not start, prompting 1080 port to be occupiedWith internal Error:your request was unsuccessful cannot create GUI Process-program not foundCheck method:1. View processes that occupy 1080 ports2. Check if there is a strawberry folder under the C drive, if you do not need to download Strawberry-perl-5.10.1.0.msi and install, and then refresh the browser can see the program opened successfullyWorkaround:1.CMD window Input Netstat–ano find
Action () {lr_start_transaction ("T1"); Web_custom_request ("xxxxhttprequest","url=http://xxxx","Method=post","resource=0","Reccontenttype=text/xml","referer=","mode=html","enctype=text/xml; Charset=utf-8","body=" "\n" "\n" "\n" "\n", last); Lr_end_transaction ("T1", Lr_auto);return 0;}When LR tests data in XML format, how to write scripts is a problem, which ca
-status/?auto, verify if it appears as shown in the configuration is successfulStep 5, LR configuration instructionsSwitch to LoadRunner controller to configure the monitoring target under Web Server Resource graphs, put the mouse in Apache view right click on select Addmeasurements, click Add, Enter the server IP address and server operating system. Such as:After the run, the following is shown:The following error message is sent after running:Receiv
LR Script Combat: User-defined C-language function LoadRunner can use standard C language functions, so we can write our own function in the script to call, the script structure, better reuse. First look at an example: Action () {int i,j; j = 1; for (i=0;iLR Scripting user-defined C-language functions
In progressPerformance TestingSometimes, the response time tested using the performance tool LR is longer than the time that IE is actually used. For example, when you use IE to open a system, you only need 1 ~ 2 seconds, and the result of running a user using LR may be 8 seconds, 10 seconds, or a larger response time.There are three situations to analyze and summarize the above problems:1. Think time and l
Effect Chart:
The steps are as follows:
▲LR interface
▲ps interface
1, Photo cutting
Early because of such as lenses, scenes and other reasons, the composition may not be satisfactory, at this time it is necessary to adjust the appropriate composition by cutting later.
2, Digital color
Here to mention two commonly used software, one is photo shop (hereinafter referred to as PS), the other is s
to set the cause of IP spoofing:
1, when an IP access is too frequent, or the traffic is too large, the server will deny access requests, this time through IP spoofing can increase the frequency of access and traffic to achieve the effect of stress testing
2, some servers configured load balancing, using the same IP can not detect the actual performance of the system. IP spoofing in LR by invoking different IPs can largely simulate the ability to actu
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.