Jmeter The script is based on JMX The main format is

Jmeter It also supports recording , Third party recording and proxy recording are supported .

1、 Third party recording is mainly through badboy To record , Save as after recording jmx The format is just .

2、Jmeter We also have our own agents , Before recording the script , We just need to start the agent , To pass by by hand IE Or fox to record , Stop agent after recording .

New script , First add thread groups

Then add http Default request HTTP Request Defaults

Set the server to record IP Address or domain name

Add a proxy server to the platform HTTP Proxy Server, Select the requested place to record to , This is under the thread group , The default port for the proxy server is 8080, It can also be modified at will , Try to pass before revising netstat –ano Command to see which port this machine is using , Don't reuse , Otherwise it won't be recorded jmeter Script

Next, filter out the content we don't want to record or only record , Regular expressions : .*\.gif

All settings are complete , start-up jmeter agent

Then open the IE The browser sets the local proxy , Note that the ports should be consistent , If it's from other machines , Please amend IP Address . Be careful 2 Too many machines have to have jmeter

adopt IE The browser manually records a landing page , Upon successful landing , Stop the agent manually , View the recorded script .

In the proxy, all requests that have gone to the image format are filtered out , Only requests in other formats are recorded here .

As you can see, there are a lot of redundancies in the recorded scripts URL, Be sure to streamline the script , Guarantee that only effective URL To the server .

【 turn 】Jmeter( Two )- More about using proxy recording scripts

  1. jmeter Use your own proxy to record scripts

    When using the proxy to record scripts, be sure to install java jdk, Otherwise it can't be recorded . It's not installed java jdk install jmeter You will be prompted to install after opening jdk, however mac System directly open prompt installation jdk After the page java Not at all j ...

  2. jmeter It uses a proxy to record scripts

    from loadrunner To jmeter, It seems that recording stress test scripts only supports IE, Only recently did I know jmeter There is also a recording script component , And support IE.Chrome And Firefox And so on . Here's the record of passing jmet ...

  3. jmeter Use your own agent to record computer scripts ( One )

    When using the proxy to record scripts, be sure to install java jdk, Otherwise it can't be recorded . It's not installed java jdk install jmeter You will be prompted to install after opening jdk, however mac System directly open prompt installation jdk After the page java Not at all j ...

  4. 【 turn 】JMeter Proxy recording scripts

    JMeter Proxy recording scripts Use JMeter The process of proxy recording script is as follows : 1. start-up JMeter, Add in the test plan “ Thread group ”. 2. stay “ Thread group ” Add “HTTP Request defaults ”, The parameters are set as follows : 3. stay “” Add “ ...

  5. Jmeter_ Use IE Proxy recording scripts

    Because the password of project login needs RSA encryption , Choose the jmeter As a pressure measuring tool : On my own project , By the way Jmeter, Make a simple note , This paper mainly introduces the use of IE Proxy recording scripts : I've tried it myself Badboy Recording , Still happy ...

  6. Loadrunner  Script recorded - Recording scripts through a proxy

    Script recorded - Recording scripts through a proxy by: Give the guest QQ:1033553122 edition :Loadruner 11.0 A.PC End recording Web Applications step 1: According to the actual situation , Select the corresponding protocol In this case, choose Web(HTTP/ ...

  7. How to use it Jmeter Do proxy recording scripts

    If for this Jmeter Children's shoes that I don't know how to use , You can refer to other teaching documents , This article only provides Jmeter The agent uses . First step : Add thread group

  8. Jmeter Proxy recording scripts

    The principle of recording : 1.LR/Jmeter Recording is for the network communication protocol level , It only cares about the packets between the client and the server 2.LR/Jmeter In fact, the concurrent test is the communication process between concurrent client and server 3. Stress is through multiple processes / Multithreading ...

  9. Jmeter Study —004— Use a proxy to record scripts —HTTP proxy server (APP、web All can )

    Copyright notice : This article is an original blog article , No reprint without the permission of the blogger . https://blog.csdn.net/mmmmmmm_2niu/article/details/78136253 Remember when I first used jmeter ...

Random recommendation

  1. runtime- Operations on member variables and properties

    Member variables First, let's look at the member variables in runtime What kind of stay runtime The member variable in is a objc_ivar Type of structure , The structure is defined as follows struct objc_ivar { char *ivar ...

  2. iOS Development —— Notes & About the dictionary plist Read / Dictionary to model / Customize View/MVC/Xib Use /MJExtension Use summary

    About the dictionary plist Read / Dictionary to model / Customize View/MVC/Xib Use /MJExtension Use summary One :Plist Read /************************************ ...

  3. ubuntu Install in eclipse

    1. download eclipse Installation package http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/kepler/SR2/eclipse- ...

  4. Oracle Database uses stored procedure to realize paging

    notes : This example comes from Han Shunping [10 Heaven plays oracle database ] Video tutorial 1. Create a package and create a cursor create or replace package pagingPackage is type paging_c ...

  5. Use it from scratch Python test .Testing Using Python.

    0. Write it at the front I use Python It's been testing for years , A little experience . Every time a new employee comes in , Will teach you how to get started from the beginning Python To test . Take advantage of this time , Document up , It's also convenient for new employees to learn . If there is something wrong with the article ...

  6. node Learning notes 1——require Parameter lookup strategy

    require Parameter type http.fs.path etc. , native module ./mod or ../mod, Relative path file module /pathtomodule/mod, Absolute path file module mod, File module of non-native module mo ...

  7. PHP details ,PHP A common sentence in the manual : This function is binary safe

    The following is from http://wuxinjie.github.io/php-02/ Looking at PHP When it comes to the manual , I often see a sentence ” This function is binary safe ”. What is binary security ? How did he achieve ? What is binary security ...

  8. TextInputLayout Input box validation

    <!-- By modifying the <color name="colorAccent">#023cfa</color> You can change the color of the correct prompt text add to <item ...

  9. About scratch Derived flash Solutions to poor quality problems

    Scratch The resolution is 480*360, So the scratch The document is transformed into flash when , Because of the poor image and picture quality , hold flash Insert into ppt After the slide , Image and image quality are still not guaranteed . After constant exploration , The problem was finally solved , Turn off ...

  10. collaborative filtering Collaborative filtering

    Every time I want to see a movie , Would ask my friends , Xiaojian . Generally, the movies he recommended , I prefer . Obviously not everyone has Xiaojian's ability . Because I happen to have similar taste with Xiaojian . This experience in life , In fact, it has a wide range of uses . When the system needs to work for ...