-
Plug-n-Play, easy to use module
-
Handle POST endpoints
-
Supports GZip compression
- A sample response Object looks something like this.
- The BackendListener will send an array of such objects.
{ ResponseCode: '200', ContentType: 'text/html; charset=utf-8', EndTime: 1566502823484, IdleTime: 0, StartTime: 1566502823292, ResponseMessage: 'OK', ErrorCount: 0, Assertions: [], Success: true, URL: 'https://github.com/', Latency: 151, Bytes: 90265, AllThreads: 1, BodySize: 87922, ThreadName: 'Thread Group 1-2', DataType: 'text', ResponseTime: 192, SampleCount: 1, ConnectTime: 58, SampleLabel: 'HTTP Request', timestamp: 1566502823292 }
- GSON - 2.8.5 (Link)
- Copy the JAR file (BackendListener & GSON) in the JMeter folder under
/lib/ext
- The Jar should now be visible under the drop down available when you add a BackendListener in your project.
Configuration | Default value | Description |
---|---|---|
Protocol | http | Protocol of the endpoint where data needs to be sent |
hostName | 127.0.0.1 | Hostname of the endpoint where data needs to be sent |
url | /senddata | URL of the endpoint where data needs to be sent |
port | 80 | Port of the endpoint where data needs to be sent |
interval | 30 (in seconds) | Interval duration after which the data needs to be in sent. Values in seconds. |
compression | false | enable or disable GZip compression of the data being sent |
If you encountered an Issue, please add a screenshot of the bug or a code snippet.
Quickest way to solve issue is to reproduce it on the example project
Pull requests are welcome. If you want to change the API or imporove something, feel free to create an issue and discuss it first.
MIT Licensed