2

I use Jmeter 3.2 version. I updated the old request and now I need to remove the obsolete element. Right click on the element doesn't give any context menu. Open the file with 2.11 jmeter is not an option for me as it require java7. I don't have it and to install anything on my work machine I need approvement from our admin. It will take ages. So is there a way to remove the obsolete element in jmeter 3.2? Thanks.

IKo
  • 4,998
  • 8
  • 34
  • 54

2 Answers2

2

I found even easier way:

  • select the obsolete element (left click)
  • click 'Cut' button.
IKo
  • 4,998
  • 8
  • 34
  • 54
1

You can open jmx file in JMeter 2.11 also with Java 8.

If you somehow can't open for some reason you can edit file and remove the following tags (hashTree with SoapSampler inside):

  <hashTree>
    <SoapSampler guiclass="SoapSamplerGui" testclass="SoapSampler" testname="SOAP/XML-RPC Request" enabled="true">
      <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
        <collectionProp name="Arguments.arguments"/>
      </elementProp>
      <stringProp name="SoapSampler.URL_DATA"></stringProp>
      <stringProp name="HTTPSamper.xml_data"></stringProp>
      <stringProp name="SoapSampler.xml_data_file"></stringProp>
      <stringProp name="SoapSampler.SOAP_ACTION"></stringProp>
      <stringProp name="SoapSampler.SEND_SOAP_ACTION">true</stringProp>
      <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
    </SoapSampler>
    <hashTree/>
Ori Marko
  • 56,308
  • 23
  • 131
  • 233