use of org.apache.jmeter.protocol.http.config.gui.UrlConfigGui in project jmeter by apache.
the class HttpTestSampleGui method init.
private void init() {
// called from ctor, so must not be overridable
setLayout(new BorderLayout(0, 5));
setBorder(makeBorder());
// URL CONFIG
urlConfigGui = new UrlConfigGui(true, true, true);
// HTTP request options
JPanel httpOptions = new HorizontalPanel();
httpOptions.add(getImplementationPanel());
httpOptions.add(getTimeOutPanel());
// AdvancedPanel (embedded resources, source address and optional tasks)
JPanel advancedPanel = new VerticalPanel();
if (!isAJP) {
advancedPanel.add(httpOptions);
}
advancedPanel.add(createEmbeddedRsrcPanel());
if (!isAJP) {
advancedPanel.add(createSourceAddrPanel());
advancedPanel.add(getProxyServerPanel());
}
advancedPanel.add(createOptionalTasksPanel());
JTabbedPane tabbedPane = new JTabbedPane();
tabbedPane.add(JMeterUtils.getResString("web_testing_basic"), urlConfigGui);
tabbedPane.add(JMeterUtils.getResString("web_testing_advanced"), advancedPanel);
JSplitPane splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, makeTitlePanel(), tabbedPane);
splitPane.setOneTouchExpandable(true);
add(splitPane);
}
Aggregations