Test engineers from shallow to deep --Jmeter scripting record

The first few days to write something too basic, more suitable for junior rookie, but some of the somewhat experienced test engineers not feel dry, write a little something today testing tools. jmeter a little bit of experience in testing testers should be aware of an open source interfaces, performance testing tools, in this I will not repeat them. This article solve a problem recorded script. Many people use jmeter process, manually add the script too cumbersome. Record if there are various kinds of problems can not be recorded successfully. This article will show to everyone in a graphic form.

  jmeter installation download, everyone Baidu, I do not write here, very simple and foolproof installation. Here we go dry process. I use a version of windows, Linux, MAC version also has an associated jmeter version, their own Baidu installed on the line.

  The first step to open jmeter, the pop-up window jmeter work. Adding a workbench, bench right click, click Add, non-testing device, HTTP proxy server.

 

 

 

The second step, the HTTP proxy server configuration, set the same port number you want to record the script in the port number, excluding mode is unnecessary to exclude interface, such as the following figure, I ruled out the .jpg, .png, .jif and other images out, this according to their own needs.

 

 

Controller have to choose, in fact, is to choose the recorded script in there, I'm here on the inside of the thread group, see below the red circle.

 

 

The third step is to set IE browser, attention was knocking on the small blackboard, jmeter currently only supports IE browser, other browsers do not support, I am here is IE11, you can record normal. Set IE browser proxy mode, in which Internet Options, LAN Settings, Use a proxy server for the LAN, marked √ number on it, and the port number is set to be just the same yo jmeter http proxy server, see below.

 

 

The fourth step; click on the green button jmeter proxy server, then starts ie browser, you can enter your domain name or ip, to operate. Your each step, will be recorded jmeter down, form their own script file, as shown below:

 

 

The fifth step. There are a number of possible interference of recording a script, such as login scripts you want to test, but also to other steps into the record, you can delete, enable or disable.

So far, our script recording is complete. No public VX: King Brother automated testing earlier release, more content, welcome attention, speaking automated testing, testing tools speaking

Guess you like

Origin www.cnblogs.com/king44/p/11563252.html