HTTP Jmeter Default configuration elements of the request

Both in the UI level at the interface level automated testing or automated testing, the separation of public data is a trend, this is a power that must be mastered in automated test, is the basic skills. Separation benefits of public data that can be used to maintain data in one place to improve the efficiency of the test, rather than repeating the buckle down to one thing; for example, when the interface test is in progress, or access the server IP is fixed, then we can repeat the address to access the isolated section. The Jmeter in  HTTP Request Defaults to meet this feature

> Added - Configuration element - the HTTP Request Defaults

Function and  HTTP sampler  same, but less redirection settings and other functions of the head

NOTE: In a test plan can have a plurality of components Defaults, but the request parameter default values of a plurality of superimposed Defaults components, not to the weight, the other will be the new default data value HTTP sampler to cover, such as protocol, The default value of the port, etc.

Default value 1. HTTP request to a default parameter value of -1 is 111

Default value 2. HTTP request is a default parameter -2 222

value 3. HTTP request is a request parameter 333, the protocol to https

4. Tree View View results request message:

Https protocol coverage is superimposed but the parameters a

Published 59 original articles · won praise 19 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_43507959/article/details/104027308