# WS Security for SOAP

> Digital signature, encryption, decryption, timestamp and username token for SOAP messages via Pre/Post-Processors that modify sampler payloads/responses.

- **Plugin ID**: `tilln-wssecurity`
- **Vendor**: Till Neunast (https://plugins.jmeter.ai/vendor/till-neunast/)
- **Category**: Processors
- **Canonical URL**: https://plugins.jmeter.ai/plugin/tilln-wssecurity/
- **Total Downloads**: 857
- **Downloads This Week**: +77
- **Latest Version**: 1.9
- **Repository / Docs**: https://github.com/tilln/jmeter-wssecurity

## Install via JMeter Plugins Manager CLI

```bash
PluginsManagerCMD.sh install tilln-wssecurity
```

Windows:

```bat
PluginsManagerCMD.bat install tilln-wssecurity
```

## Component Classes

- `nz.co.breakpoint.jmeter.modifiers.WSSEncryptionPreProcessor`
- `nz.co.breakpoint.jmeter.modifiers.WSSSignaturePreProcessor`
- `nz.co.breakpoint.jmeter.modifiers.WSSUsernameTokenPreProcessor`
- `nz.co.breakpoint.jmeter.modifiers.WSSTimestampPreProcessor`
- `nz.co.breakpoint.jmeter.modifiers.WSSDecryptionPostProcessor`

## Recent Releases

- **1.9**: Maintenance release: Upgrade to wss4j v3.0.0
- **1.8**: <ul><li>Upgrade to wss4j v2.3.1</li><li>Configurable keystore type (JCEKS/JKS/PKCS12)</li><li>Bug fixes</li></ul>
- **1.7**: <ul><li>SOAP Message Signer: Support for symmetric signature (HMAC)</li><li>SOAP Message Decrypter: Support for multiple decryption keys</li><li>Default keystore type is now JCEKS (compatible with JKS and PKCS12)</li><li>Bug fixes</li><li>Incompatible changes:</li><ul><li>SOAP Message Decrypter: Private Key Password field removed (use Credentials table instead)</li></ul></ul>
- **1.6**: <ul><li>Support for signing/encrypting/decrypting attachments</li><li>Upgrade to wss4j v2.2</li><li>Support for TCP Sampler, SMTP Sampler</li><li>New options:</li><ul><li>Header: Actor, mustUnderstand</li><li>Parts to Sign/Encrypt: ID</li></ul><li>Removed options:</li><ul><li>Signature algorithm http://www.w3.org/2001/04/xmldsig-more#rsa-ripemd160</li><li>Digest algorithm http://www.w3.org/2001/04/xmlenc#ripemd160</li><li>Key encryption algorithm http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</li></ul></ul>
- **1.5**: Added WSS Timestamp Pre-Processor. Added WSS UsernameToken timestamp precision option and 'no password' option.
- **1.4**: Added support for decryption of response messages
- **1.3**: Added support for WSS UsernameToken
- **1.2**: Bug fix release
- **1.1**: Release update

## Frequently Asked Questions

### How do I install WS Security for SOAP in JMeter?

Install WS Security for SOAP via the JMeter Plugins Manager GUI (Options > Plugins Manager, search "WS Security for SOAP"), or from the command line using PluginsManagerCMD.sh install tilln-wssecurity (PluginsManagerCMD.bat install tilln-wssecurity on Windows).

### Is WS Security for SOAP free and open source?

Yes, WS Security for SOAP is free to install and use via the official JMeter Plugins registry.

### Which Apache JMeter versions support WS Security for SOAP?

WS Security for SOAP is compatible with modern Apache JMeter 5.x releases via the JMeter Plugins Manager. Check the repository for version-specific notes.

### Is WS Security for SOAP still actively maintained?

WS Security for SOAP is indexed in the official JMeter Plugins registry. Check the linked repository for the latest commit and release history.

### Who maintains WS Security for SOAP?

WS Security for SOAP (plugin ID: tilln-wssecurity) is maintained by Till Neunast.
