界面:
Jmeter源码之HTTP Request Sampler分析(五)
数据:
{
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 =
}
界面:
Jmeter源码之HTTP Request Sampler分析(五)

HttpTestSampleGui.java, line:163
布局中主要的代码:
init(){
new UrlConfigGui() 对应组件是
new JTabbedPane() 是选项卡用来装Parameters/Body Data/Files Upload
new JSplitPane(JSplitPane.VERTICAL_SPLIT,// 是 把界面分为剩下两部分
}

相关文章:

  • 2021-04-23
  • 2021-07-28
  • 2022-12-23
  • 2021-07-13
  • 2021-08-22
  • 2021-12-16
  • 2021-09-07
猜你喜欢
  • 2021-05-07
  • 2021-07-05
  • 2021-09-10
  • 2021-08-18
  • 2021-11-09
相关资源
相似解决方案