本文整理汇总了Java中org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel类的典型用法代码示例。如果您正苦于以下问题:Java HTTPArgumentsPanel类的具体用法?Java HTTPArgumentsPanel怎么用?Java HTTPArgumentsPanel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
HTTPArgumentsPanel类属于org.apache.jmeter.protocol.http.gui包,在下文中一共展示了HTTPArgumentsPanel类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: WebSocketConnectionSamplerPanel
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
public WebSocketConnectionSamplerPanel() {
initComponents();
attributePanel = new HTTPArgumentsPanel();
patternsPanel = new ArgumentsPanel("Response Patterns");
querystringAttributesPanel.add(attributePanel);
querystringPatternsPanel.add(patternsPanel);
}
开发者ID:Blazemeter,项目名称:jmeter-bzm-plugins,代码行数:8,代码来源:WebSocketConnectionSamplerPanel.java
示例2: modifyTestElement
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
@Override
public void modifyTestElement(TestElement te) {
configureTestElement(te);
if (te instanceof ConfigTestElement) {
ConfigTestElement configTestElement = (ConfigTestElement) te;
configTestElement.setProperty("WebSocketConnectionConfig.Server", webSocketConnectionConfigPanel.getServer());
configTestElement.setProperty("WebSocketConnectionConfig.Port", webSocketConnectionConfigPanel.getPort());
configTestElement.setProperty("WebSocketConnectionConfig.ConnectionTimeout", webSocketConnectionConfigPanel.getConnectionTimeout());
configTestElement.setProperty("WebSocketConnectionConfig.Protocol", webSocketConnectionConfigPanel.getProtocolSelected());
configTestElement.setProperty("WebSocketConnectionConfig.Path", webSocketConnectionConfigPanel.getPath());
configTestElement.setProperty("WebSocketConnectionConfig.Topic", webSocketConnectionConfigPanel.getTopic());
configTestElement.setProperty("WebSocketConnectionConfig.Encoding", webSocketConnectionConfigPanel.getContentEncoding());
configTestElement.setProperty("WebSocketConnectionConfig.Implementation", webSocketConnectionConfigPanel.getImplementation());
configTestElement.setProperty("WebSocketConnectionConfig.CloseConnectionPattern", webSocketConnectionConfigPanel.getCloseConnectionPattern());
configTestElement.setProperty("WebSocketConnectionConfig.ProtocolWSMQTTComboBox", webSocketConnectionConfigPanel.getProtocolWSMQTTComboBox());
configTestElement.setProperty("WebSocketConnectionConfig.LogLevel", webSocketConnectionConfigPanel.getLogLevel());
HTTPArgumentsPanel queryStringParameters = webSocketConnectionConfigPanel.getAttributePanel();
if (queryStringParameters != null) {
configTestElement.setProperty(new TestElementProperty("WebSocketConnectionConfig.HTTPRequest.ARGUMENTS", (Arguments)queryStringParameters.createTestElement()));
}
ArgumentsPanel queryStringPatterns = webSocketConnectionConfigPanel.getPatternsPanel();
if (queryStringPatterns != null) {
configTestElement.setProperty(new TestElementProperty("WebSocketConnectionConfig.ResponsePatterns.ARGUMENTS", (Arguments)queryStringPatterns.createTestElement()));
}
}
}
开发者ID:Blazemeter,项目名称:jmeter-bzm-plugins,代码行数:30,代码来源:WebSocketConnectionConfigGui.java
示例3: WebSocketConnectionConfigPanel
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
public WebSocketConnectionConfigPanel() {
initComponents();
attributePanel = new HTTPArgumentsPanel();
patternsPanel = new ArgumentsPanel("Response Patterns");
querystringAttributesPanel.add(attributePanel);
querystringPatternsPanel.add(patternsPanel);
}
开发者ID:Blazemeter,项目名称:jmeter-bzm-plugins,代码行数:8,代码来源:WebSocketConnectionConfigPanel.java
示例4: getTestElement
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
public TestElement getTestElement() {
Preconditions.checkNotNull(name);
Preconditions.checkNotNull(value);
HTTPArgument httpArgument = new HTTPArgument();
httpArgument.setProperty(TestElement.GUI_CLASS, HTTPArgumentsPanel.class.getName().toString());
httpArgument.setProperty(TestElement.TEST_CLASS, HTTPSamplerProxy.class.getName().toString());
httpArgument.setName(name);
httpArgument.setValue(value);
httpArgument.setMetaData(getOptionalValue(metaData, "="));
httpArgument.setUseEquals(getOptionalValue(useEquals, true));
httpArgument.setAlwaysEncoded(getOptionalValue(setAlwaysEncoded, true));
return httpArgument;
}
开发者ID:lithiumtech,项目名称:mineraloil-jmeter,代码行数:15,代码来源:HTTPArgumentElement.java
示例5: getArgumentsElement
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
private Arguments getArgumentsElement(List<HTTPArgument> httpArguments) {
Arguments arguments = new Arguments();
arguments.setProperty(TestElement.GUI_CLASS, HTTPArgumentsPanel.class.getName());
arguments.setProperty(TestElement.TEST_CLASS, Arguments.class.getName());
arguments.setProperty(TestElement.ENABLED, true);
if (httpArguments != null) {
for (HTTPArgument httpArgument : httpArguments) {
arguments.addArgument(httpArgument);
}
}
return arguments;
}
开发者ID:lithiumtech,项目名称:mineraloil-jmeter,代码行数:13,代码来源:HTTPSamplerElement.java
示例6: WebSocketSamplerPanel
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
/**
* Creates new form WebSocketSamplerPanel
*/
public WebSocketSamplerPanel() {
initComponents();
attributePanel = new HTTPArgumentsPanel();
querystringAttributesPanel.add(attributePanel);
}
开发者ID:Fyro-Ing,项目名称:JMeter-WebSocket-StompSampler,代码行数:10,代码来源:WebSocketSamplerPanel.java
示例7: WebSocketSamplerPanel
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
/**
* Creates new form WebSocketSamplerPanel
*/
public WebSocketSamplerPanel() {
initComponents();
attributePanel = new HTTPArgumentsPanel();
querystringAttributesPanel.add(attributePanel);
}
开发者ID:maciejzaleski,项目名称:JMeter-WebSocketSampler,代码行数:10,代码来源:WebSocketSamplerPanel.java
示例8: WebSocketApplicationResponse
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
/**
* Creates new form WebSocketSamplerPanel
*/
public WebSocketApplicationResponse() {
initComponents();
attributePanel = new HTTPArgumentsPanel();
querystringAttributesPanel.add(attributePanel);
}
开发者ID:maciejzaleski,项目名称:JMeter-WebSocketSampler,代码行数:10,代码来源:WebSocketApplicationResponse.java
示例9: WebSocketApplicationRequest
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
/**
* Creates new form WebSocketSamplerPanel
*/
public WebSocketApplicationRequest() {
initComponents();
attributePanel = new HTTPArgumentsPanel();
querystringAttributesPanel.add(attributePanel);
}
开发者ID:maciejzaleski,项目名称:JMeter-WebSocketSampler,代码行数:10,代码来源:WebSocketApplicationRequest.java
示例10: WebSocketApplicationConfig
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
/**
* Creates new form WebSocketSamplerPanel
*/
public WebSocketApplicationConfig() {
initComponents();
attributePanel = new HTTPArgumentsPanel();
querystringAttributesPanel.add(attributePanel);
}
开发者ID:maciejzaleski,项目名称:JMeter-WebSocketSampler,代码行数:10,代码来源:WebSocketApplicationConfig.java
示例11: init
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
private void init() {
setLayout(new BorderLayout(0, 5));
if (displayName) {
setBorder(makeBorder());
add(makeTitlePanel(), BorderLayout.NORTH);
}
// MAIN PANEL
VerticalPanel mainPanel = new VerticalPanel();
JPanel webRequestPanel = new HorizontalPanel();
JPanel serverPanel = new JPanel();
serverPanel.setLayout(new BoxLayout(serverPanel, BoxLayout.X_AXIS));
serverPanel.add(getDomainPanel());
serverPanel.add(getPortPanel());
webRequestPanel.add(serverPanel, BorderLayout.NORTH);
JPanel northPanel = new JPanel();
northPanel.setLayout(new BoxLayout(northPanel, BoxLayout.Y_AXIS));
northPanel.add(getProtocolAndPathPanel());
webRequestPanel.add(northPanel, BorderLayout.CENTER);
argsPanel = new HTTPArgumentsPanel();
webRequestPanel.add(argsPanel, BorderLayout.SOUTH);
mainPanel.add(webRequestPanel);
mainPanel.add(getSendMessagePanel());
mainPanel.add(getRecvMessagePanel());
add(mainPanel, BorderLayout.CENTER);
}
开发者ID:kawasima,项目名称:jmeter-websocket,代码行数:31,代码来源:WebSocketSamplerGui.java
示例12: getParameterPanel
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
protected JTabbedPane getParameterPanel() {
postContentTabbedPane = new ValidationTabbedPane();
argsPanel = new HTTPArgumentsPanel();
postContentTabbedPane.add(JMeterUtils.getResString("post_as_parameters"), argsPanel);// $NON-NLS-1$
if(showRawBodyPane) {
postBodyContent = new JSyntaxTextArea(30, 50);// $NON-NLS-1$
postContentTabbedPane.add(JMeterUtils.getResString("post_body"), new JTextScrollPane(postBodyContent));// $NON-NLS-1$
}
return postContentTabbedPane;
}
开发者ID:botelhojp,项目名称:apache-jmeter-2.10,代码行数:11,代码来源:UrlConfigGui.java
示例13: getAttributePanel
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
/**
* @return the attributePanel
*/
public HTTPArgumentsPanel getAttributePanel() {
return attributePanel;
}
开发者ID:Blazemeter,项目名称:jmeter-bzm-plugins,代码行数:7,代码来源:WebSocketConnectionConfigPanel.java
示例14: init
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
public void init() {
initComponents();
postContentTabbedPane = new ValidationTabbedPane();
argsPanel = new HTTPArgumentsPanel();
postContentTabbedPane.add(JMeterUtils.getResString("post_as_parameters"), argsPanel);// $NON-NLS-1$
int indx = TAB_PARAMETERS;
tabRawBodyIndex = ++indx;
postBodyContent = JSyntaxTextArea.getInstance(30, 50);// $NON-NLS-1$
postContentTabbedPane.add(JMeterUtils.getResString("post_body"), JTextScrollPane.getInstance(postBodyContent));// $NON-NLS-1$
tabFileUploadIndex = ++indx;
filesPanel = new HTTPFileArgsPanel();
postContentTabbedPane.add(JMeterUtils.getResString("post_files_upload"), filesPanel);
parametersPanel.add(postContentTabbedPane);
}
开发者ID:Blazemeter,项目名称:jmeter-bzm-plugins,代码行数:22,代码来源:HTTP2RequestPanel.java
示例15: testHTTPArgumentsPanel
import org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel; //导入依赖的package包/类
public void testHTTPArgumentsPanel() throws Exception{
assertTrue("HTTPArgumentsPanel Functor",HTTPArgumentsPanel.testFunctors());
}
开发者ID:botelhojp,项目名称:apache-jmeter-2.10,代码行数:4,代码来源:TestFunctorUsers.java
注:本文中的org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论