Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.98 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.98 KB

jmeter-smtp-server-plugin

SMTP server plugin for JMeter.

Build Status Codacy Badge Dependabot Status

Self contained, pure java SMTP server hosted directly within JMeter. Aligned with the default SMTP sampler, the plugin provides support for various configuration including SMTP auth and TLS.

Removes the requirement of a POP3 or IMPS intermediate server when load testing SMTP receiving.

Ideal for load testing SMTP MITM proxies, the plugin allows for the following setup:

+---------+      +---------+      +---------+
|         |      |         |      |         | 
| JMeter  |      |  SMTP   |      | JMeter  |
|  SMTP   |----->|  Proxy  |----->|  SMTP   |
| sampler |      |         |      | server  |
|         |      |         |      |         |
+---------+      +---------+      +---------+

Note: This plugin currently targets JMeter 5.1 onwards.

Example Usage

SMTP server example

See examples folder for .jmx examples

Installation

For an automatic Maven based solution, see examples folder on how to utilise jmeter-maven-plugin.

Manual Installation

  1. Download JMeter >= 5.1
  2. Copy jar to plugin folder

Development Setup

For a quick-start, the provided Vagrantfile can provision an environment easily without major changes to your primary operating system.

To build the virtual environment:

vagrant up
vagrant ssh

Manual Development Setup

Dependencies required:

  • Java 1.8
  • Maven >= 3.5.0