# Weighted Switch Controller

> This controller takes the information about child elements and offers managing relative weights for them.

- **Plugin ID**: `jpgc-wsc`
- **Vendor**: JMeter-Plugins.org (https://plugins.jmeter.ai/vendor/jmeter-plugins-org/)
- **Category**: Others
- **Canonical URL**: https://plugins.jmeter.ai/plugin/jpgc-wsc/
- **Total Downloads**: 5,307
- **Downloads This Week**: +345
- **Latest Version**: 0.7
- **JMeter Compatibility**: 2.13+
- **License**: Apache-2.0
- **GitHub Stars**: 143
- **Repository Health**: 93/100 (Active)
- **Repository / Docs**: https://github.com/Blazemeter/jmeter-bzm-plugins/blob/master/wsc/WeightedSwitchController.md

## Install via JMeter Plugins Manager CLI

```bash
PluginsManagerCMD.sh install jpgc-wsc
```

Windows:

```bat
PluginsManagerCMD.bat install jpgc-wsc
```

## Component Classes

- `com.blazemeter.jmeter.control.WeightedSwitchController`
- `com.blazemeter.jmeter.control.WeightedSwitchControllerGui`

## Recent Releases

- **0.7**: Fixed random weight choose
- **0.6**: Added `Randomize choice`
- **0.5**: <p>Fixed samples generation in transaction controllers (all nested levels)</p><p>Fixed samples generation with disabled subgroups</p>
- **0.4**: <p>Fixed samples generation in transaction controllers</p><p>Fixed styles for JMeter Darcula</p>
- **0.3**: fix test plan reloading
- **0.2**: <p>Fixed samples generation in nested controllers(Transaction, Simple, Weighted Switch);</p><p>- Fixed samples generation with disabled subgroups;</p><p>- Added effect of disabled subgroups in GUI;</p><p>- Added a ban on changing the column 'Name' and the disabled subgroup in GUI</p>
- **0.1**: Release update

## Frequently Asked Questions

### How do I install Weighted Switch Controller in JMeter?

Install Weighted Switch Controller via the JMeter Plugins Manager GUI (Options > Plugins Manager, search "Weighted Switch Controller"), or from the command line using PluginsManagerCMD.sh install jpgc-wsc (PluginsManagerCMD.bat install jpgc-wsc on Windows).

### Is Weighted Switch Controller free and open source?

Yes, Weighted Switch Controller is free to use and distributed under the Apache-2.0 license via the official JMeter Plugins registry.

### Which Apache JMeter versions support Weighted Switch Controller?

Weighted Switch Controller declares compatibility with Apache JMeter 2.13 and later.

### Is Weighted Switch Controller still actively maintained?

Weighted Switch Controller currently has a PerfAtlas repository health score of 93/100 (Active), with its last recorded GitHub commit on Oct 8, 2026.

### Who maintains Weighted Switch Controller?

Weighted Switch Controller (plugin ID: jpgc-wsc) is maintained by JMeter-Plugins.org.
