I am working on WSSE Security Service and trying to apply load on the load using JMeter.
Followed the below steps:
- First executed the WSSE Security service request in SoapUI.
- Now using JMeter proxy in SoapUI recorded the WSSE Security request date using JMeter recorder.
- Added 'SOAP Message Username Token' pre-processor to HTTP REQUEST and passed the username and password. enter image description here
- Provided the necessary data to the request and on hitting the run time is displaying with below exception. enter image description here
Can someone please help me on the above that how can I work with WSSE Security Service in JMeter
Most probably you're not sending the same request as SoapUI does, i.e. protocol, host or path mismatch.
You can inspect the raw requests originated from:
SoapUI
And JMeter, you will need to increase JMeter logging verbosity for HttpCompoments by adding the next line to log4j2.xml file:
you will be able to see full network communication in jmeter.log file
Once you figure out what are the differences and amend JMeter configuration to send the same request as SoapUI does the error should go away.