分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > IT知识

Jmeter源码之HTTP Request Sampler分析(五)

发布时间:2023-09-06 01:26责任编辑:顾先生关键词:暂无标签
界面:

数据:
{
HTTPsampler.Arguments == {
"loginProtectStatus": $ {
loginProtectStatus
},
"password": "${movepassword}"
}(),
TestElement.gui_class = org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui,
TestElement.test_class = org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy,
TestElement.name = 3 _登录后设置密码接口,
TestElement.enabled = true,
HTTPSampler.postBodyRaw = true,
HTTPSampler.domain = $ {
Ip
},
HTTPSampler.port = ,
HTTPSampler.protocol = ,
HTTPSampler.contentEncoding = ,
HTTPSampler.path = /user/setPasswordAfterLogin,
HTTPSampler.method = POST,
HTTPSampler.follow_redirects = true,
HTTPSampler.auto_redirects = false,
HTTPSampler.use_keepalive = true,
HTTPSampler.DO_MULTIPART_POST = false,
HTTPSampler.embedded_url_re = ,
HTTPSampler.connect_timeout = ,
HTTPSampler.response_timeout =
}
界面:

HttpTestSampleGui.java, ?line:163
布局中主要的代码:
init(){
new UrlConfigGui() 对应组件是

new JTabbedPane() ?是选项卡用来装Parameters/Body Data/Files Upload
new JSplitPane(JSplitPane.VERTICAL_SPLIT,// ?是 把界面分为剩下两部分
}

Jmeter源码之HTTP Request Sampler分析(五)

原文地址:http://blog.51cto.com/13566858/2090234

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved