Author: sebb
Date: Mon Oct 22 09:10:15 2007
New Revision: 587135

URL: http://svn.apache.org/viewvc?rev=587135&view=rev
Log:
Bug 43485 - Ability to specify keep-alive on SOAP/XML-RPC request

Modified:
    
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.java
    jakarta/jmeter/trunk/xdocs/changes.xml

Modified: 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.java?rev=587135&r1=587134&r2=587135&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.java
 (original)
+++ 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.java
 Mon Oct 22 09:10:15 2007
@@ -40,6 +40,7 @@
        private JLabeledTextField urlField;
        private JLabeledTextField soapAction;
     private JCheckBox sendSoapAction;
+    private JCheckBox useKeepAlive;
        private JLabeledTextArea soapXml;
 
     private FilePanel soapXmlFile = new FilePanel();
@@ -77,6 +78,7 @@
             sampler.setXmlFile(soapXmlFile.getFilename());
                        sampler.setSOAPAction(soapAction.getText());
                        sampler.setSendSOAPAction(sendSoapAction.isSelected());
+                       sampler.setUseKeepAlive(useKeepAlive.isSelected());
                }
        }
 
@@ -91,6 +93,7 @@
         soapXml.setText(""); //$NON-NLS-1$
         sendSoapAction.setSelected(true);
         soapXmlFile.setFilename(""); //$NON-NLS-1$
+        useKeepAlive.setSelected(false);
     }    
 
        private void init() {
@@ -103,6 +106,7 @@
                soapXml = new 
JLabeledTextArea(JMeterUtils.getResString("soap_data_title")); //$NON-NLS-1$
                soapAction = new JLabeledTextField("", 10); //$NON-NLS-1$
                sendSoapAction = new 
JCheckBox(JMeterUtils.getResString("soap_send_action"), true); //$NON-NLS-1$
+               useKeepAlive = new 
JCheckBox(JMeterUtils.getResString("use_keepalive")); // $NON-NLS-1$
 
                JPanel mainPanel = new JPanel(new BorderLayout());
            JPanel soapActionPanel = new JPanel();
@@ -123,6 +127,13 @@
            c.fill = GridBagConstraints.HORIZONTAL;
            c.weightx = 1;
                soapActionPanel.add(soapAction, c);
+
+               c.fill = GridBagConstraints.HORIZONTAL;
+           c.gridwidth = 2;
+           c.gridy = 2;
+           c.gridx = 0;
+               soapActionPanel.add(useKeepAlive, c);
+               
                mainPanel.add(soapActionPanel, BorderLayout.NORTH);
                mainPanel.add(soapXml, BorderLayout.CENTER);
         mainPanel.add(soapXmlFile, BorderLayout.SOUTH);
@@ -144,6 +155,7 @@
                soapAction.setText(sampler.getSOAPAction());
                soapXml.setText(sampler.getXmlData());
         soapXmlFile.setFilename(sampler.getXmlFile());
+        useKeepAlive.setSelected(sampler.getUseKeepAlive());
        }
 
        public Dimension getPreferredSize() {

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=587135&r1=587134&r2=587135&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Mon Oct 22 09:10:15 2007
@@ -79,6 +79,7 @@
 <li>Enable exit after a single server test - define JMeter property 
server.exitaftertest=true</li>
 <li>Added -G option to set properties in remote servers</li>
 <li>Added -X option to stop remote servers after non-GUI run</li>
+<li>Bug 43485 - Ability to specify keep-alive on SOAP/XML-RPC request</li>
 </ul>
 
 <h4>Non-functional Improvements</h4>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to