Specific steps:1. Computer Boot JMeter2.jmeter creates a new thread group in the test plan.3. Create a new HTTP proxy server on the workbench4. Configuring the HTTP proxy server5. Set IE proxy to local6, mobile WiFi settings agent connected to the PC7. Start JMeter HTTP proxy Server8, now the computer casually open a Web test whether it can catch the package (if you can bag the agent to remove IE, set up IE
1. Open JMeter, right click on Workbench, add HTTP proxy server2, set the configuration JMeter, mobile wireless network, (the target controller can also choose to add to the thread group)3. Add View results Tree4, after the start, the operation of mobile phones, JMeter will be successful automatic recording5, note that the IP address and port number settings, and
JMeter is an open-source performance testing tool, written in pure Java, small size, powerful, basic can meet the performance testing requirements. Another jmeter also right a series of plug-ins to enhance its functionality, plug-in address jmeter-plugins.org. Plug-ins now have 5, respectively, standard Set,extras Set,extras with Libs Set,webdriver set, Hadoop se
The JMeter configuration component can be used to initialize default values and variables for use by subsequent samplers. will be processed at the initialization stage of its scope. CSV data Set Config: Used to read data from a file and then store them in a variable, suitable for handling many variables Variable Names: variable Name list (comma delimited). JMeter2.3.4 later versions, the CSV header row is supported, and if the variable name is empty,
JMeter recording method is divided into three kinds, namely: using Badboy recording, jmeter with the proxy server recording and manual recording, the first two methods of recording are introduced today.Badboy RecordingBadboy is a dynamic application testing tool developed in C + + with powerful screen recording and playback capabilities while providing graphical results analysis. Badboy recorded scripts can
Label: style blog HTTP color Io file data sp By using the Tomcat monitor function of jmeter, you can send a GET request to the Tomcat status page to obtain resource usage information and convert it to an intuitive image method, you can monitor the resource usage of the server. However, to use the Tomcat monitor function, you must install Tomcat on the server to be monitored. 1. configure $ catalina_home/CONF/tomcat-users.xml. The configuration is
Jmeter-myeclipse Compile Run issuesFollow this sticker http://phoenix0529.iteye.com/blog/1530728It is possible to configure and then compile the build.xml with Ant.But if run Newdriver error, as follows:Java.lang.Throwable:Could not access E:\Workspaces\MyEclipse 10\libAt Org.apache.jmeter.newdriver.Java.lang.Throwable:Could not access E:\Workspaces\MyEclipse 10\lib\extAt Org.apache.jmeter.newdriver.Java.lang.Throwable:Could not access E:\Workspaces\M
JMeter Execution Order rules:
Configuring components
Front-facing processor
Timer
Sampling device
Post processor (unless server response is empty)
Assertion
Listener
The timer, assertion, pre/post processor is executed only when the sampler is present in the scope, and the logic controller and sampler are executed in the order in which they appear in the test tree. Other test elements are executed according to their own scope
also affect the command line-l identity for the specified log file (typically for non-GUI mode). As in Jmeter.properties, find the following line: jmeter.save.saveservice.output_format= How to save the sample information is configurable, to obtain the most comprehensive information, select the "XML" format, and in the test plan select the " Function Test Mode check box, if the check box is not selected, the default saved data contains the timestamp, data type, thread name, label, corresponding
Jmeter uses the return value of the previous interface as the request parameter of the next interface, and the return value of jmeter
It is sometimes used in jmeter. the return value of the previous interface is used as the request parameter of the next interface.
The procedure is as follows:
1. Create an http request (right-click the thread group-add Sampler
Download jmeter:http://jmeter.apache.org/download_jmeter.cgi on the Apache website1. Run Bin/jmeter.bat, add thread Group2. Add an HTTP requestAdd cookies, request headers, authorization information, etc.3. Add listener to view result informationThe basic configuration is complete and you can set the specific request parameters to test the interface.This setting reads the content from the file as a request parameterOpen Options-"Function Assistant dialog box, select Csvread, file content, split.
Generally, manual setting of jmeter is quite troublesome. It is very convenient if you can automatically generate jmeter scripts while submitting a form while operating the page; Badboy: Recording jmeter scripts; donwload URL: Taobao:
In the address input column, enter the page you want to access, such as www.baidu.com, query xiazdong, and click "stop recordin
Jmeter simply uses a proxy to record app requests, and jmeter to record app requests
1. Download Jmeter (related blog)
2. Add a proxy
3. perform the following settings after creation
Port 8888: the port number used to set proxy for the mobile phone for a while is the same as the port number here.
3. Set proxy on the mobile phone
Ip: Where is the
Gossip less, then continue ...5, set up the agentJmeter-j run-dashboard.log-g report\01-result.csv-e-o DashboardThe command line input looks like this:The log information indicates that the agent is correct. Some of the log information is as follows:2016/06/15 14:04:02 INFO -JMeter. Jmeter:set http[s].proxyhost:10.9.215.90 port:9999 2016/06/15 14:04:02 INFO -Jmeter.services.FileServer:Default Base= ' I:\CNblogs\
Today, friends upgraded the version of JMeter from 2.13 to 3.0 before the interface script POST request body Chinese is not displayed correctly, as shown in the following:Note that this is not garbled, but because the body Data is optimized in version 3.0, which causes the default font (CONSOLAS) to not support Chinese character display.Solution: Modify the default display font in the configuration file {jmeter_home}\bin\jmeter.properties, to the syst
General own manual settings JMeter will be more trouble, if the side of the operation of the page, submit the form, one side can automatically generate JMeter script, then very convenient; BadBoy: recording jmeter script; Donwload url:http:// The Www.badboy.com.au/download/add Badboy interface is as follows:
We can enter the page you want to visit in the addr
Tags: state comparison learning Summary save es2017 ALT View Learn BadboyHa ha ha haha, followed my beginner gospel learning encountered problems, stupid like me, Badboy recorded a messy script and then use JMeter Open with the blogger page How also not on, embarrassed, and then re-Baidu a bit badboy how to record the script, because only want to simple grasp, So Badboy's more in-depth self-Baidu ha, and did not study, I only used Baidu to try a simpl
The processing of the timer takes precedence over the sampler in the same scope, and if there are multiple timers within the same scope, all timers are processed before each sampler.If there is no sampler within the scope of the timer, then the timer will not be processed
Fixed timers where each thread has a fixed interval between requests
Gaussian random Timer: Pauses each thread to request a random length, and most of the time interval is close to a fixed value
Uniform random Timer
Common methods used for parameterization:
Adding configuration symbols: User-defined variables
Using the function Helper
Adding configuration components: CSV Data Set Config
Add Front Processor: BeanShell preprocessor
Adding configuration symbols: User-defined variablesUse in Request:Replace the original parameter value with ${userid} where it needs to be parameterizedUsing the function HelperExample:Generates a 5-bit character string that is randomly taken from 1234567
Tags: request thread parameters L database run input SQL add test1. Prepare a MySQL database with test data sheet2. Re-test Plan panel Click on the "Browse ..." button to add your JDBC driver. (Mysql-connector-java-5.1.26-bin.jar)3. Add a thread group, right click on "thread Group"---> Add----> "Configure symbol"----> "jdbc Connection confrigration", add a "JDBC Connection Confrigration "and configure all parameters.4. Create a JDBC request, enter SQL, run."
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.