Need help for soap request error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Need help for soap request error

Harshal Kulkarni
Hi Team -

I am trying to load test one SOAP request using jmeter 3.1 it has following
XML body :

<soapenv:Body wsu:Id="xyz"xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
">

       <xsd:getTBAPersonDeliveryPreferences>

       <xsd:brokerHeader>

            <v1:brokerUserId>ProcessTracking</v1:brokerUserId>

            <v1:clientId>P0095</v1:clientId>

            <v1:callerRefId>Test</v1:callerRefId>

            <v1:testCfg>xyz</v1:testCfg>

            <v1:subject>

               <v1:subjectId>xyz</v1:subjectId>

               <v1:subjectType>INTN</v1:subjectType>

            </v1:subject>

         </xsd:brokerHeader>

      </xsd:getTBAPersonDeliveryPreferences>

   </soapenv:Body>

</soapenv:Envelope>

I am using SOAP message signer plugin to add signature and timestamp.

While executing test, it is giving below error.

2019/08/13 23:00:09 ERROR -
nz.co.breakpoint.jmeter.modifiers.AbstractWSSecurityPreProcessor:
Processing failed!  org.xml.sax.SAXParseException; lineNumber: 10;
columnNumber: 45; The prefix "xsd" for element
"xsd:getTBAPersonDeliveryPreferences" is not bound.

                at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)

                at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)

                at
nz.co.breakpoint.jmeter.modifiers.AbstractWSSecurityPreProcessor.process(AbstractWSSecurityPreProcessor.java:78)

                at
org.apache.jmeter.threads.JMeterThread.runPreProcessors(JMeterThread.java:798)

                at
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:453)

                at
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:418)

                at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249)

                at java.lang.Thread.run(Unknown Source)

 Can someone ease help me u feest and what can be issue and how to fix it?


Thanks,

Harshal